Skip to main content
POST
Save the answer of a plan job

Authorizations

X-Outerlayer-App-Id
string
header
required

Factory id the request is scoped to.

Authorization
string
header
required

API key (sk_outerlayer_*)

Path Parameters

number
string
required

Body

application/json
kind
enum<string>
required
Available options:
change,
rebuild,
no_change
reason
string
required

The agent's reason. A reason is never empty.

Required string length: 1 - 4000
change
object

A change only.

instructions
string

A rebuild only: instructions for the new build, at most 2,000 characters.

Maximum string length: 4000
rebuildChild
integer

A rebuild only: the number of the failed child.

Required range: x > 0
summary
string

One sentence that says what the answer does. Required for a change and a rebuild.

Required string length: 1 - 300

Response

The answer is stored.

data
object
required