agent
Generate Action
Generate draft action with RAG search and guard checks.
Pipeline:
- rag.search(strict) - Search for relevant evidence
- guard.outbound.check - Safety checks
- Return DraftCard preview
SECURITY: user_id is extracted from JWT token (cannot be spoofed).
Args: request: Action generation request user: Current user (from JWT)
Returns: DraftCard with preview, evidence, and guard results
post/ai/generate-action
Request
- Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dialogbrain.com/ai/generate-action
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 5 revisions of this API.