Skip to main content

Download Recordings and Transcripts

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 example

curl -X GET \
  'http://localhost:8000/api/v1/public/download/workflow/{token}/{artifact_type}' \
  -H 'Authorization: Bearer <API_KEY>'

Parameters

NameLocationTypeDescription
tokenrequiredpathstring
artifact_typerequiredpathstring
inlinequerybooleanDisplay inline in browser instead of download

Responses

200Successful Response
application/json
View schema
{}
404Not found
422Validation Error
application/json
View schema
{
  "$ref": "#/components/schemas/HTTPValidationError"
}