---
title: "Fetch optimization job status"
method: GET
path: "/analysis/jobs/{id}"
tags: ["Infrastructure Optimization"]
---

# Fetch optimization job status

`GET /analysis/jobs/{id}`

## Request

- Base URL: `https://www.cloudworldmodel.ai/api`
- URL: `https://www.cloudworldmodel.ai/api/analysis/jobs/{id}`
- Auth: none required

Check the progress and status of an optimization job

## Path parameters

- `id` string, required

## Response `200`

Job status

- OptimizationJob
  - `id` string, uuid
  - `status` 'pending' | 'running' | 'completed' | 'failed'
  - `variantsGenerated` integer
  - `variantsCompleted` integer
  - `createdAt` string, date-time
  - `completedAt` string, date-time
  - `error` string: Error message if failed
  - `webhookDeliveryStatus` 'pending' | 'delivered' | 'failed': Webhook delivery status
  - `webhookDeliveryAttempts` integer: Number of webhook delivery attempts made
  - `webhookDeliveryError` string: Error message if webhook delivery failed
  - `webhookDeliveredAt` string, date-time: Timestamp when webhook was successfully delivered

## Other responses

- `401`: No credentials provided to an API-key-protected endpoint. The response body includes a machine-readable `apiKeyAuth` block pointing to the key creation endpoint so agents can self-serve an API key without consulting the spec.
- `404`: Resource not found

---

[API](https://skmtc.dev/cloudworldmodel/apis/cloud-world-model-agent-api.md) · [All operations](https://skmtc.dev/cloudworldmodel/apis/cloud-world-model-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudworldmodel/apis/cloud-world-model-agent-api/revisions/ecc3ad1ff07f?raw)
