Coolify Scheduled Tasks API

Scheduled Tasks

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /applications/{uuid}/scheduled-tasks List an application's scheduled tasks · List Tasks #
Ask an LLM
“What cron tasks are scheduled on my application?”
“Can I see the scheduled tasks for one application?”
Tell an agent
List scheduled tasks for application {uuid}.
Show every cron job on application {uuid}.
POST /applications/{uuid}/scheduled-tasks Schedule a command on an application · Create Task #
Ask an LLM
“How do I run a cron command on my application?”
“Can I set a scheduled task on an application container?”
Tell an agent
Schedule {command} on application {uuid} at {frequency}.
Add a cron job named {name} to {uuid} running {command} every {frequency}.
DELETE /applications/{uuid}/scheduled-tasks/{task_uuid} Delete an application's scheduled task · Delete Task #
Ask an LLM
“How do I remove a cron job from an application?”
“Can I delete a scheduled task on an application?”
Tell an agent destructive · confirm first
Delete scheduled task {task_uuid} from application {uuid}.
Remove cron job {task_uuid} on {uuid}.
PATCH /applications/{uuid}/scheduled-tasks/{task_uuid} Update an application's scheduled task · Update Task #
Ask an LLM
“Can I change the frequency of a cron job on an application?”
“How do I disable a scheduled task on an application?”
Tell an agent
Change scheduled task {task_uuid} on application {uuid} to run {frequency}.
Disable scheduled task {task_uuid} on {uuid}.
GET /applications/{uuid}/scheduled-tasks/{task_uuid}/executions List an application task's executions · List Executions #
Ask an LLM
“Did my scheduled task on an application run successfully?”
“Can I see the history of one application cron job?”
Tell an agent
List executions of scheduled task {task_uuid} on application {uuid}.
Show the run history for cron job {task_uuid} on {uuid}.
GET /services/{uuid}/scheduled-tasks List a service's scheduled tasks · List Tasks #
Ask an LLM
“What cron tasks are scheduled on my service?”
“Can I see the scheduled tasks for one service?”
Tell an agent
List scheduled tasks for service {uuid}.
Show every cron job on service {uuid}.
POST /services/{uuid}/scheduled-tasks Schedule a recurring task · Create Task #
Ask an LLM
“How do I run a cron job on my Coolify service?”
“Can I schedule something to run at a frequency like once a day?”
Tell an agent
Schedule {frequency} task {name} on {uuid} running {command}.
Create a {frequency} cron {name} on service {uuid} that runs {command}.
DELETE /services/{uuid}/scheduled-tasks/{task_uuid} Delete a scheduled task · Delete Task #
Ask an LLM
“Can I remove a scheduled job I no longer need?”
“What happens to a cron task when I delete it?”
Tell an agent destructive · confirm first
Delete scheduled task {task_uuid} on {uuid}.
Remove the scheduled cron {task_uuid} from service {uuid}.
PATCH /services/{uuid}/scheduled-tasks/{task_uuid} Update a scheduled task · Update Task #
Ask an LLM
“Can I change the command or frequency of an existing cron?”
“How do I disable a scheduled task without deleting it?”
Tell an agent
Update scheduled task {task_uuid} on {uuid} to run {command} {frequency}.
Disable scheduled task {task_uuid} on {uuid} by setting enabled to {enabled}.
GET /services/{uuid}/scheduled-tasks/{task_uuid}/executions List past runs of a service's scheduled task · List Executions #
Ask an LLM
“Did my scheduled job on a service run successfully?”
“Can I see the output of past runs of a cron on one of my services?”
Tell an agent
List the executions of scheduled task {task_uuid} on service {uuid}.
Pull the past runs of the service cron {task_uuid} running on service {uuid}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coolify:coolify-scheduled-tasks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coolify-scheduled-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coolify Scheduled Tasks API
  version: '0.1'
  description: Scheduled Tasks
servers:
- url: https://app.coolify.io/api/v1
  description: Coolify Cloud API. Change the host to your own instance if you are self-hosting.
tags:
- name: Scheduled Tasks
  description: Scheduled Tasks
paths:
  /applications/{uuid}/scheduled-tasks:
    get:
      tags:
      - Scheduled Tasks
      summary: List Tasks
      description: List all scheduled tasks for an application.
      operationId: list-scheduled-tasks-by-application-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the application.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Get all scheduled tasks for an application.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScheduledTask'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
      security:
      - bearerAuth: []
    post:
      tags:
      - Scheduled Tasks
      summary: Create Task
      description: Create a new scheduled task for an application.
      operationId: create-scheduled-task-by-application-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the application.
        required: true
        schema:
          type: string
      requestBody:
        description: Scheduled task data
        required: true
        content:
          application/json:
            schema:
              required:
              - name
              - command
              - frequency
              properties:
                name:
                  type: string
                  description: The name of the scheduled task.
                command:
                  type: string
                  description: The command to execute.
                frequency:
                  type: string
                  description: The frequency of the scheduled task.
                container:
                  type: string
                  nullable: true
                  description: The container where the command should be executed.
                timeout:
                  type: integer
                  description: The timeout of the scheduled task in seconds.
                  default: 300
                enabled:
                  type: boolean
                  description: The flag to indicate if the scheduled task is enabled.
                  default: true
              type: object
      responses:
        '201':
          description: Scheduled task created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduledTask'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
        '422':
          $ref: '#/components/responses/422'
      security:
      - bearerAuth: []
  /applications/{uuid}/scheduled-tasks/{task_uuid}:
    delete:
      tags:
      - Scheduled Tasks
      summary: Delete Task
      description: Delete a scheduled task for an application.
      operationId: delete-scheduled-task-by-application-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the application.
        required: true
        schema:
          type: string
      - name: task_uuid
        in: path
        description: UUID of the scheduled task.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Scheduled task deleted.
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Scheduled task deleted.
                type: object
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
      security:
      - bearerAuth: []
    patch:
      tags:
      - Scheduled Tasks
      summary: Update Task
      description: Update a scheduled task for an application.
      operationId: update-scheduled-task-by-application-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the application.
        required: true
        schema:
          type: string
      - name: task_uuid
        in: path
        description: UUID of the scheduled task.
        required: true
        schema:
          type: string
      requestBody:
        description: Scheduled task data
        required: true
        content:
          application/json:
            schema:
              properties:
                name:
                  type: string
                  description: The name of the scheduled task.
                command:
                  type: string
                  description: The command to execute.
                frequency:
                  type: string
                  description: The frequency of the scheduled task.
                container:
                  type: string
                  nullable: true
                  description: The container where the command should be executed.
                timeout:
                  type: integer
                  description: The timeout of the scheduled task in seconds.
                  default: 300
                enabled:
                  type: boolean
                  description: The flag to indicate if the scheduled task is enabled.
                  default: true
              type: object
      responses:
        '200':
          description: Scheduled task updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduledTask'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
        '422':
          $ref: '#/components/responses/422'
      security:
      - bearerAuth: []
  /applications/{uuid}/scheduled-tasks/{task_uuid}/executions:
    get:
      tags:
      - Scheduled Tasks
      summary: List Executions
      description: List all executions for a scheduled task on an application.
      operationId: list-scheduled-task-executions-by-application-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the application.
        required: true
        schema:
          type: string
      - name: task_uuid
        in: path
        description: UUID of the scheduled task.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Get all executions for a scheduled task.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScheduledTaskExecution'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
      security:
      - bearerAuth: []
  /services/{uuid}/scheduled-tasks:
    get:
      tags:
      - Scheduled Tasks
      summary: List Tasks
      description: List all scheduled tasks for a service.
      operationId: list-scheduled-tasks-by-service-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the service.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Get all scheduled tasks for a service.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScheduledTask'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
      security:
      - bearerAuth: []
    post:
      tags:
      - Scheduled Tasks
      summary: Create Task
      description: Create a new scheduled task for a service.
      operationId: create-scheduled-task-by-service-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the service.
        required: true
        schema:
          type: string
      requestBody:
        description: Scheduled task data
        required: true
        content:
          application/json:
            schema:
              required:
              - name
              - command
              - frequency
              properties:
                name:
                  type: string
                  description: The name of the scheduled task.
                command:
                  type: string
                  description: The command to execute.
                frequency:
                  type: string
                  description: The frequency of the scheduled task.
                container:
                  type: string
                  nullable: true
                  description: The container where the command should be executed.
                timeout:
                  type: integer
                  description: The timeout of the scheduled task in seconds.
                  default: 300
                enabled:
                  type: boolean
                  description: The flag to indicate if the scheduled task is enabled.
                  default: true
              type: object
      responses:
        '201':
          description: Scheduled task created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduledTask'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
        '422':
          $ref: '#/components/responses/422'
      security:
      - bearerAuth: []
  /services/{uuid}/scheduled-tasks/{task_uuid}:
    delete:
      tags:
      - Scheduled Tasks
      summary: Delete Task
      description: Delete a scheduled task for a service.
      operationId: delete-scheduled-task-by-service-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the service.
        required: true
        schema:
          type: string
      - name: task_uuid
        in: path
        description: UUID of the scheduled task.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Scheduled task deleted.
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: Scheduled task deleted.
                type: object
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
      security:
      - bearerAuth: []
    patch:
      tags:
      - Scheduled Tasks
      summary: Update Task
      description: Update a scheduled task for a service.
      operationId: update-scheduled-task-by-service-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the service.
        required: true
        schema:
          type: string
      - name: task_uuid
        in: path
        description: UUID of the scheduled task.
        required: true
        schema:
          type: string
      requestBody:
        description: Scheduled task data
        required: true
        content:
          application/json:
            schema:
              properties:
                name:
                  type: string
                  description: The name of the scheduled task.
                command:
                  type: string
                  description: The command to execute.
                frequency:
                  type: string
                  description: The frequency of the scheduled task.
                container:
                  type: string
                  nullable: true
                  description: The container where the command should be executed.
                timeout:
                  type: integer
                  description: The timeout of the scheduled task in seconds.
                  default: 300
                enabled:
                  type: boolean
                  description: The flag to indicate if the scheduled task is enabled.
                  default: true
              type: object
      responses:
        '200':
          description: Scheduled task updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduledTask'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
        '422':
          $ref: '#/components/responses/422'
      security:
      - bearerAuth: []
  /services/{uuid}/scheduled-tasks/{task_uuid}/executions:
    get:
      tags:
      - Scheduled Tasks
      summary: List Executions
      description: List all executions for a scheduled task on a service.
      operationId: list-scheduled-task-executions-by-service-uuid
      parameters:
      - name: uuid
        in: path
        description: UUID of the service.
        required: true
        schema:
          type: string
      - name: task_uuid
        in: path
        description: UUID of the scheduled task.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Get all executions for a scheduled task.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScheduledTaskExecution'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
      security:
      - bearerAuth: []
components:
  responses:
    '422':
      description: Validation error.
      content:
        application/json:
          schema:
            properties:
              message:
                type: string
                example: Validation error.
              errors:
                type: object
                example:
                  name:
                  - The name field is required.
                  api_url:
                  - The api url field is required.
                  - The api url format is invalid.
                additionalProperties:
                  type: array
                  items:
                    type: string
            type: object
    '401':
      description: Unauthenticated.
      content:
        application/json:
          schema:
            properties:
              message:
                type: string
                example: Unauthenticated.
            type: object
    '404':
      description: Resource not found.
      content:
        application/json:
          schema:
            properties:
              message:
                type: string
                example: Resource not found.
            type: object
  schemas:
    ScheduledTask:
      description: Scheduled Task model
      properties:
        id:
          type: integer
          description: The unique identifier of the scheduled task in the database.
        uuid:
          type: string
          description: The unique identifier of the scheduled task.
        enabled:
          type: boolean
          description: The flag to indicate if the scheduled task is enabled.
        name:
          type: string
          description: The name of the scheduled task.
        command:
          type: string
          description: The command to execute.
        frequency:
          type: string
          description: The frequency of the scheduled task.
        container:
          type: string
          nullable: true
          description: The container where the command should be executed.
        timeout:
          type: integer
          description: The timeout of the scheduled task in seconds.
        created_at:
          type: string
          format: date-time
          description: The date and time when the scheduled task was created.
        updated_at:
          type: string
          format: date-time
          description: The date and time when the scheduled task was last updated.
      type: object
    ScheduledTaskExecution:
      description: Scheduled Task Execution model
      properties:
        uuid:
          type: string
          description: The unique identifier of the execution.
        status:
          type: string
          enum:
          - success
          - failed
          - running
          description: The status of the execution.
        message:
          type: string
          nullable: true
          description: The output message of the execution.
        retry_count:
          type: integer
          description: The number of retries.
        duration:
          type: number
          nullable: true
          description: Duration in seconds.
        started_at:
          type: string
          format: date-time
          nullable: true
          description: When the execution started.
        finished_at:
          type: string
          format: date-time
          nullable: true
          description: When the execution finished.
        created_at:
          type: string
          format: date-time
          description: When the record was created.
        updated_at:
          type: string
          format: date-time
          description: When the record was last updated.
      type: object
  securitySchemes:
    bearerAuth:
      type: http
      description: Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
      scheme: bearer