GET
Get Workflow Run
Возвращает запись о запуске: статус, длительность, URL транскрипта и записи, собранный контекст, сведения об использовании и стоимости. Ответ имеет схему WorkflowRunDetailResponseSchema. События реального времени (logs.realtime_feedback_events, лента транскрипта) в этот ответ не входят: их отдаёт отдельный запрос События запуска. Остальные ключи logs (например, pipeline_error) остаются в ответе. Если материалы доступны, используйте возвращённые recording_public_url и transcript_public_url. Поля recording_url и transcript_url могут содержать ключи файлов в хранилище, а не готовые ссылки для скачивания. Подробнее — скачивание материалов.

Headers

authorization
string | null
X-API-Key
string | null

Path Parameters

workflow_id
integer
required
run_id
integer
required

Response

Successful Response

GET /workflow/{id}/runs/{run_id}: the run header without the realtime_feedback_events (logs keeps its other keys); the events come from GET .../runs/{run_id}/events.

id
integer
required
workflow_id
integer
required
name
string
required
mode
string
required
created_at
string<date-time>
required
is_completed
boolean
required
transcript_url
string | null
required
recording_url
string | null
required
definition_id
integer | null
required
call_type
enum<string>
required
Available options:
inbound,
outbound
user_recording_url
string | null
bot_recording_url
string | null
transcript_public_url
string | null
recording_public_url
string | null
user_recording_public_url
string | null
bot_recording_public_url
string | null
public_access_token
string | null
usage_info
Usage Info · object | null
version_number
integer | null
initial_context
Initial Context · object | null
gathered_context
Gathered Context · object | null
logs
Logs · object | null
annotations
Annotations · object | null
target_actions
WorkflowRunTargetAction · object[] | null