Skip to main content
GET
Get AI Flow Report Logs

Description

This endpoint returns paginated AI flow execution logs for a specific flow. You can filter by run status, date range, and a search term (request ID, profile ID, phone, or email). Results are cached for 5 seconds for the same workspace and query.

Headers

string
required
Your API key for authentication.
string
required
Your workspace ID for authentication.

Path Parameters

string
required
The unique identifier of the AI flow.

Query Parameters

integer
Page number.
integer
Number of items to return per page.
string
Run status filter. Possible values: Pending, Running, Completed, Failed, Stopped.
string
Start date in RFC3339 format.
string
End date in RFC3339 format.
Search by request ID, profile ID, phone, or email.

Response

boolean
Indicates whether the API call was successful.
string
Success or error message from the API.
array
An array of AI flow execution log objects, each containing:
string
The unique request ID for this flow run.
string
The date of the flow execution.
string
The run status of the flow execution. Possible values: Pending, Running, Completed, Failed, Stopped.
string
The message delivery status for this execution.
array
Recipients associated with this execution.
string
The profile ID of the recipient.
string
The name of the recipient.
string
The phone number of the recipient.
string
The email address of the recipient.
object
Pagination information containing:
integer
The total number of logs available.
integer
The number of logs returned in this response.
integer
The page size used for this request.