CapabilitiesIntegrationsDocsCatalogPricing
Sign In
Start research

Start

Docs homeChoose the right setup path.Getting startedFirst session, files, briefs, and presentations.

Product

WorkspaceChat, experiments, split panes, and artifacts.Library filesUpload and reuse PDFs, CSVs, docs, and datasets.BriefsCited, scannable research documents.PresentationsTemplated, cited stakeholder decks.DashboardsInteractive, filterable analytics views.

Admin

OrganizationsTeams, billing, roles, and account setup.Security & privacyKeys, stored data, revocation, and privacy posture.

Developers

Developer APIOpenAI-compatible and native agent endpoints.MCP serverUse Cortexa inside Claude, Cursor, Codex, and more.IntegrationsSlack, MCP, API keys, and connected workflows.Tool catalogExplore verified research tools and sources.

Documentation

Docs homeGetting startedWorkspaceLibrary filesBriefsPresentationsDashboardsOrganizationsSecurity & privacyDeveloper APIMCP serverIntegrationsTool catalog
Developer documentation

Developer API

Use Cortexa through an OpenAI-compatible endpoint for quick adoption, or stream native agent events when you want tool traces and rich research cards.

Get an API key
zsh — cortexa-api
200 OK
$ 

Quickstart

If your app already uses an OpenAI SDK, point the base URL at Cortexa and use your Cortexa API key. The model name iscortexa.
curl https://api.cortexa.sh/v1/chat/completions \
  -H "Authorization: Bearer $CORTEXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "cortexa",
    "messages": [
      {
        "role": "user",
        "content": "Summarize the evidence for GLP-1 agonists in neuroinflammation. Cite sources."
      }
    ]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="sk-cortexa-live-...",
    base_url="https://api.cortexa.sh/v1",
)

response = client.chat.completions.create(
    model="cortexa",
    messages=[
        {
            "role": "user",
            "content": "Find recent clinical evidence for tau PET as an Alzheimer's endpoint.",
        }
    ],
)

print(response.choices[0].message.content)

Endpoint reference

Every endpoint on the v1 surface authenticates with the same bearer token and returns OpenAI-compatible error envelopes.
POST
/v1/chat/completions

OpenAI-compatible chat completion endpoint. Best for existing SDKs and server-side integrations.

POST
/v1/agents/cortexa/runs

Native streaming endpoint for text deltas, tool events, citations, and rich data cards.

GET
/v1/runs/{id}

Fetch the completed messages, tool invocations, and stream of an earlier run by ID.

GET
/v1/models

List available Cortexa models. Returns a single entry today; included for OpenAI client compatibility.

GET
/v1/tools

Inspect the verified tools the agent can route to per request.

GET
/v1/sources

Browse the curated data source catalog the agent can reach.

POST
/mcp

MCP endpoint for clients that support streamable HTTP. Desktop stdio clients use the npm adapter.

Native streaming

Native runs stream the agent surface directly: text deltas, tool invocations, source-backed citations, structures, formulas, charts, and usage summaries.
curl https://api.cortexa.sh/v1/agents/cortexa/runs \
  -H "Authorization: Bearer $CORTEXA_API_KEY" \
  -H "Content-Type: application/json" \
  -N \
  -d '{
    "input": "Compare evidence for two candidate targets and cite primary sources."
  }'

2.2K+ verified tools behind one model

Cortexa handles tool selection internally. Client applications can stay simple while still benefiting from live literature, biomedical, clinical, genomics, chemistry, structure, patent, and code-execution tools.

Authentication

Send API keys as bearer tokens:Authorization: Bearer sk-cortexa-live-.... Create and revoke keys from the API Keys dashboard.
Cortexa.

The agent for research teams. 2.2K+ verified tools across every research discipline, every claim cited.

Product

  • Capabilities
  • Integrations
  • Documentation
  • Tool catalog
  • Pricing

Get started

  • Launch the agent
  • Sign in
  • Developer API
  • MCP server

Support

  • Help center
  • Contact us
  • Terms of Service
  • Privacy Policy

© 2026 Cortexa. All rights reserved.

TermsPrivacy·For research context only · Not medical, legal, or financial advice.