Documentation

vaaya / docs / reference

Understand the API schema

A schema tells you what a request accepts and what its response contains. You can read examples in these docs or give the OpenAPI file to an API client or coding agent.

Open the OpenAPI JSON to inspect or import the specification. For a working request, start with the quickstart.

Find the inputs for a call

Each service action has its own inputs. Send a free GET request to the action URL to read its description, price, and input schema before making a paid POST request.

curl https://vaaya.ai/api/run/exa/search
Schema fieldWhat it means
propertiesThe inputs you can send, such as a search query or page URL.
typeThe value an input accepts, such as text (string), a number, or a list (array).
requiredThe inputs you must include. Other inputs can be omitted unless the action says otherwise.
enumThe allowed values for an input. Use one of the values listed.
descriptionAn explanation of the input and how to use it.

Read the result

Successful catalog calls return the service result with billing details. Keep the transaction ID to match a response to your account history.

{
  "ok": true,
  "data": {
    "results": []
  },
  "charged_cents": 1,
  "balance_remaining_cents": 199,
  "transaction_id": "tx_example"
}
Response fieldWhat it means
okWhether the call succeeded.
dataThe result from the service. Its contents depend on the action.
charged_centsThe amount charged, in cents.
balance_remaining_centsYour remaining Vaaya balance, when returned for account payments.
transaction_idThe identifier for the transaction, when returned.

The response above is illustrative. For error codes, retries, and billing rules, see Errors & billing.

Use the specification with your tools

  1. Import https://vaaya.ai/openapi.json into a client that supports OpenAPI 3.1, or give the URL to your coding agent.
  2. Choose an operation and read its request schema. Supply your Vaaya key as a bearer token when making an account-funded call.
  3. Check the action’s current descriptor and set max_cost_cents before making a paid request.

Files for agents

FileUse it for
OpenAPI JSONStructured operations, inputs, responses, and authentication.
llms.txtFinding the right documentation page.
llms-full.txtReading MCP tool descriptions and complete input schemas.
x402 discovery JSONFinding endpoints that accept direct x402 payments. Read the payment guide first.