Ugrás a fő tartalomhoz

Felvételek és átiratok letöltése

GET/api/v1/public/download/workflow/{token}/{artifact_type}

Download a workflow recording or transcript via public access token. This endpoint: 1. Validates the public access token 2. Looks up the corresponding workflow run 3. Generates a signed URL for the requested artifact 4. Redirects to the signed URL Args: token: The public access token (UUID format) artifact_type: Type of artifact - "recording", "transcript", "user_recording", or "bot_recording" inline: If true, sets Content-Disposition to inline for browser preview Returns: RedirectResponse to the signed URL (302 redirect) Raises: HTTPException 400: If artifact type is unsupported HTTPException 404: If token is invalid or artifact not found

cURL példa

curl -X GET \
  'https://app.intracord.hu/api/v1/public/download/workflow/{token}/{artifact_type}' \
  -H "X-API-Key: $INTRACORD_API_KEY"

Paraméterek

NévHelyTípusLeírás
tokenkötelezőpathstring
artifact_typekötelezőpathstring
inlinequerybooleanDisplay inline in browser instead of download

Válaszok

200Successful Response
application/json
Séma megtekintése
{}
404Not found
422Validation Error
application/json
Séma megtekintése
{
  "properties": {
    "detail": {
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}