v2 Auto
Validate Query Draft
Validate a stored query draft without converting it.
Runs the same checks as POST /v2/auto/queries/validate against the draft's current EQL: schema, semantics, action restrictions, and destination reachability. Returns simulation-based cost details when valid. Does not activate the draft — call POST /v2/auto/queries/drafts/{draftId}/convert for that.
Cost
Free.
Auth
Required header:
x-elfa-api-key: <api_key>
post/v2/auto/queries/drafts/{draftId}/validate
Request
- Base URL: https://api.elfa.ai
- URL: https://api.elfa.ai/v2/auto/queries/drafts/{draftId}/validate
- Auth: API key in header x-elfa-api-key
Path parameters
draftIdstring required
Response
Ok
Changes
No recorded changes to this operation across all 1 revision of this API.