synaptic-compute

Agent-as-a-Service API — durable, resumable Claude agent sessions over a simple HTTP API.

mode: cloud auth: subscription version: 0.1.0 /healthz

Each session is a durable handle; every message runs one agent turn with the session's workspace as its working directory and resumes the prior turn — so you can pick a session back up minutes or days later. Authenticate with Authorization: Bearer <api-key>.

Core endpoints

POST/v1/sessions — create a session
curl -X POST https://compute.synapsis-analytics.com/v1/sessions \
  -H "Authorization: Bearer sk-sc-YOUR_KEY" -H "content-type: application/json" \
  -d '{"tier":"shared"}'
POST/v1/sessions/{id}/messages — send a message (runs one turn)
curl -X POST https://compute.synapsis-analytics.com/v1/sessions/SESSION_ID/messages \
  -H "Authorization: Bearer sk-sc-YOUR_KEY" -H "content-type: application/json" \
  -d '{"prompt":"Create hello.txt that says hi"}'
GET/v1/runs/{id} — poll a run's status & result
curl https://compute.synapsis-analytics.com/v1/runs/RUN_ID \
  -H "Authorization: Bearer sk-sc-YOUR_KEY"