Use this API to validate whether a prompt has enough detail for agent execution. Returns either a “sufficient” signal or a specific clarification request with suggested options. This endpoint does not modify the prompt — it only checks completeness. Use it as a guardrail before letting a user save an underspecified agent. To expand a simple instruction into a structured QA task, use Validate Prompt.Documentation Index
Fetch the complete documentation index at: https://velt-raghul-agent-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST https://api.velt.dev/v2/agents/prompt/enhance
requirement is null:
| Field | Type | Present When | Description |
|---|---|---|---|
requirement | string | null | always | null if sufficient; clarification question if not |
context | string | needs clarification | Why the clarification is needed |
suggestion | string[] | needs clarification | Suggested options for the user to choose from |
suggestion_type | string | needs clarification | "boolean", "single-select", "multi-select", or "info" |
INVALID_ARGUMENT (missing or empty prompt).