Skip to main content
GET
/
cron-jobs
List cron jobs
curl --request GET \
  --url https://app.azalt.co/api/v1/cron-jobs \
  --header 'Authorization: Bearer <token>'
{
  "jobs": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "schedule": "5m",
      "isActive": true,
      "organizationId": "<string>",
      "createdById": "<string>",
      "lastExecutionAt": "<string>",
      "nextExecutionAt": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "executionStats": {
        "totalExecutions": 123,
        "successCount": 123,
        "failedCount": 123,
        "lastSuccess": "<string>",
        "lastFailure": "<string>",
        "avgExecutionTimeMs": 123
      },
      "variableCount": 123,
      "metadata": "<unknown>"
    }
  ],
  "total": 123,
  "hasMore": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0
isActive
boolean

Response

Successful response

jobs
object[]
required
total
integer
required
hasMore
boolean
required