AI Jobs

Fetch completed AI job results

Retrieves the full AI output for a completed job. Returns HTTP 400 if the job is not yet completed. Call GET /ai-jobs/{jobId} first to confirm status === "completed".

Result shape varies by jobType:

  • explain → { explanation: string }
  • troubleshoot → { guidance: string }
  • analyze_bottlenecks → { analysis: string, doRecommendation: object|null }
  • optimize → { suggestions: string[] }

Authentication: Requires an API key (read scope) or an x402 micro-payment (3 credits — $0.0030 USDC on Base). Pass Authorization: Bearer <key> for API key access, or include a signed x402 payment header with call type ai.results (no account required). x402 callers that paid to create the job carry a wallet-session JWT that is accepted here without a second payment round-trip. Use GET /api/billing/x402/config to discover the live price.

get/ai-jobs/{jobId}/results

Request

  • Base URL: https://www.cloudworldmodel.ai/api
  • URL: https://www.cloudworldmodel.ai/api/ai-jobs/{jobId}/results
  • Auth: one of:
    • HTTP bearer
    • API key in header X-PAYMENT
    • API key in header PAYMENT-SIGNATURE

Path parameters

jobIdstring required

AI job ID

Response

AI job results

explanationstring nullable
guidancestring nullable
analysisstring nullable
suggestionsstring[] nullable
recommendationsobject[] nullable

Present only when the jobId belongs to an optimization job created via POST /api/analysis/optimize — the structured recommendation objects, in addition to the flattened suggestions strings.

Changes

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