codai is an AI-for-code service built in Romania by Interactive Media Solutions S.R.L. It offers a single OpenAI-compatible endpoint (https://ai.codai.ro/v1, model name 'codai') that routes requests to approved models with automatic failover, currently Anthropic's Claude models, with its own codai-1 model in opt-in beta. Billing is outcome-based: a flat fee per task verified as successful by tests, the harness or user confirmation, with failed attempts costing at most raw tokens. It works with GitHub Copilot, Cursor, Claude Code, Codex CLI and OpenAI SDKs, offers server-side sandboxed tools and persistent memory, and hosts account data and gateway in the EU.
codai publishes 3 API contracts, indexed on the APIs.io network as 35 APIs, including Account API, Agents API, Attestations API, and 32 more. Tagged areas include Company, Artificial Intelligence, Code Generation, Developer Tools, and LLM Gateway.
The codai catalog on APIs.io includes 1 event-driven AsyncAPI specification, 1 JSON-LD context, and 1 Spectral governance ruleset.
codai’s developer surface includes CLI, changelog, authentication, documentation, API reference, getting-started guide, pricing, and 45 more developer resources.
Pull codai's APIs, OpenAPI, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Points earned after grading and authorship credit; n/a dimensions are left out of the score.
Regulatory Posture applies to this provider. Its tags matched the
Horizontal (data, software, accessibility, platform) regime, so
Regulatory Posture carries 15 points of the composite.
If this regime is wrong for your business, say so on your
provider repo — the
applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it
carries 10 points of the composite. It is scored from the published contracts
themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already
holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in
front of it, and the first time that check is skipped a duplicate record is created.
Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet,
not penalised by it.
The six quality facets above are damped to 75 points between them,
because the conditional facet above carries the other
25. That is why each facet's contribution is shown against a damped
maximum: raising a quality facet moves the composite by 75% of its nominal
weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site.
It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/codai-ro/"><img src="https://apis.io/badge/codai-ro/card.svg" alt="codai on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
Agentic Commerce Well-Known Document+5 pts — a parsing /.well-known/ucp (the IANA-registered path, probed first) or ucp.json / acp.json declaring a version and at least one service, OR (0.27) a live x402 payment challenge from _data/x402-adoption.json — `self` when its endpoints are on the provider's own domain, `platform` when they are on a vendor's Ask about this →
Pagination+5 pts — share of collection GETs (an array, or one wrapped in data/items/results ...) that declare a page/limit/offset/cursor parameter, a Link header or a next/cursor field; na with no collection GETs Ask about this →
Onboarding Descriptor Published+3 pts — the provider page carries onboarding_descriptor.published (an APIOnboarding pointer, provider- or API-level, or a saved /.well-known/api-onboarding body with an `aod` key, build.py _onboarding_descriptor_meta) Ask about this →
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
The Kin Score Market layer reads a provider inside its market:
its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted:
not part of the Kin Score or agent readiness.
Depth is one figure for the provider, the mean of its strongest integrations, so it
repeats on every row. It differs by market only where an assurance register's own evidence applies.
Registered MCP server and declares compatibility are report only — not weighted.
Undeclared means we found nothing we can read, so there is no number: we never infer integrations.
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
Account card, consents, growth wallet and referrals, spend receipts, turn feedback and the on-device model catalog. Every route needs a real `codai_` key (`Authorization: Bearer...
Task-oriented agent API: submit a goal and the gateway runs the whole agent loop server-side (routing, gateway tools, sub-agents, memory). `POST /v1/agents/run` blocks until the...
OpenAI-compatible inference surface. `POST /v1/chat/completions` is the hot path every SDK, IDE plugin and CLI speaks; `POST /v1/responses` is a thin translation layer for clien...
Non-chat inference surfaces: text embeddings (`/v1/embeddings`), speech-to-text and text-to-speech (`/v1/audio/*`) and the ephemeral scoped tokens (`/v1/tokens`) that browsers u...
Public feed: share what you built, what you are looking for, or an idea. Authors appear only by their public username. Every post can be liked, reported or its author blocked; m...
Anonymous free chat without an account (ADR 2026-10-28). Limits: 3 sessions/day x 10 messages per device, model `codai`, web search/fetch, documents and an ephemeral sandbox; no...
Host relay for remote sessions: a phone (or any client) runs terminal and file operations on one of your desktop devices that has codai desktop open — no SSH, no inbound port. B...
Lists and Share to codai: Inbox, Wishlist, Notes (presets, created on first use) and your own lists, filled from the OS share sheet, the desktop, the hub, MCP or the API. Sharin...
Your persistent memory: the facts, preferences and decisions codai remembers across sessions and tools. The same store the MCP memory tools use, scoped to your account (and to t...
Discovery of what the calling key can address. `/v1/models` is OpenAI-compatible and adds a `codai` object per entry with routing and capability flags that editors (VS Code, Cli...
Share a session with a user, an org or an expiring link, and manage the orgs (teams) you belong to. Every mutation writes an audit row. Link tokens are stored only as a SHA-256 ...
Cloud Environments control plane. A **project** groups environments (repository, default branch, devcontainer path, isolation mode); an **environment** is one machine reachable ...
Pending prompts: ready-to-paste prompts an agent (or you) leaves for a future chat — the handoff at the end of a goal, a follow-up that must wait until a date, or an idea to pic...
codai Scheduler: scheduled agent tasks, terminal commands, webhooks and chains that run on any of your hosts (PCs, phones, watch, cloud VMs) or in the cloud. The cloud owns ever...
Shared-sessions protocol v2: one conversation shared live between several devices (desktop, phone, CLI, agents). A session has an append-only event log with a server-assigned de...
Outcome-billing task lifecycle. A task opens at the first task-start request of a session (or of an `x-codai-task-id`) and closes with an exec verdict, your explicit confirmatio...
Native web tools for agents: verified web search, a server-side page fetch with an SSRF guard and asynchronous deep research (`/v1/research`). The contract (names, JSON schemas,...
Voice recordings turned into speaker-labelled transcripts with AI insights (summary, key points, action items, decisions, open questions, suggested agent prompts). Romanian and ...
Event triggers: an inbound webhook source you own (GitHub, Sentry, GCP Cloud Monitoring, a generic signed JSON sender, a form, or a manual fire) that turns each delivery into a ...
Your own usage and API keys, the same data the hub shows. `GET /v1/usage` splits requests, errors, tasks, tokens and cost by day, key, device, app, platform, model, client or ta...
codai Vault: a zero-knowledge credentials manager for you and your agents. Clients encrypt everything (XChaCha20-Poly1305, keys wrapped with X-Wing post-quantum hybrid) before u...
Visual QA for codai surfaces (operator-only, super_admin keys): capture runs upload screenshots and issues, findings (`UI-`) are claimed, fixed and verified by a clean re-captur...
Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.
aid: codai-ro
name: codai
description: 'codai is an AI-for-code service built in Romania by Interactive Media Solutions S.R.L. It offers a single OpenAI-compatible
endpoint (https://ai.codai.ro/v1, model name ''codai'') that routes requests to approved models with automatic failover,
currently Anthropic''s Claude models, with its own codai-1 model in opt-in beta. Billing is outcome-based: a flat fee per
task verified as successful by tests, the harness or user confirmation, with failed attempts costing at most raw tokens.
It works with GitHub Copilot, Cursor, Claude Code, Codex CLI and OpenAI SDKs, offers server-side sandboxed tools and persistent
memory, and hosts account data and gateway in the EU.'
url: https://artifacts.apis.io/codai-ro/apis.yml
x-type: company
x-source: harvest:mcp-registry
x-tier: profiled
x-tier-reason: enrichment pass 2026-11-04 (modular-v1; was harvest)
accessModel:
pricing: freemium
onboarding: self-serve
trial: false
try_now: true
public: false
gated: none
gated_source:
- onboarding
label: Freemium · Self-serve signup
confidence: high
probe_state: covered
source:
- plans
- authentication
- scopes
- rate-limits
- security
generated: '2026-11-28'
method: derived
specificationVersion: '0.20'
created: '2026-11-04'
modified: '2026-11-04'
tags:
- Company
- Artificial Intelligence
- Code Generation
- Developer Tools
- LLM Gateway
- OpenAI-Compatible
- Model Routing
- Romania
tags_raw:
- Company
- Artificial Intelligence
- Code Generation
- Developer Tools
- LLM Gateway
- OpenAI Compatible
- Model Routing
- Romania
maintainers:
- FN: Kin Lane
email: kin@apievangelist.com
- FN: APIs.json
email: info@apis.io
image: https://codai.ro/icon-512.png
common:
- type: AgenticAccess
url: agentic-access/codai-ro-agentic-access.yml
- type: RateLimits
url: rate-limits/codai-ro-rate-limits.yml
- type: Plans
url: plans/codai-ro-plans-pricing.yml
- type: Spectral
url: rules/codai-ro-rules.yml
- type: JSONLD
url: json-ld/codai-ro-context.jsonld
- type: Vocabulary
url: vocabulary/codai-ro-vocabulary.yml
- type: AgentSkill
url: skills/_index.yml
- type: Webhooks
url: asyncapi/codai-ro-webhooks.yml
- type: DataModel
url: data-model/codai-ro-data-model.yml
- type: CLI
url: cli/codai-ro-cli.yml
- type: ChangeLog
url: changelog/codai-ro-changelog.yml
- type: Idempotency
url: conventions/codai-ro-conventions.yml
- type: Conventions
url: conventions/codai-ro-conventions.yml
- type: Deprecation
url: https://docs.codai.ro/docs/api
- type: Lifecycle
url: lifecycle/codai-ro-lifecycle.yml
- type: ErrorCatalog
url: errors/codai-ro-problem-types.yml
- type: Conformance
url: conformance/codai-ro-conformance.yml
- type: Overlay
url: overlays/codai-ro-auth-overlay.yaml
- type: LLMsTxt
url: llms/codai-ro-llms.txt
- type: ToolCrosswalk
url: mcp/codai-ro-tool-crosswalk.yml
- type: MCPServer
url: mcp/codai-ro-mcp.yml
- type: SecurityTxt
url: well-known/codai-ro-security.txt
- type: SecurityTxt
url: well-known/codai-ro-docs-security.txt
- type: WellKnown
url: well-known/codai-ro-well-known.yml
- type: Hosts
url: hosts/codai-ro-hosts.yml
- type: IntegrationEdges
url: integrations/codai-ro-integration-edges.yml
- type: Vendors
url: vendors/codai-ro-vendors.yml
- type: Packages
url: packages/codai-ro-packages.yml
- type: OAuthScopes
url: scopes/codai-ro-scopes.yml
- type: Authentication
url: authentication/codai-ro-authentication.yml
- type: VulnerabilityDisclosure
url: security/codai-ro-vulnerability-disclosure.yml
- type: DomainSecurity
url: security/codai-ro-domain-security.yml
- type: Website
url: https://codai.ro/
- type: Documentation
url: https://docs.codai.ro
- type: APIReference
url: https://docs.codai.ro/docs/api
- type: GettingStarted
url: https://docs.codai.ro/docs
- type: SDKs
url: https://docs.codai.ro/docs/sdks
- type: ChangeLog
url: https://codai.ro/changelog
- type: Pricing
url: https://codai.ro/pricing
- type: Support
url: https://codai.ro/support
- type: GitHubOrganization
url: https://github.com/codai-ro
- type: Login
url: https://hub.codai.ro/login
- type: StatusPage
url: https://status.codai.ro/
- type: Security
url: https://codai.ro/security
- type: TermsOfService
url: https://codai.ro/terms
- type: PrivacyPolicy
url: https://codai.ro/privacy
- type: DeprecationSchedule
url: deprecation/codai-ro-deprecation-policy.yml
- type: UsageTerms
url: terms/codai-ro-terms-of-service.yml
- type: DataProcessing
url: privacy/codai-ro-privacy-policy.yml
- type: Eligibility
url: eligibility/codai-ro-eligibility.yml
- type: AIPreferences
url: ai-preferences/codai-ro-ai-preferences.yml
- type: DataLicense
url: data-license/codai-ro-data-license.yml
apis:
- aid: codai-ro:codai-ro-account-api
name: codai Account API
description: 'Account card, consents, growth wallet and referrals, spend receipts, turn feedback and the
on-device model catalog. Every route needs a real `codai_` key (`Authorization: Bearer`);
ephemeral realtime tokens are rejected where noted.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Account
properties:
- type: OpenAPI
url: openapi/codai-ro-account-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-account-view-schema.json
- aid: codai-ro:codai-ro-agents-api
name: codai Agents API
description: 'Task-oriented agent API: submit a goal and the gateway runs the whole agent loop server-side (routing, gateway
tools, sub-agents, memory). `POST /v1/agents/run` blocks until the answer; `POST /v1/agents/runs` returns a run
id immediately and persists the run so it can be polled, streamed and cancelled. Requires a tier with sub-agents
and tools (Pro or above).'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Agents
properties:
- type: OpenAPI
url: openapi/codai-ro-agents-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-agent-run-schema.json
- type: JSONSchema
url: json-schema/codai-ro-agent-run-stats-schema.json
- type: JSONSchema
url: json-schema/codai-ro-agent-run-request-schema.json
- type: JSONSchema
url: json-schema/codai-ro-agent-run-step-schema.json
- type: JSONSchema
url: json-schema/codai-ro-agent-sync-result-schema.json
- type: JSONSchema
url: json-schema/codai-ro-agent-run-accepted-schema.json
- aid: codai-ro:codai-ro-attestations-api
name: codai Attestations API
description: Public execution proofs for verified resolves. The UUID is the capability — no authentication.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://resolve.codai.ro
tags:
- Attestation
tags_raw:
- Attestations
properties:
- type: OpenAPI
url: openapi/codai-ro-attestations-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-resolve-attestation-schema.json
- aid: codai-ro:codai-ro-authorization-api
name: codai Authorization API
description: Authorization Code + PKCE and Device Authorization (RFC 8628) grants.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://auth.codai.ro
tags:
- Authorization
properties:
- type: OpenAPI
url: openapi/codai-ro-authorization-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-device-authorization-response-schema.json
- aid: codai-ro:codai-ro-chat-completions-api
name: codai Chat & Completions API
description: 'OpenAI-compatible inference surface. `POST /v1/chat/completions` is the
hot path every SDK, IDE plugin and CLI speaks; `POST /v1/responses` is a
thin translation layer for clients that speak the OpenAI Responses wire
format and re-enters the chat-completions route in-process, so auth,
rate limits, routing, caching and usage recording are identical.
The only publicly addressable model is `codai` (the smart-router alias);
unknown model names are coerced to `codai` instead of being rejected.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Chat & Completions
properties:
- type: OpenAPI
url: openapi/codai-ro-chat-completions-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-chat-completion-request-schema.json
- aid: codai-ro:codai-ro-connect-api
name: codai Connect API
description: codai extension — exchange an access token for an inference API key.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://auth.codai.ro
tags:
- Connect
properties:
- type: OpenAPI
url: openapi/codai-ro-connect-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-connect-key-response-schema.json
- aid: codai-ro:codai-ro-devices-api
name: codai Devices API
description: Register, list and manage the devices bound to your account.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Devices
properties:
- type: OpenAPI
url: openapi/codai-ro-devices-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-device-list-item-schema.json
- type: JSONSchema
url: json-schema/codai-ro-device-plugin-item-schema.json
- type: JSONSchema
url: json-schema/codai-ro-session-dispatch-inbox-schema.json
- type: JSONSchema
url: json-schema/codai-ro-device-patch-schema.json
- type: JSONSchema
url: json-schema/codai-ro-device-patched-schema.json
- aid: codai-ro:codai-ro-discovery-api
name: codai Discovery API
description: Metadata and signing keys.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://auth.codai.ro
tags:
- Discovery
properties:
- type: OpenAPI
url: openapi/codai-ro-discovery-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-open-id-configuration-schema.json
- aid: codai-ro:codai-ro-embeddings-audio-api
name: codai Embeddings & Audio API
description: 'Non-chat inference surfaces: text embeddings (`/v1/embeddings`), speech-to-text and text-to-speech
(`/v1/audio/*`) and the ephemeral scoped tokens (`/v1/tokens`) that browsers use to reach the media surfaces
without holding a long-lived key. All of them are task-free (they never start a billed task) and accept either
a real `codai_` key or an ephemeral token minted for the matching scope.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Embeddings & Audio
properties:
- type: OpenAPI
url: openapi/codai-ro-embeddings-audio-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-music-room-schema.json
- type: JSONSchema
url: json-schema/codai-ro-studio-export-schema.json
- aid: codai-ro:codai-ro-feed-api
name: codai Feed API
description: 'Public feed: share what you built, what you are looking for, or an idea. Authors appear only by their public
username. Every post can be liked, reported or its author blocked; moderators review reports. Posting requires a username
and accepting the community guidelines (https://hub.codai.ro/feed/guidelines).'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Feed
properties:
- type: OpenAPI
url: openapi/codai-ro-feed-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-feed-post-schema.json
- type: JSONSchema
url: json-schema/codai-ro-feed-public-post-schema.json
- type: JSONSchema
url: json-schema/codai-ro-feed-post-create-input-schema.json
- type: JSONSchema
url: json-schema/codai-ro-feed-comment-create-input-schema.json
- type: JSONSchema
url: json-schema/codai-ro-feed-public-profile-page-schema.json
- type: JSONSchema
url: json-schema/codai-ro-feed-public-sitemap-schema.json
- aid: codai-ro:codai-ro-guest-chat-api
name: codai Guest chat API
description: 'Anonymous free chat without an account (ADR 2026-10-28). Limits: 3 sessions/day x 10 messages per device,
model `codai`, web search/fetch, documents and an ephemeral sandbox; no files, memory or history on the server. Off while
`ANON_CHAT_ENABLED` is unset (503 `anon_disabled`).'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Guest chat
properties:
- type: OpenAPI
url: openapi/codai-ro-guest-chat-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- aid: codai-ro:codai-ro-health-api
name: codai Health API
description: Cloud Run liveness / readiness probes.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://auth.codai.ro
tags:
- Health
properties:
- type: OpenAPI
url: openapi/codai-ro-health-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-core-status-schema.json
- type: JSONSchema
url: json-schema/codai-ro-ready-response-schema.json
- aid: codai-ro:codai-ro-hosts-api
name: codai Hosts API
description: 'Host relay for remote sessions: a phone (or any client) runs terminal and file operations on one of your desktop
devices that has codai desktop open — no SSH, no inbound port. Best-effort and NOT part of the public
shared-sessions protocol spec: nothing is persisted, an offline host fails fast and an unanswered request fails at
the client''s timeout.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Hosts
properties:
- type: OpenAPI
url: openapi/codai-ro-hosts-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-host-presence-schema.json
- type: JSONSchema
url: json-schema/codai-ro-host-exec-body-schema.json
- type: JSONSchema
url: json-schema/codai-ro-host-exec-result-body-schema.json
- type: JSONSchema
url: json-schema/codai-ro-host-exec-response-schema.json
- aid: codai-ro:codai-ro-jobs-api
name: codai Jobs API
description: Submit, poll and accept resolve jobs. Every job is scoped to the user that owns the API key.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://resolve.codai.ro
tags:
- Job
tags_raw:
- Jobs
properties:
- type: OpenAPI
url: openapi/codai-ro-jobs-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-resolve-job-schema.json
- type: JSONSchema
url: json-schema/codai-ro-resolve-intake-schema.json
- type: JSONSchema
url: json-schema/codai-ro-resolve-quote-schema.json
- type: JSONSchema
url: json-schema/codai-ro-resolve-declined-schema.json
- type: JSONSchema
url: json-schema/codai-ro-resolve-balance-schema.json
- aid: codai-ro:codai-ro-lists-api
name: codai Lists API
description: 'Lists and Share to codai: Inbox, Wishlist, Notes (presets, created on first use) and your own lists, filled
from the OS share sheet, the desktop, the hub, MCP or the API. Sharing is instant; link unfurling (title,
image, price, availability) and the Inbox list suggestion run in the background and are announced on
`GET /v1/lists/stream`. Images, video and PDFs (at most 10 MB) are uploaded first with tus (`/v1/uploads`,
metadata `purpose=list`) and attached by `media_key`. Every route needs an API key and only sees your lists.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- List
tags_raw:
- Lists
properties:
- type: OpenAPI
url: openapi/codai-ro-lists-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-list-schema.json
- type: JSONSchema
url: json-schema/codai-ro-list-item-schema.json
- type: JSONSchema
url: json-schema/codai-ro-share-request-schema.json
- type: JSONSchema
url: json-schema/codai-ro-list-item-input-schema.json
- type: JSONSchema
url: json-schema/codai-ro-list-create-input-schema.json
- type: JSONSchema
url: json-schema/codai-ro-list-item-patch-input-schema.json
- aid: codai-ro:codai-ro-memory-api
name: codai Memory API
description: 'Your persistent memory: the facts, preferences and decisions codai remembers across sessions and tools. The
same store
the MCP memory tools use, scoped to your account (and to the app when the key was minted for one). Needs a plan with
persistent memory (`403 memory_not_enabled` otherwise); `503 memory_unavailable` when memory is not configured on the
gateway. Search and create embed the text once each and appear in your usage as `memory:search` / `memory:create`.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Memory
properties:
- type: OpenAPI
url: openapi/codai-ro-memory-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-memory-list-schema.json
- type: JSONSchema
url: json-schema/codai-ro-memory-search-result-schema.json
- aid: codai-ro:codai-ro-models-api
name: codai Models API
description: 'Discovery of what the calling key can address. `/v1/models` is OpenAI-compatible and adds a `codai` object
per
entry with routing and capability flags that editors (VS Code, Cline, Cursor) use to drive their UI.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Models
properties:
- type: OpenAPI
url: openapi/codai-ro-models-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-core-model-list-schema.json
- aid: codai-ro:codai-ro-orgs-sharing-api
name: codai Orgs & Sharing API
description: 'Share a session with a user, an org or an expiring link, and manage the orgs (teams) you belong to. Every
mutation
writes an audit row. Link tokens are stored only as a SHA-256 hash; the plaintext is returned exactly once.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Orgs & Sharing
properties:
- type: OpenAPI
url: openapi/codai-ro-orgs-sharing-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-org-shared-session-schema.json
- type: JSONSchema
url: json-schema/codai-ro-org-session-share-schema.json
- type: JSONSchema
url: json-schema/codai-ro-org-create-share-body-schema.json
- type: JSONSchema
url: json-schema/codai-ro-org-with-role-schema.json
- type: JSONSchema
url: json-schema/codai-ro-org-member-schema.json
- type: JSONSchema
url: json-schema/codai-ro-org-add-member-body-schema.json
- aid: codai-ro:codai-ro-projects-environments-api
name: codai Projects & Environments API
description: 'Cloud Environments control plane. A **project** groups environments (repository, default branch, devcontainer
path, isolation mode); an **environment** is one machine reachable through the relay via the `codaid` daemon.
Members, forwarded ports, sealed secrets and an append-only event log hang off the environment.
Visibility: you see a project if you own it or belong to its org; you see an environment if you own it, are a
member of it, or belong to its org. Unknown or foreign ids always answer 404 (never 403) so ids cannot be
enumerated; a role violation on a resource you CAN see answers 403. Environment roles: `owner` ≥ `maintainer`
≥ `developer` ≥ `viewer` — the environment owner and org owners/admins act as `owner`.
Isolation `vm_per_dev` pins one live environment per developer (`for_user_id`): creating a second one answers
409 `already_has_env` carrying the `environment_id` to reuse, and such environments have exactly one member
(409 `vm_per_dev_single_member`). Every mutation appends an `environment_events` row. Managed providers
(`openstack`, `hetzner`, `local`) are feature-gated (403 until enabled for the key); `byo` — bring your own
machine — is open to every key. Project and environment rows are returned camelCase (as stored); request
bodies and member/secret lists are snake_case, mirrored here exactly as the gateway sends them.
Live daemon state (online, activity, listening ports, git state, attached clients, locks) is served by the
**relay**, not the gateway: `GET https://relay.codai.ro/v1/environments/{id}/status`, same bearer key, same
404 rule. It is modelled as the `RelayEnvironmentStatus` path item under `components.pathItems` because it
lives on a different host.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Projects & Environments
properties:
- type: OpenAPI
url: openapi/codai-ro-projects-environments-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-environment-schema.json
- type: JSONSchema
url: json-schema/codai-ro-environment-task-schema.json
- type: JSONSchema
url: json-schema/codai-ro-project-schema.json
- type: JSONSchema
url: json-schema/codai-ro-environment-create-body-schema.json
- type: JSONSchema
url: json-schema/codai-ro-environment-member-schema.json
- type: JSONSchema
url: json-schema/codai-ro-environment-detail-schema.json
- aid: codai-ro:codai-ro-prompts-api
name: codai Prompts API
description: 'Pending prompts: ready-to-paste prompts an agent (or you) leaves for a future chat — the handoff at the end
of a
goal, a follow-up that must wait until a date, or an idea to pick up later. Capture paths (the Copilot Stop hook,
the desktop handoff tool, the phone, the hub) all POST here; the same text is stored once (sha256 of the
whitespace-normalised prompt) and a `goal_key` supersedes older open prompts for the same goal.
A prompt with `not_before` is swept once that moment passes: you get a `prompt.due` notification (url
`codai://prompts/<id>`, plus push) and, with `auto_run`, it is launched on `target_device_id` (or your
freshest desktop/Android device). `launch` opens a new shared session and sends the prompt to a device as a
`send` control; the prompt moves to `launched`. Every route needs a `codai_` key and only sees your prompts.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Prompts
properties:
- type: OpenAPI
url: openapi/codai-ro-prompts-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-prompt-schema.json
- aid: codai-ro:codai-ro-sandboxes-api
name: codai Sandboxes API
description: 'Agent sandboxes: isolated gVisor containers (backend `v2` by default: long-lived GKE pods with pause/resume,
fork, a persistent Python kernel and preview URLs; `v1` on Cloud Run on request) with a persistent `/workspace` where
agents run Python, bash and LibreOffice, then hand back files from `/workspace/out` as scanned, signed artifacts. No network
by default (egress only through an allowlisting proxy), no codai secrets inside, every exec audited with a reproducibility
receipt. Needs tool level `l3_sandbox`. Billing: v2 EUR 0.10 per running wall-clock hour after 5 free hours per user per
month, paused snapshots EUR 0.05/GB-month; v1 EUR 0.10/exec-hour after 10 free hours.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Sandbox
tags_raw:
- Sandboxes
properties:
- type: OpenAPI
url: openapi/codai-ro-sandboxes-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-sandbox-exec-event-schema.json
- type: JSONSchema
url: json-schema/codai-ro-sandbox-run-request-schema.json
- type: JSONSchema
url: json-schema/codai-ro-sandbox-exec-request-schema.json
- type: JSONSchema
url: json-schema/codai-ro-sandbox-create-schema.json
- type: JSONSchema
url: json-schema/codai-ro-sandbox-schema.json
- type: JSONSchema
url: json-schema/codai-ro-sandbox-run-code-result-schema.json
- aid: codai-ro:codai-ro-schedules-api
name: codai Schedules API
description: 'codai Scheduler: scheduled agent tasks, terminal commands, webhooks and chains that run on any of your hosts
(PCs, phones, watch, cloud VMs) or in the cloud. The cloud owns every schedule; hosts claim runs with a lease and report
results. Shell commands run only after the host approved the exact command.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Schedule
tags_raw:
- Schedules
properties:
- type: OpenAPI
url: openapi/codai-ro-schedules-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-schedule-schema.json
- type: JSONSchema
url: json-schema/codai-ro-schedule-input-schema.json
- type: JSONSchema
url: json-schema/codai-ro-schedule-audit-entry-schema.json
- type: JSONSchema
url: json-schema/codai-ro-schedule-run-schema.json
- type: JSONSchema
url: json-schema/codai-ro-heartbeat-monitor-schema.json
- type: JSONSchema
url: json-schema/codai-ro-scheduler-host-schema.json
- aid: codai-ro:codai-ro-session-api
name: codai Session API
description: RP-initiated logout (OpenID Connect RP-Initiated Logout 1.0).
humanURL: https://docs.codai.ro/docs/api
baseURL: https://auth.codai.ro
tags:
- Sessions
tags_raw:
- Session
properties:
- type: OpenAPI
url: openapi/codai-ro-session-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- aid: codai-ro:codai-ro-sessions-api
name: codai Sessions API
description: 'Shared-sessions protocol v2: one conversation shared live between several devices
(desktop, phone, CLI, agents). A session has an append-only event log with a
server-assigned dense `seq`, persisted controls (`send`, `answer`, `approve`, …), a
single executor lease (TTL 30 s, heartbeat every 10 s) and a presence set.
Every operation here needs a codai API key **and** the `x-codai-device` header — a
client-chosen UUID that is registered on first use (`x-codai-device-name` /
`x-codai-device-platform` optional; an `x-codai-push-token` header upserts the FCM token
used by Dispatch). `GET /v1/sessions` and `GET /v1/sessions/{id}` fall through to the
legacy read-only memory API when the header is absent, unless `?v=2` is set.
`{id}` accepts the server UUID **or** the client `session_key`. Roles: `owner` (the
creator) ≥ `editor` ≥ `viewer`; shares are managed under `/v1/sessions/{id}/shares`.
Link-share callers present the token via `x-codai-share-token` or `?share=`.
Realtime frames are also available over WebSocket at
`wss://ai.codai.ro/v1/sessions/{id}/ws?after=<seq>` (not modelled here). Same
`Authorization: Bearer` header auth (raw keys in `?key=` are rejected with close code
4401); the device id may ride in `?device=`. Upstream frames: `{t: control}`,
`{t: events}`, `{t: presence, driving}`; downstream frames mirror the SSE events plus
`ack` and `error`. WS `error` frames DO carry `details` (`holder_device_id`,
`expected_last_seq`/`last_seq`) — over HTTP only the message does.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Sessions
properties:
- type: OpenAPI
url: openapi/codai-ro-sessions-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-session-schema.json
- type: JSONSchema
url: json-schema/codai-ro-session-control-schema.json
- type: JSONSchema
url: json-schema/codai-ro-session-event-schema.json
- type: JSONSchema
url: json-schema/codai-ro-session-dispatch-response-schema.json
- aid: codai-ro:codai-ro-studio-api
name: codai Studio API
description: The Studio API from codai — 1 operation(s) for studio.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Studio
properties:
- type: OpenAPI
url: openapi/codai-ro-studio-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- aid: codai-ro:codai-ro-tasks-api
name: codai Tasks API
description: 'Outcome-billing task lifecycle. A task opens at the first task-start request of a session (or of an
`x-codai-task-id`) and closes with an exec verdict, your explicit confirmation, or the 30-minute idle timeout.
Only `pass` with machine evidence or `confirmed` with your confirmation is billed as one success. Every query is
scoped to the user behind the key; there is no cross-user access.'
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Task
tags_raw:
- Tasks
properties:
- type: OpenAPI
url: openapi/codai-ro-tasks-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- aid: codai-ro:codai-ro-themes-api
name: codai Themes API
description: Curated colour themes converted from MIT-licensed VS Code themes (ADR 2026-10-30). Public catalogue, no API
key.
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Themes
properties:
- type: OpenAPI
url: openapi/codai-ro-themes-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- aid: codai-ro:codai-ro-tokens-api
name: codai Tokens API
description: Token issuance, introspection (RFC 7662) and revocation (RFC 7009).
humanURL: https://docs.codai.ro/docs/api
baseURL: https://auth.codai.ro
tags:
- Tokens
properties:
- type: OpenAPI
url: openapi/codai-ro-tokens-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-token-request-schema.json
- type: JSONSchema
url: json-schema/codai-ro-token-response-schema.json
- type: JSONSchema
url: json-schema/codai-ro-introspection-response-schema.json
- aid: codai-ro:codai-ro-tools-api
name: codai Tools API
description: "Native web tools for agents: verified web search, a server-side page fetch with an SSRF guard and asynchronous\n\
deep research (`/v1/research`). The contract (names, JSON schemas, limits, how results render for a model) is\nshared\
\ with every codai agent surface — VS Code, desktop, phone, headless CLI, hosted MCP and the SDKs — and\nlives in `packages/agent-core/spec/tools-web.json`.\
\ None of them is a model call, so no usage row is written;\neach call is metered separately: $3 per 1,000 fast searches,\
\ $8 per 1,000 deep searches, $0.50 per 1,000\nfetches and $0.20 per research job (plus the job's own model tokens), charged\
\ in EUR from your wallet. The first\n1,000 calls per user per UTC month are free, and calls made inside a codai agent\
\ turn are never charged; errors\nand cache hits are never charged either. All of them share the per-key request limiter\
\ with\n`/v1/chat/completions` and pass through your rules (a `deny web_search` / `deny browser_fetch` rule is a 403,\n\
never an empty result; `deny web_search` also denies research).\n The `/v1/cards/*` endpoints return data already shaped\
\ as card blocks (weather, places, maps, exchange\nrates,\n link previews). Weather, exchange rates and link previews\
\ are free; Google-backed places, geocoding\nand static\n maps write one usage row per upstream call at Google's list\
\ price."
humanURL: https://docs.codai.ro/docs/api
baseURL: https://ai.codai.ro
tags:
- Tools
properties:
- type: OpenAPI
url: openapi/codai-ro-tools-api-openapi.yml
- type: Documentation
url: https://docs.codai.ro/docs/gateway
- type: JSONSchema
url: json-schema/codai-ro-tool-search-request-schema.json
# --- truncated at 32 KB (37 KB total) ---
# Full source: https://artifacts.apis.io/codai-ro/apis.yml
codai API — frequently asked questions
Does codai have an API?
Yes. APIs.io lists 35 APIs from codai, including codai Account API, codai Agents API and codai Attestations API, and 32 more.
Is there an OpenAPI specification for the codai API?
Yes. APIs.io indexes 35 OpenAPI specifications for codai, each linked for download from this page.
How do I authenticate with the codai API?
codai documents its authentication (http/oauth2 · 3 schemes). The details are profiled on APIs.io as codai Authentication.
How much does the codai API cost?
codai publishes its prices; its Free plan is Start free as of 2026-11-04. APIs.io lists 10 pricing plans for codai, with each plan's price, limits and inclusions under Pricing on this page.
Does codai have an MCP server?
Yes. APIs.io lists 1 MCP server for codai: Remote MCP server at ai.codai.ro over streamable HTTP requiring OAuth; 167 tools listed.
Is the codai API ready for AI agents?
codai has a Kin Score of 81.4 out of 100 (exemplar) and an Agent Readiness score of 72.4 (agent-native), scored by API Evangelist on 2026-11-28.
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.