GET STARTED
Start with a real Task
Verify execution with your team and Workspace, then integrate the same contract into your backend.
- 01
Prepare identity and access
Select your team and project. Backends use an API Token or OAuth client; public clients use authorization code with PKCE.
- 02
Choose an executable binding
Choose a Workspace with an active Agent binding; verify versions, Runtime capabilities and model access.
- 03
Submit and observe
Create a Task in the debugger. Read snapshots and history before subscribing to SSE. Handle input, approvals and failures explicitly.
- 04
Collect output and usage
Correlate Runs, events, artifacts and usage by Task ID. Download URLs expire and are not durable file identifiers.
Backend request structure
curl https://api.orbitspace.dev/api/v1/tasks \
-H "Authorization: Bearer $ORBITSPACE_TOKEN" \
-H "X-OrbitSpace-Tenant: $TENANT_ID" \
-H "Content-Type: application/json" \
--data '{
"workspace_id": "<workspace-id>",
"workspace_agent_binding_id": "<binding-id>",
"input": "Summarize the supplied document.",
"idempotency_key": "<unique-client-request-id>"
}'Keep credentials on your backend. Answer the matching Input Request; creating another Task does not resume it.