Builder Chat
POST/v2/auto/chat
Ask the AI to help you build an EQL query.
The response message contains the AI's reply in Markdown. When it generates EQL, it will be in a JSON code block that you can extract, validate, and submit.
Use sessionId in follow-up requests to maintain conversation context.
Cost
Usage cost depends on your Auto plan and billing model. In x402 mode, equivalent reference pricing is:
fast:$0.225expert(default):$1.00
Auth
Required headers:
x-elfa-api-key: <api_key>
x-elfa-timestamp: <unix_seconds>
x-elfa-signature: <hex_hmac_sha256>
Signing payload:
timestamp + method + path + body
For this route, sign with path = "/chat".