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év | Hely | Típus | Leírás |
|---|---|---|---|
tokenkötelező | path | string | — |
artifact_typekötelező | path | string | — |
inline | query | boolean | Display inline in browser instead of download |
Válaszok
200Successful Responseapplication/jsonSéma megtekintése
{}404Not found422Validation Errorapplication/jsonSéma megtekintése
{
"$ref": "#/components/schemas/HTTPValidationError"
}