Shiba public API
Self-hosted /api/v1 surface with stable resource names. Authentication is surface-specific: org-scoped API keys (Bearer shk_…), OAuth access tokens, paired-device JWTs (Bearer shd_…), and same-origin dashboard cookies are accepted according to each operation. Exact-thread SSE may instead use a short-lived stream ticket query capability minted by an authenticated caller. Paired-device credentials never receive API-key administration scope.
approvals
employees
rooms
connections
computers
artifacts
openai-compatible
devices
- Create a short-lived single-use device pairing code and QR payloadPOST
/devices/pairing-codes - Redeem a single-use pairing code for device credentialsPOST
/devices/pair - Rotate a device refresh token and mint a short-lived access JWTPOST
/devices/refresh - List the caller's paired devicesGET
/devices - Revoke a paired device and all refresh tokensPOST
/devices/{deviceId}/revoke - Get the authenticated paired deviceGET
/devices/me
threads
notifications
- List redacted notification delivery endpointsGET
/notifications/endpoints - Register an encrypted webpush, Slack, or email endpointPOST
/notifications/endpoints - Read notification event/channel preferencesGET
/notifications/preferences - Replace notification event/channel preferencesPUT
/notifications/preferences - Revoke a notification endpointDEL
/notifications/endpoints/{endpointId} - Get the deployment Web Push VAPID public keyGET
/notifications/webpush-key
events
runs
- Get the active run for a threadGET
/threads/{threadId}/active-run - Get durable failure detail for a runGET
/threads/{threadId}/runs/{runId}/failure - Get redacted run activity itemsGET
/threads/{threadId}/runs/{runId}/activity - Stop the active or named run for a threadPOST
/threads/{threadId}/stop - Retry a finished thread runPOST
/threads/{threadId}/retry
Other endpoints
- List threadsGET
/threads - Create thread (idempotent requestId)POST
/threads - Send messagePOST
/threads/{threadId}/message - Interrupt active run (legacy alias)POST
/threads/{threadId}/interrupt - SSE stream for thread eventsGET
/threads/{threadId}/stream - List persisted subagents for a thread (read-only)GET
/threads/{threadId}/subagents - Get a persisted subagentGET
/subagents/{subagentId} - Get a subagent's stored task and final summary (not a full harness transcript)GET
/subagents/{subagentId}/messages - Org event stream (SSE)GET
/events/stream - This documentGET
/openapi.json - Read thread and captured deliverable metadataGET
/threads/{threadId} - List org-scoped bot profilesGET
/org-agents - Create an org-scoped bot profilePOST
/org-agents - Read a bot profile, including archived historyGET
/org-agents/{agentId} - Update a bot profile configuration and versionPATCH
/org-agents/{agentId} - Read runs with captured deliverable metadataGET
/threads/{threadId}/runs - Read run-state with captured deliverable metadataGET
/threads/{threadId}/run-state