Versioned API
Authenticate with a bearer or x-api-key header. JSON errors expose a stable code and message, while x-request-id correlates a response with logs or support. RateLimit headers describe the current request budget. OpenAPI 3.1 · API documentation
Native CLI
Install the checksummed CLI release, sign in, and discover concise commands from the generated schema. Automation can disable prompts and inspect mutations before execution. factorai --help, factorai --llms, factorai --schema
MCP for agents
Connect a Streamable HTTP client. Initialization, tool schemas, and developer resources are public; tool calls require the same scoped API key as REST. https://mcp.factorai.ai/mcp
Predictable lifecycle
Stable REST endpoints live under /v1. Breaking retirements are announced before removal and use Deprecation and Sunset headers during the retirement window.
Machine-readable discovery
Stable documents list the public contracts, and agents can read them without credentials: llms.txt · sitemap.xml · pricing.md · MCP Registry manifest · MCP server card
Markdown for agents
Every public page has a compact Markdown version at the same address. Request it with an Accept: text/markdown header or by adding .md to the path; each HTML page links to it as a rel="alternate" representation.