v6

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0161113158.0 KB
Agents

Define a form using AI assistance

Uses AI to generate or refine a form definition based on the provided prompt.

post/api/agents/forms/define

Request body

promptstring required

The prompt to guide the AI in form definition.

definitionstring nullable

Optional existing form definition to refine or modify.

agentNamestring

Optional assistant ID for continuing a conversation.

threadIdinteger nullable

Optional thread ID for continuing a conversation.

formIdinteger nullable

Optional form ID to associate the conversation with a specific form.

Response

Form definition generated successfully.

agentIdstring

The agent ID for continuing the conversation.

threadIdstring

The thread ID for continuing the conversation.

All 61 operations