Agents

Edit Instruction

Replace an existing instruction snippet with a revised version in the agent's published specs (used by the feedback flow to rewrite an existing instruction instead of only appending a new one).

patch/v1/agents/{agent_id}/instructions/edit

Request

  • Base URL
    https://client.api.prod.orsay.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://client.api.prod.orsay.ai/v1/agents/{agent_id}/instructions/edit
  • Auth
    HTTP bearer

Path parameters

agent_idstring uuid required

Request body

existingInstructionstring required
revisedInstructionstring required
target'general' | 'followUp' | 'response' required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 12 revisions of this API.