v1
latestOpenAPI 3.1.02026-08-06221222240.7 KBAgents
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
Path parameters
agent_idstring uuid required
Request body
Response
Successful Response
{"stackTrail":"paths:/v1/agents/{agent_id}/instructions/edit:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}