code

Read a run's output

Read what a run from the Code editor printed, while it runs and after it ends.

  • Business accounts only, with jobs:read. You read the runs whose job you can read with GET /v1/jobs/{id}, and any other run is not found.
  • Each chunk is the run's stdout (out) or stderr (err). A cut chunk, with no text, means the run printed more than the 4 MiB kept.
  • Send the last seq you read as after. more is true when more was printed already, so read again at once.
  • Output is kept until 60 minutes after the run ends.
get/v1/code/runs/{id}/output

Request

  • Base URL: https://api.pomerado.ai
  • URL: https://api.pomerado.ai/v1/code/runs/{id}/output
  • Auth: HTTP bearer

Path parameters

idstring required
Example:job_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190

a job ID: job_ and 32 lowercase hex digits

Query parameters

afterstring

The seq of the last chunk you read; leave it out to read from the start

Response

What the run printed

moreboolean required

Whether more was printed already: read again at once

Changes

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