error field is non-null and non-empty. Use this to monitor your agent’s failure rate over time and quickly spot days with elevated error activity. Combined with the path-timeseries endpoint, you can calculate the error rate per path to identify which specific endpoints are most prone to failures.
Request
JWT identifying the authenticated user.
UUID of the agent to retrieve error data for.
UUID of the project the agent belongs to.
Query parameters
Start of the date range, inclusive. Must be in
YYYY-MM-DD format.End of the date range, inclusive. Must be in
YYYY-MM-DD format and must not be before start_date.Response
1 on success.The agent UUID from the request headers.
The project UUID from the request headers.
Daily error count entries, ordered by date ascending.
Only dates with at least one error event are included. Days where every event succeeded (i.e.
error is null or "" for all events) are omitted from the response. An event is counted as an error when error IS NOT NULL AND error != ''.Errors
| HTTP | status_description | Meaning |
|---|---|---|
| 400 | missing_dates | start_date or end_date query parameter was not provided. |
| 400 | invalid_date_format | One or both dates are not in YYYY-MM-DD format. |
| 400 | invalid_date_range | start_date is after end_date. |
| 401 | missing_user_token | X-OTAS-USER-TOKEN header was not provided. |
| 400 | missing_agent_id | X-OTAS-AGENT-ID header was not provided. |
| 400 | missing_project_id | X-OTAS-PROJECT-ID header was not provided. |
| 403 | forbidden | The authenticated user does not have access to the specified project. |
| 404 | agent_not_found | No active agent matches the provided agent ID. |
| 503 | auth_service_timeout | The UASAM auth service did not respond within the timeout window. |
| 503 | auth_service_error | The UASAM auth service is unreachable. |
| 500 | server_error | An unexpected internal error occurred. |