Skip to main content
POST
End a run

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Headers

Signature
string

HTTP Message Signature (RFC 9421) made with the runner key's host key: runner=:<base64>:.

Signature-Input
string

The signature's covered components and parameters: runner=("@method" "@path" "@query" "content-digest");created=<unix seconds>;nonce="<random>";keyid="<host key fingerprint>";alg="ed25519".

Content-Digest
string

RFC 9530 digest of the request body, always sent, including for a request with none: sha-256=:<base64>:.

Path Parameters

runId
string<uuid>
required

Body

application/json
outcome
enum<string>
required

ended when the agent finished. timed_out when the runner stopped it at its time limit. failed when the agent or the runner failed. A run that timed out or failed files nothing.

Available options:
ended,
timed_out,
failed

Response

What the run became.

data
object
required