Agents

Refine agent prompt

Apply a targeted, user-instructed edit to the agent prompt (full or a selected fragment). Returns the revised text without persisting it.

post/api/v1/agents/{id}/refine-prompt

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/agents/{id}/refine-prompt
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

idstring uuid required

Resource UUID

Request body

mode'full' | 'section' required
instructionstring required
targetstring required
fullPromptstring required

Response

Revised prompt text

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.