Skip to main content
The Matrices API comes in two halves: a control plane and a data plane. The control plane is where you set things up: identities, connections, agent profiles, agents with their connected accounts and budget, schedules, roles, toolsets, plugins, and the model catalog. Roles hold the allow and deny rules for tools; a profile holds behavior, hooks, budget, and the roles it picks. The data plane is where agents run: threads and turns, messages and their queue, memory and its search, images and files, feeds and subscriptions, events, client tool calls, and resolving waits. For how those resources own each other, read How it fits together. To make your first calls, follow the Quickstart.

Authentication and base URL

Every request goes to https://api.matrices.com with an API key as a bearer token. Keys are workspace-scoped: only the workspace owner can create them, in the console under Workspace → API keys, and one key authenticates both planes. A key can carry an expiry, after which it stops working. To see what a key is, call GET /v1/auth. It returns the principal the key acts as and the workspace it belongs to. The playground on each endpoint page sends real requests. A principal.type of api_key with no agentId reaches every agent in the workspace. The owner can also mint a key from one agent’s Configuration page: it still authenticates as api_key, but carries that agentId and can only operate that one agent. So if you have to put a key somewhere you wouldn’t trust with the whole workspace, scope it to an agent. Disabling the agent’s identity stops its scoped keys too. A principal.type of agent is something else: the short-lived lease an agent’s own sandbox uses to call the API, checked against that agent’s live permissions. You never create one.