Unify and manage your data

Get conversation status

Learn more about get conversation status.

Use the Get conversation status to get the status of a conversation. This lets you check the status of a single execution without listing every run.

HTTP method and endpoint

Use the following HTTP method and endpoint path to get conversation status.

GET {TenantURL}/ai/agentflow/api/v202605/{tenant_id}/schedules/{schedule_id}/conversations/{conversation_id}

The following table describes the endpoint path parameters.

ParameterTypeRequiredDescription
TenantURLStringYesThe base URL for your tenant.
tenant_idStringYesThe unique identifier of your tenant.
schedule_idStringYesThe unique identifier of the schedule.
conversation_idStringYesThe unique identifier of the conversation.

Request headers

The following request headers must be included.

HeaderValueRequired
Authorization<access_token>Yes

Request body

This operation does not require a request body.

Example request

Use the following example to see how a complete request is structured, with headers.

GET {TenantURL}/ai/agentflow/api/v202605/tenant-xyz/schedules/example-id/conversations/example-id
Authorization: <access_token>

Response body

The following table describes the fields returned in the response body.

ParameterTypeDescription
conversation_idStringThe unique identifier of the conversation.
statusStringThe status of the execution: running, completed, stopped, or failed.
started_atStringThe date and time when the execution started.
completed_atStringThe date and time when the execution finished. Empty if the execution is still running.

Example response

The following example shows a response with successful response.

{
  "conversation_id": "conv-abc123",
  "status": "completed",
  "started_at": "2025-05-13T09:00:00Z",
  "completed_at": "2025-05-13T09:15:30Z"
}

The following table lists the possible error responses returned by this API.

HTTP statusDescriptionRecommended action
422 Unprocessable EntityValidation ErrorReview the request parameters or body, correct the invalid values, and resend the request.