---
title: "GET /0/admin/jobs"
method: GET
path: "/0/admin/jobs"
---

# GET /0/admin/jobs

`GET /0/admin/jobs`

## Query parameters

- `active` boolean
- `completed` integer, nullable

## Response `200`

successful operation

- Job[]
  - `cancelled` boolean, required
  - `id` string, required
  - `name` string, required
  - `output_rules` string[], required
  - `owner` string, required
  - `state` string, required
  - `tags` object, required
  - `target` string, required
  - `target_real` string, required
  - `tasks` Task[], required
    - `env` object, required
    - `env_clear` boolean, required
    - `gid` integer, nullable
    - `name` string, required
    - `script` string, required
    - `state` string, required
    - `uid` integer, nullable
    - `workdir` string, nullable
  - `time_archived` string, date-time, nullable
  - `time_purged` string, date-time, nullable
  - `times` object

## Other responses

- `4XX` — Error
- `5XX` — Error

## Changes

> 17 revisions in range; 1 not diffed.

- **2025-02-04** `fd107227bbea` — 2 info
  - added the optional property `items/time_archived` to the response with the `200` status
  - added the optional property `items/time_purged` to the response with the `200` status
- **2023-08-21** `ad085ef729f0` — 2 warning
  - removed the optional property `items/time_archived` from the response with the `200` status
  - removed the optional property `items/time_purged` from the response with the `200` status

[Change history](https://skmtc.dev/oxidecomputer/apis/buildomat/changes/0/admin/jobs/get.md)

---

[API](https://skmtc.dev/oxidecomputer/apis/buildomat.md) · [All operations](https://skmtc.dev/oxidecomputer/apis/buildomat/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oxidecomputer/buildomat/revisions/7c904bfdde4a/schema)
