Developer Documentation

Build on Cortex with HTTP APIs, streaming run events, SDKs, and the Cortex CLI.

What You Can Build

Custom AI workspaces

Use threads, messages, documents, runs, and artifacts in your own application.

Business automation

Run agents and workflows, handle approvals, and track execution state.

Developer tools

Use the Cortex CLI and SDKs to integrate Cortex into existing workflows.

Core Concepts

ThreadA conversation or work context containing messages, documents, runs, and outputs.
RunAn execution attempt that can stream progress, use tools, create artifacts, or ask for approval.
ArtifactA generated output such as a document, report, image, HTML preview, or code file.
ApprovalA human decision required before a run continues.

Start Here

Begin with the API overview, then review authenticationand the endpoint reference.