The cf0 REST API lets you build integrations on top of cf0’s financial research platform. You can stream AI research sessions, retrieve generated reports, search global SEC and regulatory filings, manage uploaded documents, and create or invoke reusable research workflow skills.Documentation Index
Fetch the complete documentation index at: https://docs.cf0.ai/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
All endpoints are served from:Request format
Send JSON bodies withContent-Type: application/json. File upload endpoints use multipart/form-data — see Documents API for details.
Response format
All endpoints return JSON. The chat endpoint (POST /api/lab/chat) returns a Server-Sent Events stream with Content-Type: text/event-stream. The filings ingestion progress endpoint (GET /api/filings/ingest/stream) also streams SSE.
Authentication
Every request requires a Bearer token in theAuthorization header:
Error responses
Error responses follow a consistent shape:| Code | Meaning |
|---|---|
400 | Bad request — missing or invalid parameters |
401 | Unauthorized — missing or invalid token |
403 | Forbidden — valid token but insufficient permissions (e.g. org required) |
404 | Resource not found |
409 | Conflict — resource already exists |
413 | Payload too large |
422 | Validation error — request body failed schema validation |
429 | Rate limit exceeded |
500 | Internal server error |
502 | Upstream service error (e.g. LLM call failed) |
503 | Service unavailable |
Rate limits
Endpoints that trigger AI inference are rate-limited per user:| Endpoint | Limit |
|---|---|
POST /api/lab/chat | 12 requests per minute |
| Section rewrite | 10 requests per minute |
| Section edit | 6 requests per minute |
HTTP 429.
Endpoint reference
Lab
Start streaming chat sessions and manage research threads.
Reports
List, retrieve, edit, and delete generated research reports.
Filings
Search companies and read SEC and global regulatory filings.
Documents
Upload, list, and manage files in your research workspace.
Skills
Create and invoke reusable research workflow templates.
Authentication
Bearer token authentication for all API requests.