Agents

Generate agent instructions

Use GPT-5.4-mini to generate XML instructions from builder inputs and save them to the agent

post/api/v1/agents/{id}/generate-instructions

Request

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

Path parameters

idstring uuid required

Resource UUID

Request body

channel'voice' | 'whatsapp' | 'email' required
agentNamestring required
companyNamestring
objetivostring required
tono'formal' | 'calido_profesional' | 'casual' | 'directo' required
contextostring required
websiteContentstring

Response

Instructions generated and saved

successtrue required

Changes

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