Skip to main content
POST
/
runs
/
stream
Create and stream a run
curl --request POST \
  --url https://api-legacy.subconscious.dev/v1/runs/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "instructions": "<string>",
    "tools": [
      {
        "id": "<string>",
        "options": {}
      }
    ],
    "content": [
      {
        "text": "<string>"
      }
    ],
    "resources": [
      "<string>"
    ],
    "skills": [
      "<string>"
    ],
    "agentId": "<string>"
  },
  "output": {
    "callbackUrl": "<string>"
  },
  "options": {
    "timeout": 1800,
    "max_step_tokens": 10128
  }
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.subconscious.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key generated on the Subconscious platform

Body

application/json

Run creation request

engine
enum<string>
required

The engine to use for this run

Available options:
tim,
tim-edge,
tim-claude,
tim-claude-heavy,
tim-1.5
input
object
required
output
object
options
object

Server-side runtime limits for a run. The SDKs additionally accept a client-side-only awaitCompletion / await_completion flag that toggles polling inside the SDK; that flag is never sent to the server.

Response

Stream of run events

Server-Sent Events stream