GET
Poll a job

Authorizations

Authorization
string
header
required

Every request carries a bearer API key, which looks like ph_live_.... Keep keys server-side, because a key grants full control of your sessions. A missing header returns 401; an invalid or revoked key currently returns 403, so treat the two together as authentication failure.

Path Parameters

job_id
string
required

Response

Successful Response

Generic async-job envelope for the shared poll GET /v1/job/{job_id} (fetch / inspect / agent). status: pending (running) | done | error.

session_id
string
required

The session the job ran in.

job_id
string
required

The job id returned by the originating call.

status
string
required

pending, done, or error.

kind
string
default:job

fetch, inspect, or agent. Determines the shape of result.

result
any

The completed result. Shape depends on kind.