list_problems
List the application’s failures of the last 30 days in one newest-first list.
Covers request failures, failed rule runs, scheduled job executions, notifications,
webhook deliveries and service calls. Filter by kind (request, rule, job,
notification, webhook, service), by the exact visitor reference code of a
request failure, or by model_id; filters apply before limit (1-200). Pass
nextCursor back as cursor with the same filters for the next page. Read an
entry’s full log with its kind’s log tool and itemId.
Input schema
Section titled “Input schema”{ "properties": { "application_id": { "title": "Application Id", "type": "string" }, "cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Cursor" }, "kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Kind" }, "limit": { "default": 50, "title": "Limit", "type": "integer" }, "model_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Model Id" }, "reference": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Reference" } }, "required": [ "application_id" ], "title": "list_problemsArguments", "type": "object"}Output schema
Section titled “Output schema”{ "description": "One newest-first page; pass ``nextCursor`` back with the same filters for more.", "properties": { "entries": { "items": { "description": "One failure: what failed, when, its item, a safe status/error and where to look.", "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "First line of the error, with credentials removed.", "title": "Error" }, "id": { "description": "The id of the failed row in its source log.", "title": "Id", "type": "string" }, "itemId": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "The rule, job, notification, webhook or service that failed.", "title": "Itemid" }, "itemName": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Itemname" }, "kind": { "description": "The failure source a Problem came from.", "enum": [ "request", "rule", "job", "notification", "webhook", "service" ], "title": "ProblemKind", "type": "string" }, "link": { "description": "Console path of this entry's item log or request summary.", "title": "Link", "type": "string" }, "modelId": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "The model the item is attached to, when it has one.", "title": "Modelid" }, "occurredAt": { "format": "date-time", "title": "Occurredat", "type": "string" }, "referenceCode": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Visitor reference code; request failures only.", "title": "Referencecode" }, "status": { "title": "Status", "type": "string" }, "statusCode": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "HTTP status of a webhook, service or request failure.", "title": "Statuscode" } }, "required": [ "kind", "id", "occurredAt", "itemId", "itemName", "modelId", "status", "statusCode", "error", "referenceCode", "link" ], "title": "ProblemEntryResponse", "type": "object" }, "title": "Entries", "type": "array" }, "nextCursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Opaque cursor for the next page, or null on the last page.", "title": "Nextcursor" } }, "required": [ "entries", "nextCursor" ], "title": "ProblemListResponse", "type": "object"}