Public APIAPI ReferenceCrons
List an app's cron jobs.
Beta API
The /v1 API contract may change, including breaking changes without compatibility aliases.
GET
/v1/apps/{appId}/cronsTeam members can list the currently effective Cron jobs in declaration order. Returns whether the active settings come from the configuration file or the console and whether crons is declared in the production deployment. Cron sends GET requests to the production host only when a ready production deployment exists; it does not run for preview deployments.
Authorization
bearerAuth AuthorizationBearer <token>
Use an access token obtained by logging in or exchanging an API token. First exchange an ntro_ API token for an access token through the login server.
In: header
Path Parameters
appId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/apps/string/crons"{ "configDeclared": true, "crons": [ { "lastRun": { "deploymentId": "string", "durationMs": 0, "error": "string", "finishedAt": "string", "startedAt": "string", "status": "string", "statusCode": 0 }, "nextRunAt": "string", "path": "string", "schedule": "string" } ], "source": "string"}