Skip to main content
GET
Get a job
  • Returns at once. While the job is live, Retry-After suggests when to read it again: sooner just after it starts, then every 1 to 4 minutes for a build, and every 4 minutes for a repair or a long run. Reading less often is fine. Job webhooks say when a job asks a question or ends, without polling.
  • A result is kept until it is first read, and at most 60 minutes after the job ends, or, for a run whose repair is still confirming the result it kept, at least 60 minutes after that repair ends (never past 24 hours). A result that comes as result_file is kept only until its download, at most 10 minutes after the run stored it; result_expires_at says when. include_result=false reads everything else and leaves the result for later.
  • Your other account keys, apps and sessions in the same account, never an integration key, read your job’s status and question without its result, and answer the question when they hold the permission that started the job. A Business team’s Owners and Admins also read every teammate’s job, and their own from other keys, result included, without using it up. Their read leaves out download links, so a result_file comes as its result_preview alone. Only the key, app or session that started a job cancels it and downloads its files.
  • Callers: an API key, an integration’s API key, an MCP OAuth token or a Dashboard session.
  • Permission: jobs:read.
  • Effect: Changes nothing.
  • Errors: not_found, result_unavailable, and the errors any request can get.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

a job ID: job_ and 32 lowercase hex digits

Example:

"job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

Query Parameters

include_result
enum<string>

false to read the job without its result, which stays for a later read; result_status says whether one waits. Default true.

Available options:
true,
false

Response

The job

id
string
required

a job ID: job_ and 32 lowercase hex digits

Example:

"job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190"

type
enum<string>
required
Available options:
run,
build
status
enum<string>
required
Available options:
queued,
running,
needs_input,
paused,
succeeded,
failed,
cancelled
tool_id
string | null
required
input_request
object | null
required
result
any
required
result_status
enum<string> | null
required
Available options:
available,
delivered,
expired
result_expires_at
string | null
required

a string to be decoded into a Date

write_status
enum<string> | null
required

Whether a write tool's run, or a write build, changed the website. Null for a read, or while a repair is still working on a run's write that may have applied: the repair may still complete it, and once it ends this says what happened. pending: the website accepted the change and was still working on it when the run ended, after Pomerado waited up to a minute. Don't run the tool again

Available options:
not_attempted,
may_have_applied,
applied,
not_applied,
pending
login_save
object | null
required
error
object | null
required
message
string | null
required
maintenance
object | null
required
build
object | null
required
watch_url
string
required
created_at
string
required

a string to be decoded into a Date

updated_at
string
required

a string to be decoded into a Date

completed_at
string | null
required

a string to be decoded into a Date

pause
object
result_file
object | null
result_preview
any
browser_time_zone
string

The IANA time zone, such as America/New_York, of the clock of the browser that read the run's result. Times the website works out from the visitor's clock, such as a delivery estimate or "today at 4:01 PM", are in this zone; times tied to a place, such as a flight's departure or a store's hours, are usually that place's local time. Present when the run knows the zone its result was read in.

write_progress
enum<string> | null
Available options:
no_change,
signed_in_only,
may_have_submitted,
submitted
stop_reason
enum<string>

Why a job told to stop stops, present while it stops (status running) and once it ended cancelled: cancel_requested when a cancel of this job arrived (from its caller, the account's owner or Pomerado support), access_revoked when the access that started it was revoked (its app's connection, API key, session or access to its saved login), account_deleted, or logins_unavailable when the account's saved logins became unavailable. Absent otherwise, and from an older backend

Available options:
cancel_requested,
access_revoked,
account_deleted,
logins_unavailable
stopped_after
string

A write that succeeded with the website's refusal after an earlier step: that step's name. The website may have kept something from it, as message says

purchase
object

A paying run's purchase, its newest when a retry made another: created, awaiting_cardholder while the cardholder's approval on the card network's page waits, ready, filled once the checkout has the payment method, then succeeded, declined (the store refused it), uncertain (the checkout had the payment method and the outcome is unknown, so it may have charged) or not_charged with its failure. No card data beyond the network token's last four

shape
object

A run that named one of your shapes: what it did. applied: the result is in the shape's form, paging fields copied on. skipped: the result is the tool's own, and reason says why. new_fields: fields the tool returns now that the shape leaves out. message says why it was skipped and how to add new fields

site_url
string | null

The website's https origin the job was asked for: a build's site_url, or the site of the tool a run runs

site_name
string | null

The site's name: its tool's integration's; null until the job has a tool, such as a build that hasn't published yet

task
string | null

A build's task, or a requested change, as it was sent; null for a run and a job accepted before Pomerado kept tasks

tool_name
string | null

The name of the tool tool_id names, as GET /v1/tools shows it

waiting_since
string | null

When the question input_request asks was asked; null when the job asks none

answered_questions
object[]

The questions the job asked and its member answered, oldest first; a secret, login or code shows only that it was answered

warnings
object[]

What to tell the person about a build or requested change, as is, or, on the answer that accepted a run, about its call. Absent when there is none

stop
string

Present once the job has ended: what the agent following it does now. Absent while the job may still change or a repair works to confirm the result a failed run kept, and from an older backend

started_by
object

Who started the job. A Business team's Owners and Admins also read their teammates' jobs

release_id
string

The Pomerado release that ran the job: its latest attempt's, or a requested change's repair's once it started. Absent before a worker takes the job, and from an older backend.

tip
string
queue
object

How long the job waited to run, apart from its running time. Absent from an older backend