1. Get a token
You authenticate with a bearer token tied to your account. See Authentication for how to obtain and send it. In the examples below, set it as an environment variable:2. Send a prompt
POST /v1/ask with a JSON body containing a non-empty prompt.
3. Read the response
A successful call returns200 with the generated text and a unique id for
the exchange:
That’s it — one authenticated
POST is the whole flow. Next, review the full
request and response schema.