Retrieve detailed information about a specific flow
Get the current state and configuration of a flow by its unique identifier. Returns comprehensive details including the flow's current status, execution progress (current step), configuration template, and any input data provided. Access is restricted to the flow's owner.
curl -X GET "https://demo.verigram.kz/flow/{flow_id}" \
-H "X-Verigram-Api-Key: $IDENTIFICATION_SAAS_API_KEY" \
-H "X-Verigram-Api-Version: 2.0.0"Авторизация
X-Verigram-Api-KeystringheaderобязательноAPI key in the X-Verigram-Api-Key header
Параметры
X-Verigram-Api-VersionstringheaderобязательноRequired API version header.
Значение по умолчанию:2.0.0
Ответ
Flow details
flow_idstringобязательноUnique identifier of the flow.
consumer_idstringобязательноIdentifier of the consumer who owns the flow.
vlinkstringобязательноA hosted URL where the user can access the flow's user interface. Useful for direct redirection or embedding in iframes/webviews.
api_versionstringThe version of the API used to create and process this flow.
localeenum<string>Language code used for the flow's user interface.
Одно из:kkruenperson_idstringобязательноIdentifier of a person associated with the session. Alphanumeric string.
templateFlowTemplateобязательноFlow template definition
test_flowbooleanIndicates whether this is a test flow created with a sandbox API key.
current_step_idstringIdentifier of the step currently being executed or waiting to be started.
callback_urlstring<uri>URL where the user will be redirected upon completion of the flow.
input_dataFlowInputDataInput data necessary for the steps of the pipeline
input_metaFlowInputMetaMetadata regarding the flow's initial environment.
template_idstringIdentifier of the template used for this flow configuration.
created_atstring<date-time>Timestamp when the flow was created.
ttlintegerTime-to-live for the flow in seconds.
updated_atstring<date-time>Timestamp of the last update to the flow's state.
polled_atstring<date-time>Timestamp when the flow's status was last polled by a client.
started_atstring<date-time>Timestamp when the flow execution actually started.
current_step_started_atstring<date-time>Timestamp when the current step execution began.
ended_atstring<date-time>Timestamp when the flow reached a final state (completed, failed, etc.).
flow_statusenum<string>обязательноThe main status of a flow or a service. Helps to make a binary decision whether the flow/service was successful or not. If "pass" - the flow/service was successful, unsuccessful otherwise.
Одно из:passfailunknownend_causeenum<string>The reason why the flow ended. Returns "completed" when execution finishes without errors, "failed" when a server error or unhandled exception occurs, "timeout" when a specific step exceeds its allocated duration, or "disconnected" when the flow terminates due to a lost network connection or user intervention — a status applied automatically once the default five-minute inactivity threshold is reached, provided at least one service session was successfully initialized.
Одно из:completedfailedtimeoutdisconnected
{
"flow_id": "string",
"consumer_id": "string",
"vlink": "string",
"api_version": "2.0.0",
"locale": "kk",
"person_id": "string",
"template": {
"pipeline": [
{
"service_name": "verilive",
"allow_failure": false,
"timeout": 300,
"max_retries": 5
}
],
"ui": {
"theme": "default",
"logo_url": "https://s3.eu-central-1.amazonaws.com/saas-statics.verigram.ai/logos/logo_vg_color.svg",
"favicon_url": "https://docs.services.verigram.cloud/2.0/assets/favicon.png",
"translation": {
"key": {
"key": "string"
}
},
"css": "string"
},
"status_page": true
},
"test_flow": true,
"current_step_id": "string",
"callback_url": "https://example.com",
"input_data": {
"iin": "string",
"phone_number": "string",
"full_name": "string",
"card_number": "string",
"bin_field": "string",
"org_name": "string"
},
"input_meta": {
"initial_device_type": "desktop"
},
"template_id": "string",
"created_at": "2026-01-15T09:30:00Z",
"ttl": 60,
"updated_at": "2026-01-15T09:30:00Z",
"polled_at": "2026-01-15T09:30:00Z",
"started_at": "2026-01-15T09:30:00Z",
"current_step_started_at": "2026-01-15T09:30:00Z",
"ended_at": "2026-01-15T09:30:00Z",
"flow_status": "pass",
"end_cause": "completed"
}