1. Create a team account
Sign up in the app, choose a team account, and confirm your email. This creates an organisation. An owner or admin can open Organisation → API keys. Fund the organisation’s main balance before making a paid call; creating a key and browsing sources do not charge it.2. Create an API key
Give the key a name, expiry, per-request limit, monthly limit and the permissions it needs. Copy the secret when it appears; it is shown once. Keep it on your server.sources:read,
sources:execute and billing:read. Add
ask:create and ask:execute to run questions
through Ask.
3. Check the key and browse
available_in_v2: true, then inspect its executable operations,
exact inputs and current prices:
4. Run one operation
Use an operation and input returned by the source detail. Set a uniqueIdempotency-Key for this purchase:
data,
results[].metadata, usage.cost,
usage.held and balance.remaining. If it
returns HTTP 202, read the saved run at GET /v2/runs/.
This is a paid operation; do not run the example simply to test a key.
When you do not know the source
Ask for a free priced plan:POST /v2/asks//run.
See Ask and Prices and balance.
