Skip to main content
POST
Validate Prompt
Use this API to expand a simple instruction into a structured QA task with an analysis prompt, tool requirements, response descriptions, and demo examples. This is the transformation step that turns a one-line instruction into a comprehensive QA task definition you can ship as an agent.

Endpoint

POST https://api.velt.dev/v2/agents/prompt/validate

Headers

string
required
Your API key.
string
required

Body

Params

object
required

Example Requests

2. Accessibility check

Response

The validationResult object maps to the PromptValidatorResult interface.

Success Response

Response fields (PromptValidatorResult):

Failure Response

Errors: INVALID_ARGUMENT (missing or empty prompt).