curl --request GET \
--url https://cronho.st/api/v1/jobs \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "job_456",
"scheduleId": "schedule_123",
"status": "SUCCESS",
"scheduledRunAtUtc": "2024-01-14T14:00:00.000Z",
"attemptNumber": 1,
"httpMethod": "GET",
"endpoint": "https://api.example.com/health",
"body": null,
"headers": "{\"User-Agent\": \"Cronhost-Monitor\"}",
"statusCode": 200,
"response": "{\"status\": \"ok\", \"uptime\": 99.9}",
"startedAtUtc": "2024-01-14T14:00:01.000Z",
"completedAtUtc": "2024-01-14T14:00:02.500Z",
"errorMessage": null,
"createdAt": "2024-01-14T14:00:00.000Z",
"updatedAt": "2024-01-14T14:00:02.500Z"
}
],
"success": true
}Retrieve jobs with optional filtering and pagination. Jobs represent individual executions of your scheduled HTTP requests.
curl --request GET \
--url https://cronho.st/api/v1/jobs \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "job_456",
"scheduleId": "schedule_123",
"status": "SUCCESS",
"scheduledRunAtUtc": "2024-01-14T14:00:00.000Z",
"attemptNumber": 1,
"httpMethod": "GET",
"endpoint": "https://api.example.com/health",
"body": null,
"headers": "{\"User-Agent\": \"Cronhost-Monitor\"}",
"statusCode": 200,
"response": "{\"status\": \"ok\", \"uptime\": 99.9}",
"startedAtUtc": "2024-01-14T14:00:01.000Z",
"completedAtUtc": "2024-01-14T14:00:02.500Z",
"errorMessage": null,
"createdAt": "2024-01-14T14:00:00.000Z",
"updatedAt": "2024-01-14T14:00:02.500Z"
}
],
"success": true
}API key for authentication. Get your API key from the Cronhost dashboard.
Filter jobs by specific schedule ID
"schedule_123"
Filter jobs by execution status
PENDING, RUNNING, SUCCESS, FAILED "SUCCESS"
Page number for pagination
x >= 11
Number of jobs per page
1 <= x <= 10020