jobs

Create scheduled job

Changed on
post/api/scheduled-jobs/{namespace}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/scheduled-jobs/{namespace}
  • Auth: HTTP bearer

Path parameters

namespacestring required

Request body

schedulestring required

CRON schedule expression (e.g., '0 9 * * 1' for 9 AM every Monday).

suspendboolean

Whether the scheduled job is suspended (paused)

concurrencyboolean

Whether multiple instances of this job can run concurrently

Response

The scheduled job data

idstring required
createdAtstring date-time required
schedulestring required
suspendboolean required
suspendReasonstring
concurrencyboolean required
type'scheduled-job' required

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property oneOf list

    • info

      added the optional property / to the response with the status