Skip to content

Get a job schedule

GET
/api/v1/jobs/{jobDefinitionId}/schedule

Returns the recurring schedule and next fire time after VIEW permission. A job without a schedule returns not found.

jobDefinitionId
required
string format: uuid

Job definition identifier.

Schedule returned

Persisted job schedule and its currently computed next fire time.

object
createdAt

Creation timestamp in UTC.

string format: date-time
cronExpression

Validated Quartz CRON expression.

string
enabled

Whether the schedule is enabled.

boolean
jobDefinitionId

Scheduled job definition identifier.

string format: uuid
nextFireTime

Next fire time computed by the current scheduler, or null when disabled or unscheduled.

string format: date-time
nullable
timeZone

IANA time-zone identifier used by Quartz.

string
updatedAt

Last update timestamp in UTC.

string format: date-time

Authentication is required or credentials are invalid.

RFC 7807 problem response. Dynamic detail text is credential-redacted.

object
detail
string
instance
string format: uri-reference
status
integer format: int32
title
string
type
string format: uri-reference

The authenticated identity lacks the required permission.

RFC 7807 problem response. Dynamic detail text is credential-redacted.

object
detail
string
instance
string format: uri-reference
status
integer format: int32
title
string
type
string format: uri-reference

The requested resource does not exist or is not visible.

RFC 7807 problem response. Dynamic detail text is credential-redacted.

object
detail
string
instance
string format: uri-reference
status
integer format: int32
title
string
type
string format: uri-reference