Welcome
The Subconscious API enables you to build powerful AI agents that can reason, use tools, and complete complex tasks. Our API is designed around Runs - discrete agent executions that process your instructions and return structured results.Core Concepts
Runs
A Run represents a single agent execution. You provide instructions and optionally tools, and the agent works to complete the task. Runs can be:- Async (
POST /v1/runs) - Queue a run and poll for results or receive webhooks - Streaming (
POST /v1/runs/stream) - Stream execution events in real-time via SSE
Engines
Choose from multiple inference engines optimized for different use cases:| Engine | Type | Description |
|---|---|---|
tim-edge | Unified | Highly efficient engine tuned for performance with search tools |
tim-gpt | Compound | Complex reasoning engine backed by OpenAI GPT-4.1 |
tim-gpt-heavy | Compound | Complex reasoning engine backed by OpenAI GPT-5.2 |
Tools
Agents can use tools to interact with external systems:- Platform tools - Built-in capabilities like web search
- Function tools - Your custom HTTP endpoints
- MCP tools - Model Context Protocol servers
Structured Output
Request structured responses using JSON Schema viaanswerFormat and reasoningFormat fields.