---
title: "GET /v2/costformation/publish-jobs"
method: GET
path: "/v2/costformation/publish-jobs"
tags: ["costformation"]
---

# GET /v2/costformation/publish-jobs

`GET /v2/costformation/publish-jobs`

List CostFormation publish jobs for the organization, sorted by creation time descending. Supports optional filtering by status and a result limit (default 50, max 100).

## Query parameters

- `status` string
- `limit` integer

## Response `200`

Successful Operation

- CostformationPublishJobs
  - `jobs` CostformationPublishJobDetail[]
    - `job_id` string — Unique identifier for the publish job.
    - `cz_organization_id` string — The organization that owns this job.
    - `status` string — Current status of the publish job. One of: `pending`, `in_progress`, `completed`, `failed`, `superseded`, `cancelled`.
    - `created_at` string, date-time — ISO 8601 timestamp when the job was created.
    - `updated_at` string, date-time — ISO 8601 timestamp of the last status update.
    - `attempt_count` integer — Number of processing attempts made.
    - `max_attempts` integer — Maximum number of processing attempts allowed.
    - `completed_at` string, date-time, nullable — ISO 8601 timestamp when the job reached a terminal state.
    - `error_message` string, nullable — Error details if the job failed.
    - `error_code` string, nullable — Error classification code if the job failed. One of: `TRANSIENT`, `VALIDATION`, `RESOURCE_NOT_FOUND`, `RATE_LIMITED`, `SYSTEM_ERROR`.
    - `definition_version` string, nullable — The version of the definition created by this job (set on completion).
    - `validation_errors` object, nullable — Validation error details when a job fails with error_code VALIDATION.
  - `count` integer — Number of jobs returned.

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources.md) · [All operations](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudzero/cloudzero-api-v2-resources/revisions/fd805a0e75e5/schema)
