Overview
The OpenSink API lets you send information, trigger execution, and inspect state from any platform. It is designed to be:- simple to integrate
- explicit in behavior
- safe to use from automation and AI agents
OpenSink works with any agent framework, any automation platform, and any programming language that can make HTTP requests.
Base URL
All API requests are made to:Authentication
OpenSink uses API key authentication. Each request must include your API key in theAuthorization header:
Creating an API key
You can create and manage API keys from the API Keys page in the dashboard.Authorization Model
API keys are scoped to a workspace. They can be used to:- create and read Sinks
- write Items
- manage Sessions
- configure and trigger Background Jobs
Request & Response Format
- All requests use JSON
- All responses are JSON
- UTF-8 encoding
Example request
Error Handling
OpenSink uses standard HTTP status codes.| Status | Meaning |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Invalid request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not found |
| 500 | Internal error |
Idempotency & Safety
- Item creation is append-only
- Sessions are explicit and durable
- Jobs are not auto-retried
API Structure
The API is organized around a small set of resources:Sinks & Items
Store and retrieve durable information.
Sessions
Track agent execution and resumability.
Background Jobs
Schedule execution without infrastructure.
Agents
Configure and execute agent behavior.

