AI Jobs

Fetch the current AI job status

Returns the current status of an async AI analysis job. Poll until status is completed (or failed/cancelled), then call GET /ai-jobs/{jobId}/results to retrieve the AI output.

Also accepts job IDs returned by POST /api/analysis/optimize — optimization jobs are reported here with jobType: "optimize", so polling an optimize job at this endpoint never returns 404.

Authentication: Required (API key, read scope).

get/ai-jobs/{jobId}

Request

  • Base URL: https://www.cloudworldmodel.ai/api
  • URL: https://www.cloudworldmodel.ai/api/ai-jobs/{jobId}
  • Auth: HTTP bearer

Path parameters

jobIdstring required

AI job ID

Response

AI job status

idstring
status'pending' | 'running' | 'completed' | 'failed' | 'cancelled'
jobType'explain' | 'troubleshoot' | 'analyze_bottlenecks' | 'optimize'
simulationIdstring
createdAtstring date-time
completedAtstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.