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 \
  'http://localhost:8000/api/v1/public/download/workflow/{token}/{artifact_type}' \
  -H 'Authorization: Bearer <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
{
  "$ref": "#/components/schemas/HTTPValidationError"
}