---
title: "List jobs"
description: "Trillet OEM API: Lists jobs, newest first."
openapi: /public/openapi/trillet-oem.yaml GET /partner/v1/jobs
lastUpdated: "2026-11-26"
---

> **For AI agents:** the complete documentation index is at [llms.txt](https://docs.trillet.ai/llms.txt). Append `.md` to any page URL for its markdown version.

`GET https://api.trillet.ai/partner/v1/jobs`

Lists jobs, newest first. Needs `resources:read`.

## Authentication

- `partnerKey` — http bearer (tpk_live_...)

## Query parameters

- `limit` (integer)
- `starting_after` (string) — The `id` of the last job on the previous page.
- `status` (string)
- `type` (string)
- `tenantId` (string)

## Response 200

A page of jobs.
  - response (object)
    - `object` (string, required)
    - `data` (array, required)
      - `items` (object)
        - `object` (string, required)
        - `id` (string, required)
        - `type` (string, required, one of: provision)
        - `status` (string, required, one of: queued, running, succeeded, failed)
        - `stage` (string | null, one of: reading, building, testing, finishing, null) — Where a running job is. `null` otherwise.
        - `tenantId` (string | null)
        - `attempts` (integer)
        - `result` (object | null) — Set when a provisioning job succeeds.
          - `receptionistStatus` (string, one of: ready, needs_review)
          - `reviewReason` (string | null, one of: tests_failed, tests_unavailable, approval_required, null)
          - `frontDoorAgentId` (string)
          - `agents` (array)
            - items: … (nested further)
          - `tests` (object)
            - total: … (nested further)
            - passedFirst: … (nested further)
            - passed: … (nested further)
            - passRate: … (nested further)
            - requiredPassRate: … (nested further)
            - fixesApplied: … (nested further)
            - skipped: … (nested further)
            - unavailable: … (nested further)
        - `error` (object | null)
          - `code` (string)
          - `message` (string)
        - `createdAt` (string | null, date-time)
        - `startedAt` (string | null, date-time)
        - `finishedAt` (string | null, date-time)
    - `hasMore` (boolean, required)

## Response 400

The request is malformed, a field is invalid, or the body has a field the endpoint does not accept. `error.param` names the field when there is one.
  - response (object)
    - `error` (object, required)
      - `type` (string, required, one of: invalid_request_error, authentication_error, permission_error, conflict_error, rate_limit_error, api_error, idempotency_error)
      - `code` (string, required) — A stable code. Handle errors by `code`, not by `message`.
      - `message` (string, required)
      - `param` (string) — The request field the error is about, when there is one.
      - `requestId` (string | null) — Include it when you contact support. Not present on idempotency errors.

## Response 401

Authentication failed. A key that is unknown or revoked returns `invalid_api_key`, an
account without Trillet OEM returns `partner_not_enabled`, and a partner key sent in
`x-api-key` returns `partner_key_wrong_header`. No credential, a user session or a user API
key returns `partner_key_required`. Handle a `401` by
status, not only by `error.code`.
  - response
    - (oneOf)
      - value (object)
        - `error` (object, required)
          - `type` (string, required, one of: invalid_request_error, authentication_error, permission_error, conflict_error, rate_limit_error, api_error, idempotency_error)
          - `code` (string, required) — A stable code. Handle errors by `code`, not by `message`.
          - `message` (string, required)
          - `param` (string) — The request field the error is about, when there is one.
          - `requestId` (string | null) — Include it when you contact support. Not present on idempotency errors.
      - value (object)
        - `error` (string, required)

## Response 403

`missing_scope`, or `key_restricted` on webhook endpoint routes.
  - response (object)
    - `error` (object, required)
      - `type` (string, required, one of: invalid_request_error, authentication_error, permission_error, conflict_error, rate_limit_error, api_error, idempotency_error)
      - `code` (string, required) — A stable code. Handle errors by `code`, not by `message`.
      - `message` (string, required)
      - `param` (string) — The request field the error is about, when there is one.
      - `requestId` (string | null) — Include it when you contact support. Not present on idempotency errors.


---

📦 **OpenAPI specs:** Every OpenAPI specification referenced by this documentation is available as a single download — https://docs.trillet.ai/api-specs.zip
