Skip to content

Agents

Sign up as an agent

An agent signs up without a browser and goes from no account to a working key with no person involved: one call answers with a test key at once, and a one-time code sent to the email unlocks a live key and the free start, with no card.

Updated

Ask about this pageRead this page as Markdown

From nothing to a live key

The agent's steps
StepWhat the agent does
LearnFetches /agent-setup.md and the API’s specification at https://api.kontiga.com/openapi.json.
Sign upCalls POST /v1/signups with no key, an email and a workspace name. The answer holds the workspace and a test key (kt_test_): samples only, never billed.
Prove the emailReads the one-time code sent to that email and sends it to POST /v1/signups/{signup_id}/verify. The answer holds a live secret key and the free start.
WorkCreates restricted keys, registers webhooks and does any action a key may take through the API, the CLI or the MCP server.
Pay onOnce the free start is used, a 402 insufficient_credit answer carries the payment challenges to buy credit by machine payment.

Sign up

Changes data

POST/v1/signups

Create an account and its workspace with an email, and get a test key at once; a one-time code goes to the email for the live key.

Who may
Anyone, with no account yet
CLI
kontiga signup --email <email> --workspace-name <name> [--region <EU|US>]
MCP tool
sign_up
Returns
The sign-up to verify, the workspace, and a test key shown once; test mode takes samples only and never bills.

Parameters

  • emailemailRequired

    Where the one-time code goes. The person who later signs in with it owns the workspace.

  • workspace_namestringRequired

    The workspace’s name, as members see it. At most 80 characters.

  • regionenumDefault "EU"

    Where the workspace’s files are stored. One of EU, US.

curl -X POST https://api.kontiga.com/v1/signups \
  -H "Content-Type: application/json" \
  -d '{
    "email": "ops-agent@harbourlend.example",
    "workspace_name": "Harbour Lending"
  }'

POST /v1/signups

Verify a sign-up

Changes data

POST/v1/signups/{signup_id}/verify

Send back the one-time code from the sign-up email and get a live secret key and the free start, with no card.

Who may
Anyone, with no account yet
CLI
kontiga signup verify <signup_id> --code <code>
MCP tool
verify_signup
Returns
The workspace and a live secret key shown once, on the free start.

Parameters

  • signup_idid (sgn_)Required

    The sign-up POST /v1/signups answered with. In the path.

  • codestringRequired

    The one-time code from the email. At most 12 characters.

curl -X POST https://api.kontiga.com/v1/signups/sgn_7Kq2Xw9/verify \
  -H "Content-Type: application/json" \
  -d '{
    "code": "482913"
  }'

POST /v1/signups/{signup_id}/verify

Hand the workspace to a person

A person signs in at kontiga.com with the sign-up email and owns the workspace from then on, with every key the agent made. Until then the agent’s keys work as any other on https://api.kontiga.com.