API reference
API reference

jobs

  • GET/v1/jobs

    List jobs.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/jobs"
  • POST/v1/jobs

    Create a job (status defaults to draft).

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/jobs"
  • GET/v1/jobs/{id}

    Fetch a job with intelligence.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/jobs/{id}"
  • PATCH/v1/jobs/{id}

    Update job fields.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/jobs/{id}"
  • POST/v1/jobs/{id}/publish

    Publish a draft job.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/jobs/{id}/publish"
  • POST/v1/jobs/{id}/close

    Close a job.

    Standard JSON response. Authenticated with an API key scoped to your tenant. Rate limits and pagination apply.

    Example
    curl -H "Authorization: Bearer $JINZAI_API_KEY" "https://api.jinzai.dev/v1/jobs/{id}/close"