Agents, keys and limits
Who can call KIVEX, how callers authenticate, and how many requests they can make.
KIVEX distinguishes between two parties in a request:
- The actor is the software that sends the request, such as an assistant, a browser agent or the KIVEX script on the page.
- The subject is the person the actor works for, if there is one.
Reading a website doesn't need a subject. Booking a slot or requesting a refund does, and that person must confirm the action. See Actions and confirmation.
Types of callers
| Caller | Authentication | Permissions |
|---|---|---|
| Agent without a key | None | Read public data, with low limits. Not available yet. |
| Agent with an API key | Authorization: Bearer kvx_… | Read, including live data, and prepare the actions the site allows. |
| The KIVEX script on the page | Its own service key | The same as an agent with a key, plus navigating and highlighting on the page. |
| The operator's own systems | The operator's API key | Manage inquiries and conversations, and keep the site's data up to date. |
API keys
An API key is shown only once, when you create it. KIVEX stores only a hash of the key.
Each key belongs to one business. You can also limit it to some of the business's sites. With a key for one business, sites of every other business return NOT_FOUND, the same as sites that don't exist.
Rate limits
| Limit | Applies to | Default |
|---|---|---|
| Per minute | Each key on each site | 300 requests |
| Per day | All agents together on one site, for web.search | 2 000 searches |
When you exceed a limit, you get RATE_LIMITED with retryAfterMs. Wait at least that long before you retry. Retries sent sooner also count against your limit.