GET
Get Workflow Run
Возвращает полную запись запуска, включая статус, транскрипт, URL записи, собранный контекст и информацию об использовании/стоимости. Если материалы доступны, для скачивания используйте 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