Seed CLI `--local` auth from the current Kody session without a second interactive OAuth: returns a one-shot `kody_bc...
Seed CLI --local auth from the current Kody session without a second interactive OAuth: returns a one-shot kody_bc_… bootstrap code plus a CLI command that includes required lifetime flags. The CLI redeems the code over HTTPS for a scoped kody_at_… (never returned here). Prefer this over tokenCreate for interactive agents already on MCP. Do not paste API tokens into chat. Interactive desktop humans who already ran kody login can skip this. CI/headless may still mint kody_at_ directly. 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.
Org permission: none (touches no org data).
Request
- Base URL: https://api.kody.codes
- URL: https://api.kody.codes/v1/tokens/bootstrap
- Auth: HTTP bearer
Request body
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.