View job run history
Returns run history records for the specified job. Use this endpoint to inspect outcomes and latency.
curl "https://velora-api.psalinks.com/api/v1/jobs/JOB_ID/runs?limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"| Query | Type | Required | Notes |
|---|---|---|---|
limit | number | No | Max runs to return (default 20, max 100) |
offset | number | No | Pagination offset (default 0) |
Response
{
"runs": [
{
"id": "run_abc123",
"job_id": "9f4a1c2b-...",
"status": "success",
"attempt": 1,
"response_status": 200,
"response_body": "{\"ok\":true}",
"error_message": null,
"started_at": "2026-03-18T09:00:00.000Z",
"finished_at": "2026-03-18T09:00:00.312Z",
"duration_ms": 312,
"created_at": "2026-03-18T09:00:00.000Z"
}
],
"total": 1,
"limit": 20,
"offset": 0
}The
total field reflects the number of runs returned in the current page, not the total count across all pages. Use offset to paginate.| Run field | Type | Notes |
|---|---|---|
id | string | Run identifier |
status | string | success | failed | retrying |
attempt | number | Retry attempt number |
response_status | number | HTTP status from target |
duration_ms | number | Execution duration in ms |
| Status | error | Typical cause |
|---|---|---|
403 | insufficient_scope | Missing jobs:read scope |
404 | not_found | Job does not exist for this owner |
Required scope: jobs:read (or wildcard/admin scope).