GET
/
api
/
v1
/
apps
/
{uuid}
/
cronjobs
/
{id}
Get cron job details
curl --request GET \
  --url https://app.miget.com/api/v1/apps/{uuid}/cronjobs/{id} \
  --header 'Authorization: <api-key>'
{
  "uuid": "<string>",
  "name": "<string>",
  "schedule_type": "<string>",
  "interval_type": "<string>",
  "hour": "<string>",
  "minute": "<string>",
  "command": "<string>",
  "state": "<string>",
  "last_job_run_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token for authentication. Format: 'Bearer {token}'

Headers

X-Workspace-Id
string

Workspace ID (uses default workspace if not provided)

Path Parameters

uuid
string
required

Application UUID

id
string
required

Cron job ID or UUID

Response

Get cron job details

Api_V1_Entities_Cronjob model

uuid
string
required

Cron job UUID

name
string
required

Cron job name

schedule_type
string
required

Schedule type (cron, interval)

interval_type
string
required

Interval type (every_10_minutes, hourly, daily)

hour
string
required

Hour component

minute
string
required

Minute component

command
string
required

Command to execute

state
string
required

Current state

last_job_run_at
string<date-time>
required

Last execution timestamp

created_at
string<date-time>
required

Creation timestamp

updated_at
string<date-time>
required

Last update timestamp