Nuveki API
The Nuveki API lets a program run your organization’s agents and teams: a reporting job, a support tool’s triage step, an MCP host such as Claude Desktop or Cursor. It runs the same agents your team uses in the app, and every run is billed to your organization.
API keys
Section titled “API keys”An organization admin creates keys in Settings → API keys in the Nuveki app. The key is shown once, when it is made; store it in your program’s secret store. Send it on every request:
Authorization: Bearer nvk_…A key:
- runs only the agents and teams it was granted, or, if an admin set it to reach everything, any enabled agent or team that is public or shared with your organization;
- runs as its own identity: it can’t reach anyone’s account, mailbox or library;
- works in one project: every conversation its runs open is filed there, where the project’s members read it, and an admin can hold it to the agents and teams deployed to that project;
- can have its own daily and monthly spend caps and a run rate, beneath your organization’s budget;
- stops at once when an admin revokes it, runs in progress included.
Two ways in
Section titled “Two ways in”Both reach the same runs, take the same input and answer in the same shape.
| REST | MCP | |
|---|---|---|
| List what the key may run | GET /api/v0/agents |
list_agents |
| Run an agent or a team | POST /api/v0/runs |
run_agent |
| Read a run | GET /api/v0/runs/{id} |
get_run |
| List the key’s runs | GET /api/v0/runs |
list_runs |
| Cancel a run | POST /api/v0/runs/{id}/cancel |
cancel_run |
| Run on a schedule | POST /api/v0/schedules |
create_schedule |
| The key’s limits and spend | GET /api/v0/key |
get_key |
| Endpoint | https://api.nuveki.ai |
https://api.nuveki.ai/api/v0/mcp |
A run names an agent or a team by username, or neither, in which case Nuveki
chooses among what the key may run. Pass back the conversationId a run
returned to continue that conversation. A run answers when it ends (often tens
of seconds, at most 10 minutes), or, with wait: false, as soon as it has
started, and you read it later. Every run is kept with its outcome and cost.
Runs shows how to wait, run in the background, retry safely,
cancel, and pace your program.
When a run is refused
Section titled “When a run is refused”Every refusal has the same shape, and a refusal a program can act on carries a
code (for example KEY_DAILY_LIMIT_EXCEEDED) and, where waiting helps,
retryAfter in seconds. A refused run’s answer also names it in runId, and
every answer carries X-Request-Id. A key whose project was deleted, or that
was taken out of it, runs nothing (403 KEY_PROJECT_MISSING) until an admin
gives it a project; while its project is archived, nothing runs in it
(403 PROJECT_ARCHIVED). See each operation in the
API reference for the statuses it can answer.