Kody Account API

Account profile, usage, waiting items, export, and feedback.

GitHub OpenAPI

Operations 38

GET /v1/me Get harmless identity fields for the signed-in MCP user: id, username, email… #
GET /v1/account/experiments List the self-serve Kody experiments (execution contexts, package skills over… #
PUT /v1/account/experiments/{experiment} Turn one self-serve Kody experiment on or off for the signed-in person only… #
GET /v1/account/usage Read entitlement usage for the org this connection is bound to (personal or… #
GET /v1/account/usage/trend Read the recent daily usage trend for the org this connection is bound to… #
GET /v1/account/usage/by-package Read the current UTC month past-include credit attribution for the org this… #
GET /v1/account/waiting List things currently waiting on the signed-in human: email verification, OAuth… #
GET /v1/account/export Build a signed-in user data export manifest with schema version, section… #
GET /v1/account/export/{section} Read a paged section of the signed-in user account export #
GET /v1/account/feedback List platform feedback submissions owned by the signed-in user, newest first #
POST /v1/account/feedback Submit platform feedback only from an interactive MCP agent flow after showing… #
GET /v1/account/feedback/{feedback_id} Read one platform feedback submission owned by the signed-in user by feedback_id #
POST /v1/account/guest-claim Guest accounts only: start claiming this guest account for the person so they… #
POST /v1/account/guest-claim/finish Guest accounts only: finish a claim started with guestClaimStart by passing the… #
GET /v1/access/grants List live grants in the organization this request is bound to #
POST /v1/access/grants Grant a user, a team, or everyone in this organization (subject_type org) Use… #
POST /v1/access/grants/{grant_id}/revoke Revoke one live grant in the organization this request is bound to #
POST /v1/access/invites Invite someone to the organization this request is bound to, by email or… #
POST /v1/access/invites/accept Accept an invitation addressed to your account email or username #
POST /v1/access/invites/{invite_id}/revoke Revoke a pending invite in the organization this request is bound to #
POST /v1/access/invite-links Create a shareable invite link for the organization this request is bound to #
POST /v1/access/invite-links/{invite_link_id}/revoke Revoke an active membership invite link in the organization this request is… #
POST /v1/access/invite-links/accept Accept a shareable invite link with the token from inviteLinkCreate (or from… #
POST /v1/orgs Create an organization you own #
PATCH /v1/orgs Update the display name or page visibility of the organization this request is… #
GET /v1/orgs/package-app-custom-hostnames List custom hostnames registered for this organization’s package apps… #
POST /v1/orgs/package-app-custom-hostnames Register a custom hostname for this organization’s package apps (Cloudflare for… #
POST /v1/orgs/package-app-custom-hostnames/{id}/sync Refresh one custom hostname from Cloudflare for SaaS right now: pull hostname… #
DELETE /v1/orgs/package-app-custom-hostnames/{id} Remove a custom hostname from this organization’s package apps and delete it… #
GET /v1/orgs/members List live members of the organization this request is bound to, with username… #
PATCH /v1/orgs/members/{user_id} Change the role of a live member of the organization this request is bound to #
DELETE /v1/orgs/members/{user_id} Remove a member from the organization this request is bound to #
GET /v1/orgs/teams List live teams in the organization this request is bound to, with live member… #
POST /v1/orgs/teams Create a team in the organization this request is bound to #
DELETE /v1/orgs/teams/{team_id} Delete a team in the organization this request is bound to (soft delete… #
POST /v1/orgs/teams/{team_id}/members Add an organization member to a team in the organization this request is bound… #
DELETE /v1/orgs/teams/{team_id}/members/{user_id} Remove a person from a team in the organization this request is bound to #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kody-codes:kody-codes-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kody-codes-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kody Account API
  version: 1.0.0
  description: 'HTTP API for a Kody account. Versioned under `/v1`; changes within v1 are additive. See https://kody.codes/docs/api-versioning.md for deprecation windows and migration policy (we do not break users; phased migration with codemods when needed). Authenticate with `Authorization: Bearer kody_at_…`. Tokens are minted by the MCP `api` tool (`tokenCreate`) or by another token, and each carries explicit org-permission scopes. There is no write-implies-read hierarchy. Tokens require an explicit lifetime: lifetime "short" (3600s idle / 86400s max) or "long" (1209600s idle / 7776000s max), or both idle_ttl_seconds (60-1209600) and max_lifetime_seconds (up to 7776000). Each successful request slides expires_at forward, never past max_expires_at. At most 500 active tokens per account; a new mint reclaims the active token(s) with the least remaining life (sooner of idle deadline and absolute expiry), never the caller''s own token. Errors use `{ "error": { "code", "message", "details"? } }` (see components.schemas.Error). Documented 4xx/5xx responses reference that schema. Requests are rate limited per IP (600/min) and per token (300/min); HTTP 429 includes `Retry-After`. Edge-generated 429 responses also include a `RateLimit-Policy` advertisement; entitlement 429s send `Retry-After` only. `operationId` values match Kody capability names, except deprecated forwarders, which keep their old ids and forward to the capability their description names. Every id, deprecated ones included, works with the MCP `api` tool (`{ operationId, params }`, where params hold path, query, and body fields flat). Interactive docs: https://api-docs.kody.codes


    Scopes:

    - `file:read`: Granted `file:read` in this org. - `file:comment`: Granted `file:comment` in this org. - `file:write`: Granted `file:write` in this org. - `file:delete`: Granted `file:delete` in this org. - `file:manage_access`: Granted `file:manage_access` in this org. - `package:read`: Read saved packages and package-backed resources. - `package:execute`: Execute saved packages. - `package:write`: Change saved packages and package-backed resources. - `package:delete`: Delete saved packages. - `package:publish`: Publish packages to the community catalog. - `package:manage_access`: Manage package access grants. - `app:read`: Read package apps. - `app:execute`: Run package apps. - `app:write`: Granted `app:write` in this org. - `app:delete`: Granted `app:delete` in this org. - `app:manage_access`: Granted `app:manage_access` in this org. - `job:read`: Read package jobs and workflow runs. - `job:execute`: Run package jobs. - `job:write`: Granted `job:write` in this org. - `job:manage_access`: Granted `job:manage_access` in this org. - `secret:use`: Use secrets without reading plaintext. - `secret:read`: Granted `secret:read` in this org. - `secret:read_local`: Read secret values on this machine with the Kody CLI, only for secrets a person turned on local reads for. - `secret:write`: Change existing secrets (plaintext is never returned). - `secret:delete`: Granted `secret:delete` in this org. - `secret:manage_access`: Granted `secret:manage_access` in this org. - `integration:use`: Use connected integrations. - `integration:read`: Read OAuth integrations and connected MCP servers. - `integration:write`: Granted `integration:write` in this org. - `integration:delete`: Granted `integration:delete` in this org. - `integration:manage_access`: Granted `integration:manage_access` in this org. - `memory:read`: Read memories and MCP server instructions. - `memory:write`: Change existing memories. - `memory:delete`: Granted `memory:delete` in this org. - `memory:manage_access`: Granted `memory:manage_access` in this org. - `email:read`: Read inboxes and messages. - `email:send`: Send email. - `email:write`: Granted `email:write` in this org. - `email:delete`: Granted `email:delete` in this org. - `email:manage_access`: Granted `email:manage_access` in this org.'
servers:
- url: https://api.kody.codes
security:
- apiToken: []
tags:


# --- truncated at 32 KB (167 KB total) ---
# Full source: https://artifacts.apis.io/kody-codes/openapi/kody-codes-account-api-openapi.yml