agents

Preview Agent

Preview agent response without saving to database.

post/api/agents/preview

Request body

instructionsstring nullable

System instructions/prompt

execution_modestring nullable

Execution mode: flash, balanced, think, or auto

modelsobject nullable

Model config: {general, small_fast, visual, compact}

knowledge_basesstring[]

Knowledge base names

skillsstring[]

Skill names

tool_categoriesstring[]

Tool category names

messagestring required

User message to preview

Response

Successful Response

responsestring required
statusstring required

Changes

Changed in 1 of the 4 revisions of this API.1

    • the execution_mode request property default value changed from react to balanced

      request-property-default-value-changed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog