Skip to main content
POST
Accept a proposed improvement (updates the agent's fields)

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

Body

application/json
attempt_id
string<uuid>
required

Required. The id of the optimization attempt from GET /{uuid} data.optimizations[].id.

changes
object | null

Optional edited change set to apply instead of the proposed one. Same shape as data.optimizations[].changes: fields (object of agent-column → new value), guidelines_add (string[]), notes_add (string[]), training_add (string[]). Omit to apply the proposal as-is; drop a field key or a list item to skip it. Only these keys and known columns are honoured.

Response

Agent fields updated and prompt rebuilt