Skip to main content
GET
Read or tail a setup run's log

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Path Parameters

environmentId
string<uuid>
required

Environment id (UUID).

setupRunId
string<uuid>
required

Setup run id (UUID).

Query Parameters

cursor
string

Sequence cursor from the previous log page; omit to start at the beginning.

limit
integer
default:500

Maximum lines to return.

Required range: 1 <= x <= 2000
waitSeconds
integer
default:0

Block up to this many seconds for more lines, capped at five seconds.

Required range: 0 <= x <= 60

Response

OK

lines
object[]
required

Log lines after the requested cursor, in order.

nextAfter
integer<int64>
required

Cursor to pass as cursor on the next call.

Required range: -9007199254740991 <= x <= 9007199254740991
status
string
required

Run status when the page was read.

truncated
boolean

Whether the run exceeded the retained log size.