Skip to main content
POST
Optimize Instructions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request model for optimizing agent instructions.

instructions
string
required

Draft instructions to optimize

model_id
integer | null

Model ID to use for optimization

Response

Successful Response

{key}
string