Returns the run logs (tree structure with descendants) for a given AI contact, ordered by start time descending. Supports pagination over the root run logs.
Documentation Index
Fetch the complete documentation index at: https://docs.vambe.me/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Description |
|---|---|---|---|
ai_contact_id | string (UUID) | Yes | UUID of the AI contact whose run logs you want to retrieve |
page | integer | No | Page number (defaults to 1) |
page_size | integer | No | Items per page (defaults to 20, max 100) |
| Field | Type | Description |
|---|---|---|
page | integer | Current page number |
page_size | integer | Page size used to compute the response |
total | integer | Total number of root run logs for the contact |
run_logs | array | Array of root run logs, each containing nested children[] |
| Field | Type | Description |
|---|---|---|
id | string (UUID) | Run log unique identifier |
run_type | string | Type of run (e.g. master, tool_call, predefined_behaviour, context) |
status | string | One of pending, running, success, failed |
content | object | null | Type-specific payload (inputs/outputs, parameters, etc.) |
error | object | null | Error details if the run failed |
start_time | string (ISO) | Timestamp when the run started |
end_time | string (ISO) | Timestamp when the run finished (null if still running) |
ai_contact_id | string (UUID) | AI contact this run belongs to |
parentId | string | null | Parent run log id (null for root run logs) |
children | array | Child run logs (recursively, same shape) |
| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid ai_contact_id format |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - AI contact does not exist |
| 500 | Internal Server Error - Something went wrong |