ai-context

Get a generation run

Poll a generation run until its status is terminal. On success the AI context record has already been overwritten with the generated fields.

get/ai-context/generate/{job_id}/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/ai-context/generate/{job_id}/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

job_idstring uuid required

Response

Successful Response

created_atstring date-time required
domainstring required

The domain this job is researching.

errorstring nullable required

Why generation failed: infra trouble, or too little public content.

idstring uuid required
status'pending' | 'running' | 'succeeded' | 'failed' required

Where a context-generation job has got to.

Jobs are born RUNNING: creation validates, inserts and queues the workflow in one call, so there is no separate committed-but-not-started phase. PENDING exists for schema parity with the other job enums and is never observed. The two terminal states are absorbing: a job never leaves them.

updated_atstring date-time required

Changes

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