Get a job's result

Retrieve a job's result. The same result is returned by every surface; poll until status leaves processing, or pass wait to long-poll.
MethodGET
Endpoint/v1/jobs/:jobId

Headers

Authorization: Bearer {api_key}

Path parameters

ParameterTypeDescriptionRequired
jobIdstring (uuid)Yes

Query parameters

ParameterTypeDescriptionRequired
waitbooleanBlock until the job completes. true (the default) waits up to 30 s before falling back to the polling response; false returns immediately. Changes response timing and HTTP status only — never the result shape.No

Example request

curl -X GET "https://api.pixelsystems.com/v1/jobs/550e8400-e29b-41d4-a716-446655440000?wait=true" \
  -H "Authorization: Bearer {api_key}"

Response (200)

Result for the job (poll or long-poll)

FieldTypeDescription
jobIdstring (uuid)Single job identity, shared by every path that references this job.
statusJobStatusLifecycle status of a job. verdict is present only when completed. rejected is reserved for future use and is not currently produced.
verdictobjectOverall verdict for a completed job, with per-dimension breakdown. Present only when status is completed.
verdict.assessmentstringHeadline, customer-actionable assessment (e.g. ai_generated).
verdict.confidenceConfidenceLevelQualitative confidence in an assessment.
verdict.displayobjectRendered copy for assessment. Present for every completed run.
verdict.display.labelstringShort badge or table-cell copy, e.g. Inconclusive.
verdict.display.titlestringHeadline for the main result indicator.
verdict.display.descriptionstringSupporting sentence shown under the headline.
verdict.dimensionsarray<Dimension>
verdict.dimensions[].keystringStable identifier of the dimension, e.g. ai_detection.
verdict.dimensions[].labelstringHuman-readable name of the dimension.
verdict.dimensions[].assessmentstringAggregated assessment for this dimension.
verdict.dimensions[].scorenumberAggregated numeric score in [0, 1].
verdict.dimensions[].confidenceConfidenceLevelQualitative confidence in an assessment.
errorobjectWhy a job ended in error or rejected status; present only for those statuses. Uses the same code vocabulary as endpoint errors.
error.codeErrorCodeStable machine-readable error code. The same vocabulary is used by every endpoint and by jobs in error or rejected status.
error.messagestring
metadataobjectCaller-supplied metadata, echoed back verbatim.
createdAtstring (date-time)When the job was created (ISO 8601).
completedAtstring (date-time)When processing finished (ISO 8601).

Example response

{
  "jobId": "550e8400-e29b-41d4-a716-446655440000",
  "status": "completed",
  "verdict": {
    "assessment": "ai_generated",
    "confidence": "high",
    "display": {
      "label": "AI Generated",
      "title": "AI Generated",
      "description": "AI Generated image detected"
    },
    "dimensions": [
      {
        "key": "ai_detection",
        "label": "AI generation",
        "assessment": "likely_ai",
        "score": 0.82,
        "confidence": "high"
      }
    ]
  },
  "metadata": { "customer_case_id": "case-123" },
  "createdAt": "2024-06-01T12:00:00Z",
  "completedAt": "2024-06-01T12:05:00Z"
}
Pixel Systems - Get a job's result