Skip to content
Subako Docs
English
Esc
↑↓navigate↵open⌘Jpreview
On this page

Subako Public API

The public HTTP interface to Subako.

Every request carries a bearer credential, and the organization it acts in is the credential’s – no path names one. Work resources belong to a workspace, named by the Kikuvi-Workspace header where a user credential cannot imply one.

Listings are cursor paged: pass the next_cursor a page returns back as after, and order decides which way the walk continues; pass its prev_cursor back as before to step back. Writes that create something accept an Idempotency-Key, and a retry under the same key returns the saved receipt rather than acting twice.

Version v1
Base URLhttps://api.us.cloud.subako.ai

agents

The named lines a session runs, and the immutable versions that carry their config.

api-keys

Long-lived credentials for a backend, scoped to one workspace and the permissions they were minted with.

functions

Versioned WebAssembly packages whose functions an agent may be granted as tools.

me

Who the presented credential belongs to.

model-providers

Where model calls are sent: a platform provider Subako publishes, or one bound to your own key.

oauth-clients

Your own OAuth clients at providers, which a vault connects credentials through. A secret goes in and never comes back out.

organization

The tenant a credential acts in: its members, its invitations, and what it has spent.

sessions

One agent version running against one event log: its input, its transcript, its sandboxes, and its tokens.

clients

A client offers tools of its own to a session’s agent, and answers the calls the model makes to them.

skills

Versioned bundles an agent may be granted.

vaults

Credentials an agent presents to the services it reaches. A payload goes in and never comes back out.

workspaces

The scope every work resource belongs to, and who may reach it.

Was this page helpful?