x402 Auto

Builder Chat

Ask the AI to help you build an EQL query. It can research live market data, suggest strategies, and return ready-to-use EQL JSON.

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: speed based. Pay a flat price per turn with the exact scheme (fast $1, expert $2). Where the 402 also lists batch-settlement (Base), you can instead deposit once into a payment channel: each turn is then capped at fast $2 / expert $6 and charged only what it cost. Requires x402 payment.

post/x402/v2/auto/chat

Request

  • Base URL: https://api.elfa.ai
  • URL: https://api.elfa.ai/x402/v2/auto/chat
  • Auth: none required

Request body

messagestring required

Your request in natural language

speed'fast' | 'expert'

Response quality mode

sessionIdstring

Continue a previous conversation

Response

Ok

successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.