toolkits
Create a toolkit — scoped bundle of upstream API credentials with a client API key
Creates a toolkit: a named bundle of upstream API credentials with a scoped client API key for the agent. Returns a toolkit API key (tk_xxx) — shown once, not recoverable. Bind credentials via POST /toolkits/{id}/credentials. Set access policy via PUT /toolkits/{id}/credentials/{cred_id}/permissions. Agents use toolkit keys to call the broker; only bound credentials are injected.
post/toolkits
Request body
Response
Successful Response
Example response
{
"id": "default",
"name": "Default Toolkit",
"description": "Default toolkit for general-purpose API access",
"created_at": 1672531200,
"key_count": 3,
"credential_count": 5,
"keys": [],
"credentials": [],
"permissions": [
{
"effect": "allow",
"methods": [
"GET"
]
}
]
}