Kroos Developers
Kroos Developers › APIs

Organization API

Configure and operate your organization from your backend — domains, owners, knowledge, policy, channels, employees, billing, keys, webhooks and more.

Base: https://kroos.ai. Authenticate every request with your secret key:

bash
curl -s https://kroos.ai/api/tenant -H "authorization: Bearer kroos_sk_..."

GET /api/tenant returns your organization, power mode (and what's missing), domains, owners, origins, signing requirements and recent usage. GET /api/tenant/readiness returns the setup checklist, goals with their blockers, and console links.

Organization and owners#

RequestPurpose
POST /api/tenantsCreate an organization (signed-in account, authorized: true to confirm authority; returns keys once)
GET /api/tenantOrganization overview and power mode
GET /api/tenant/readinessSetup checklist and goals
GET /api/tenant/owners · POST /api/tenant/owners · DELETE /api/tenant/owners/:idOwners (work email on a verified domain; at least two are kept)
POST /api/tenant/owners/:id/resendEmail a new verification code and link
POST /api/tenant/owners/:id/verifyConfirm with the 6-digit code (signed-in account becomes the owner)
GET /api/tenant/owners/meWhether the signed-in account is a verified owner, and which requests need one
GET /api/tenant/auditTamper-evident audit log
POST /api/tenant/offboardLeave Kroos: revoke keys, purge indexes, end agreements

Verified owners#

Owners act on behalf of the organization. Each owner's email must be on one of the organization's DNS-verified domains, and the owner confirms it with a 6-digit code (valid 15 minutes) or a one-time link (valid 24 hours) sent in the same email. Confirming binds the owner to the signed-in Kroos account that confirmed it. If the domain stops being verified, the owner's authority pauses until it is verified again.

These requests need a signed-in verified owner (the session cookie from kroos.ai) as well as the secret key: signing policies, adding owners after the first is verified, removing owners, removing domains, issuing or rotating keys and the end-user secret, billing settings and credit purchases, federation agreements, government attestations, access attestations, marketplace applications and offboarding. Without one they return owner.sign_in_required (401) or owner.verification_required (403).

Members, roles and seats#

People join an organization by invitation, with a role. A role is a set of permissions: for each area (organization, members, billing, developers, domains, knowledge, channels, employees, analytics, audit, network) whether the person can view it, update it, or delete things in it. Members sign in to the Console with their own Kroos account; every request they make is checked against their role. Requests with the secret key have full access.

Owners (the creator and verified owners) don't use a seat. Every other member, and every pending invitation, uses one. Seats renew each month as part of the organization's bill: on Stripe when payments are connected, on the invoice for invoiced organizations, otherwise from prepaid credits. Changing seats is a two-step call: get a quote, then confirm with the quoted amount.

RequestPurpose
GET /api/tenant/meThe signed-in member's role and permissions
GET /api/tenant/membersMembers, pending invitations and seats
PUT /api/tenant/members/:id · DELETE /api/tenant/members/:idChange a member's role (role) · remove a member
POST /api/tenant/invites · DELETE /api/tenant/invites/:idInvite by email with a role (needs a free seat) · cancel an invitation
GET /api/tenant/roles · POST /api/tenant/roles · PUT /api/tenant/roles/:id · DELETE /api/tenant/roles/:idBuilt-in and custom roles (name, description, permissions such as ["knowledge.update", "analytics.view"]). Nobody can grant permissions they don't hold
GET /api/tenant/seatsSeats: total, used, available, price, cycle and how they're paid
POST /api/tenant/seats/quoteWhat adding (delta: 2) or removing (delta: -1) seats costs now (prorated) and each cycle
POST /api/tenant/seatsChange seats: delta and confirmUsd (the quoted proratedUsd). Returns a Stripe Checkout url the first time when payments are on Stripe
GET /api/tenant/billThe current cycle's bill: seats, seat changes, usage and credit balance

Built-in roles: Owner, Admin, Billing manager, Developer, Content editor, Support agent, Reports reader and Viewer. A request the role doesn't allow returns auth.forbidden (403).

For the signed-in person: GET /api/account/org-invites lists invitations waiting for them, POST /api/org-invites/accept (token from the email, or inviteId) joins, POST /api/org-invites/:id/decline declines, POST /api/org-invites/preview shows what an emailed link is for, and POST /api/account/organizations/:id/leave leaves an organization.

Domains and origins#

RequestPurpose
POST /api/tenant/domainsAdd a domain (domain, method: dns_txt, dns_cname, html)
POST /api/tenant/domains/checkCheck verification now
PUT /api/tenant/domains/subdomainsOpt subdomains in
DELETE /api/tenant/domains/:domainRemove a domain (purges what was learned from it)
PUT /api/tenant/originsExtra allowed origins for your publishable key (up to 20): websites (https://shop.example.com) and mobile apps (app:ios:<bundle id>, app:android:<package>)
GET /api/tenant/context-providerThe connected context provider, if any
PUT /api/tenant/context-providerConnect a context provider ({ "url": "https://…" }); returns its signing secret once. Verified owners only
DELETE /api/tenant/context-providerDisconnect it. Verified owners only

Knowledge and learning#

RequestPurpose
POST /api/tenant/knowledge/draftDraft from your website (url)
GET / PUT /api/tenant/knowledgeRead or save the knowledge model
POST /api/tenant/knowledge/deep-crawlStart a learning session that reads your whole site (learning)
GET/POST /api/tenant/learning/sessionsPlan allowance, session log; start a session
GET /api/tenant/learning/sessions/:id, POST …/confirm, POST …/discardReview a session
GET /api/tenant/sitemap-healthSitemap health report
GET /api/tenant/graphKnowledge graph (offerings, prices, promos)
GET /api/tenant/learning · POST …/answer · POST …/items/:idContent gaps and review queue

Details: Knowledge & discovery.

Policy#

RequestPurpose
GET / PUT /api/tenant/policyAccess policy
POST /api/tenant/policy/signSign it
GET / PUT /api/tenant/usage-policy · GET …/simulateUsage policy (details)
POST /api/tenant/enduser-secretCreate or rotate the end-user token secret
GET / POST /api/tenant/abuseFlagged visitors and enforcement

Channels and handoff#

RequestPurpose
GET /api/tenant/voice · PUT …/voice/policy · POST …/voice/provisionKroos Voice
GET /api/tenant/channels · PUT /api/tenant/channels/:channelSMS (sms) and WhatsApp (whatsapp)
PUT / DELETE /api/tenant/helpdeskHelpdesk connection
GET /api/tenant/handoffs · POST …/:id/:stateHandoffs

Insights#

RequestPurpose
GET /api/tenant/intelDemand insights
PUT /api/tenant/intel/competitorsCompetitors to track
GET /api/tenant/intel/forecastForecasts
GET /api/tenant/intel/visibility · POST …/sampleAI visibility (details)

Employees and internal systems#

RequestPurpose
GET / POST /api/tenant/employees · POST …/:id/login-linkEmployees and one-time sign-in links
GET / POST /api/tenant/internal/docs · DELETE /api/tenant/internal/docs/:id · POST /api/tenant/internal/docs/:id/trustInternal documents and review status
GET /api/tenant/internal/connectors · POST …/:kindDocument connectors
POST /api/tenant/internal/simulate"What can this person see?"
GET /api/tenant/access/methods · POST …/attest · POST …/attestations/:id/revokeRead-only access methods (details)
GET / POST /api/tenant/rouaROUA audit reports
POST /api/tenant/explorer/schema · …/query · …/check-sql · GET …/runsExplorer
GET / POST /api/tenant/node/callhome · POST …/:idKroos Node call-home approvals

Details: Internal assistant.

Billing, keys and webhooks#

RequestPurpose
GET /api/tenant/billing · GET /api/tenant/billing/usage · PUT /api/tenant/billing/settings · POST /api/tenant/billing/creditsTier, credits, auto-reload, limits, usage
GET /api/tenant/creditsCredit balance
POST /api/tenant/workspaces · PUT …/:idWorkspaces
POST /api/tenant/keys/admin · …/keys/:id/rotate · …/keys/:id/revokeKeys
POST /api/tenant/webhooks · DELETE …/:idWebhook endpoints (details)

Network#

RequestPurpose
GET /api/tenant/mesh · POST …/agreements · …/:id/sign · …/:id/terminate · POST …/hubs · GET …/hubs/:id/dashboardFederation Mesh
GET /api/tenant/gov · POST /api/tenant/gov/attestation · POST /api/tenant/gov/attestation/:id/confirmGovernment tier
GET /api/tenant/marketplace · POST /api/tenant/marketplace/apply · POST /api/tenant/marketplace/engagements/:idBecome a vetted provider

Last updated 2026-12-03