Get a run

View as Markdown
Get one run using the simplified run resource.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

runIdstringRequired
Unique run identifier generated by BCTRL.

Headers

BCTRL-Subaccount-IdstringOptional
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.

Query parameters

include"connection"Optional

Response

OK
countsobject
createdAtdatetime
RFC 3339 timestamp with a UTC offset.
durationSecondsdouble or null>=0
failureobject or null
finishedAtdatetime or null
RFC 3339 timestamp with a UTC offset.
idstring
Unique run identifier generated by BCTRL.
recordingobject
runtimeIdstring
Unique runtime identifier generated by BCTRL.
runtimeTypeenum
spaceIdstring
Unique space identifier generated by BCTRL.
startedAtdatetime
RFC 3339 timestamp with a UTC offset.
statusenum
connectionobjectOptional
usageobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error