Validate Query Draft
POST/v2/auto/queries/drafts/:draftId/validate
Plan Access
All plans, billed per query in credits
Data Recency
Continuous evaluation against live data
Rate Limit
60 to 120 RPM by plan
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>
Request
Responses
- 200
- 401
- 404
Ok
Missing or invalid API key
Draft not found