codai

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).
81.4/100 exemplar ▬ flat Agent 72/100 agent native Full breakdown ↓
scored 2026-11-28 · rubric v0.30.0 · Show this score on your site →
AccessFreemiumSelf serve⚡ Free to try
3 published contracts 1 MCP Servers 5 Agent Skills
CompanyArtificial IntelligenceCode GenerationDeveloper ToolsLLM GatewayOpenAI-CompatibleModel RoutingRomania

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-28 · rubric v0.30.0
Composite quality — 81.4/100 · exemplar
Contract Quality 14.2 / 19
Access Clarity 11.5 / 15
Discoverability 6.8 / 8
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. Kin Score badge preview for codai 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):
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0 Ask about this →
  • 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 →
Ask about:
Codai Ro · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/codai-ro/apis.yml: open an issue on github.com/api-evangelist/codai-ro to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Markets this provider is in provisional

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.

MarketPositionDepth (provider-wide)Registered MCP serverDeclares compatibility
Typed Decision Models core 12.0 1 1

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 implemented 5

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.

measured — observed by APIs.io (documented)
measured — observed by APIs.io (verified)
measured — observed by APIs.io (published)
measured — observed by APIs.io (published)
measured — observed by APIs.io (declared)

APIs 35

Individual APIs this provider publishes, each with its own machine-readable definition.

codai Account API

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...

codai Agents API

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...

codai Attestations API

Public execution proofs for verified resolves. The UUID is the capability — no authentication.

codai Authorization API

Authorization Code + PKCE and Device Authorization (RFC 8628) grants.

codai Chat & Completions API

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...

codai Connect API

codai extension — exchange an access token for an inference API key.

codai Devices API

Register, list and manage the devices bound to your account.

codai Discovery API

Metadata and signing keys.

codai Embeddings & Audio API

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...

codai Feed API

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...

codai Guest chat API

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...

codai Health API

Cloud Run liveness / readiness probes.

codai Hosts API

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...

codai Jobs API

Submit, poll and accept resolve jobs. Every job is scoped to the user that owns the API key.

codai Lists API

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...

codai Memory API

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...

codai Models API

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...

codai Orgs & Sharing API

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 ...

codai Projects & Environments API

Cloud Environments control plane. A **project** groups environments (repository, default branch, devcontainer path, isolation mode); an **environment** is one machine reachable ...

codai Prompts API

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 Sandboxes API

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...

codai Schedules API

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...

codai Session API

RP-initiated logout (OpenID Connect RP-Initiated Logout 1.0).

codai Sessions API

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...

codai Studio API

The Studio API from codai — 1 operation(s) for studio.

codai Tasks API

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...

codai Themes API

Curated colour themes converted from MIT-licensed VS Code themes (ADR 2026-10-30). Public catalogue, no API key.

codai Tokens API

Token issuance, introspection (RFC 7662) and revocation (RFC 7009).

codai Tools API

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,...

codai Transcripts API

Voice recordings turned into speaker-labelled transcripts with AI insights (summary, key points, action items, decisions, open questions, suggested agent prompts). Romanian and ...

codai Triggers API

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 ...

codai Usage & keys API

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 API

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...

codai Visual QA API

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...

codai User Info API

OpenID Connect UserInfo.

Scroll for all 35

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

codai MCP Server

Remote MCP server at ai.codai.ro over streamable HTTP requiring OAuth; 167 tools listed.

MCP SERVER

Agent Skills 5

Packaged agent skills for driving this provider's APIs from an AI assistant.

research-the-web

AGENT SKILL

codai API pricing

Prices published by codai.

PlanPrice
Free Start free
Lite €4.99
Student €5.99
codai Services €3.99
Pro €19.99
Builder €49
Max €99
Team €25

All 10 plans, limits and sources →

Rate limits

All 8 limits →

Pricing Plans 1

Published pricing tiers and plan structures.

codai Plans Pricing

10 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

codai Rate Limits

8 limits

RATE LIMITS

Terms of Service 1

What its API terms permit and prohibit, quoted from its own page.

codai

9 quoted statements, read from codai's own page on 2026-11-09.

TERMS

Privacy & Data 1

Its role, the data it processes, retention and transfers, quoted from its own privacy page.

codai

21 quoted statements, read from codai's own page on 2026-11-09.

PRIVACY

Deprecation Policy 1

Notice periods, support windows and the headers it sends, quoted from its own page.

codai

3 quoted statements, read from codai's own page on 2026-11-09.

DEPRECATION

Eligibility 1

Who may sign up and where, quoted from its own terms.

codai

5 quoted statements, read from codai's own page on 2026-11-09.

ELIGIBILITY

AI Preferences 1

Its stance on AI training, inference and agents, quoted from its own pages.

codai

2 quoted statements, read from codai's own page on 2026-11-09.

AI PREFS

Data License 1

How its data and outputs may be reused, quoted from its own terms.

codai

1 quoted statement, read from codai's own page on 2026-11-09.

LICENSE

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Codai Ro Context

120 classes · 375 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

codai API Rules

68 rules · 46 error-severity 15 warn-severity 7 info-severity

SPECTRAL

OpenAPI Overlays 3

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.

codai Auth Overlay

1 action · update · codai-ro-auth-openapi.yml

DERIVED

codai Gateway Overlay

167 actions · update · codai-ro-gateway-openapi.yml

DERIVED

codai Resolve Overlay

6 actions · update · codai-ro-resolve-openapi.yml

DERIVED

JSON Schema 78

Standalone JSON Schema definitions for this provider's data models.

Account view

14 properties

JSON SCHEMA

Run accepted

3 properties

JSON SCHEMA

Agent run request

5 properties

JSON SCHEMA

Agent run

11 properties

JSON SCHEMA

Agent run statistics

10 properties

JSON SCHEMA

Agent run step

8 properties

JSON SCHEMA

Synchronous run result

5 properties

JSON SCHEMA

Chat completion request

17 properties

JSON SCHEMA

Connect key response

5 properties

JSON SCHEMA

Model list

2 properties

JSON SCHEMA

Status

3 properties

JSON SCHEMA

Device authorization response

6 properties

JSON SCHEMA

Device

9 properties

JSON SCHEMA

Device patch

2 properties

JSON SCHEMA

Device (after patch)

6 properties

JSON SCHEMA

DevicePluginItem

7 properties

JSON SCHEMA

Create environment body

8 properties

JSON SCHEMA

Environment detail

6 properties

JSON SCHEMA

Environment member

9 properties

JSON SCHEMA

Environment

27 properties

JSON SCHEMA

Agent task

12 properties

JSON SCHEMA

FeedCommentCreateInput

4 properties

JSON SCHEMA

FeedPostCreateInput

6 properties

JSON SCHEMA

FeedPost

18 properties

JSON SCHEMA

FeedPublicPost

15 properties

JSON SCHEMA

FeedPublicProfilePage

3 properties

JSON SCHEMA

FeedPublicSitemap

2 properties

JSON SCHEMA

HeartbeatMonitor

12 properties

JSON SCHEMA

Host exec request body

4 properties

JSON SCHEMA

Host exec response

4 properties

JSON SCHEMA

Host exec result body

3 properties

JSON SCHEMA

Host presence

10 properties

JSON SCHEMA

Introspection response

10 properties

JSON SCHEMA

ListCreateInput

5 properties

JSON SCHEMA

ListItemInput

8 properties

JSON SCHEMA

ListItemPatchInput

6 properties

JSON SCHEMA

ListItem

16 properties

JSON SCHEMA

List

12 properties

JSON SCHEMA

MemoryList

2 properties

JSON SCHEMA

MemorySearchResult

1 properties

JSON SCHEMA

Music Room song

25 properties

JSON SCHEMA

OpenID Provider metadata

20 properties

JSON SCHEMA

Add member body

3 properties

JSON SCHEMA

Create share body

4 properties

JSON SCHEMA

Org member

4 properties

JSON SCHEMA

Session share

9 properties

JSON SCHEMA

Shared session

13 properties

JSON SCHEMA

Org

5 properties

JSON SCHEMA

Project

15 properties

JSON SCHEMA

Prompt

34 properties

JSON SCHEMA

Readiness response

2 properties

JSON SCHEMA

Attestation

15 properties

JSON SCHEMA

Balance

3 properties

JSON SCHEMA

Declined

4 properties

JSON SCHEMA

Resolve intake

5 properties

JSON SCHEMA

Job

16 properties

JSON SCHEMA

Quote

9 properties

JSON SCHEMA

Create sandbox request

5 properties

JSON SCHEMA

Exec stream event

0 properties

JSON SCHEMA

Exec request

9 properties

JSON SCHEMA

Run code result

7 properties

JSON SCHEMA

One-shot run request

13 properties

JSON SCHEMA

Sandbox

12 properties

JSON SCHEMA

ScheduleAuditEntry

9 properties

JSON SCHEMA

ScheduleInput

19 properties

JSON SCHEMA

ScheduleRun

14 properties

JSON SCHEMA

Schedule

27 properties

JSON SCHEMA

SchedulerHost

11 properties

JSON SCHEMA

SessionControl

11 properties

JSON SCHEMA

SessionDispatchInbox

2 properties

JSON SCHEMA

SessionDispatchResponse

8 properties

JSON SCHEMA

SessionEvent

7 properties

JSON SCHEMA

Session

12 properties

JSON SCHEMA

ShareRequest

11 properties

JSON SCHEMA

Studio export

21 properties

JSON SCHEMA

Token request

12 properties

JSON SCHEMA

Token response

6 properties

JSON SCHEMA

Search request

13 properties

JSON SCHEMA

Scroll for all 78

Security Posture 3

Authentication, domain security, vulnerability disclosure, and trust-center signals.

codai Authentication

http/oauth2 · 3 schemes

SECURITY

codai Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

codai Vulnerability Disclosure

security.txt · contact published

SECURITY

Scopes 1

OAuth scopes governing access to this provider's APIs.

codai Scopes

9 scopes · authorizationCode/deviceCode

9 scopes

SCOPES

Agentic Access (API Evangelist recommendations) 1

Recommended x-agentic-access execution contracts for AI agents.

codai Agentic Access

507 operations · 297 acting · 26 human-in-the-loop

507 operations · 297 acting

AGENTIC

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 3

Reference material describing how the API behaves

Agent Surfaces 5

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 10

Pagination, idempotency, versioning, errors, and events

Scroll for all 10

Build 6

SDKs, sample code, and the tooling you integrate with

Access & Security 7

Authentication, authorization, and security posture

Scroll for all 7

Operate 7

Status, limits, changes, and where to get help

Scroll for all 7

Commercial 6

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Other 5

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
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.

Work with this as data

Every provider 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 providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • 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 provider
curl "https://apis.io/api/v1/providers/codai-ro"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/codai-ro/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/codai-ro/evidence"

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.