Outcome
List consumer bindings for kits in the selected workspace.
Before you start
- Verify whoami and the pinned credential context, then inspect the exact discovered action before preparing input.
- Discover a granted Brand workspace. Pass its resourceType/workspace identifier separately from input; a copied fixture identifier grants no access.
- The declared permission is brand:read. The active credential, application scope, resource binding and runtime authority must all authorize the request.
Discover the target
topolo whoami --json
topolo actions get app_topolo_brand.brand_bindings.list --detail --json
topolo resources topolo-brand --json
topolo workspaces list topolo-brand --json
Request
GET /api/brand-bindings
Resource context is the selected Brand workspace. CLI/SDK action input includes path identifiers; direct HTTP JSON bodies exclude path parameters. Read the reviewed plan for the exact request.
Input fields
Use {} as input; credential and workspace resource context remain separate.
Exact published input schema:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
Effects
Reads exact consumer/type/resource binding tuples without mutation.
Interpret the response
bindings lists stored configuration, not an effective resolved snapshot. Organization/workspace wildcard scopes and more specific consumer resources are distinct.
Response identifier contract:
{
"kind": "brand_binding",
"identifierSource": "response",
"idPath": "$.bindings[].id"
}
Worked examples
These complete synthetic responses were captured from the local worker over canonical SQL migrations. Auth and R2 dependencies are simulated; notification delivery is not exercised. Set BRAND_WORKSPACE_ID from granted workspace discovery. Save reviewed input as payload.json, validate and inspect the unchanged plan. The final mutation command and MCP confirm flag assume the intended effect has already been authorized.
Minimal example
Input · payload.json:
{}
CLI:
topolo actions validate app_topolo_brand.brand_bindings.list --data @payload.json --json
topolo actions plan app_topolo_brand.brand_bindings.list --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_brand.brand_bindings.list --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_brand.brand_bindings.list",
"input": {},
"resourceType": "workspace",
"resourceId": "<identifier returned by resource discovery>"
}
}
Captured local response · HTTP 200:
{
"bindings": [
{
"id": "brand_binding_a4ab1e79-6dbe-45c4-af96-093a041abde6",
"consumerAppId": "app_topolo_books",
"externalResourceType": "workspace",
"externalResourceId": "ws_brand_documentation_fixture",
"brandKitId": "brand_c794be50-0306-4933-8de8-5609340bed9e",
"createdAt": "2026-10-03T11:23:59.082Z",
"updatedAt": "2026-10-03T11:23:59.082Z"
}
]
}
bindings lists stored configuration, not an effective resolved snapshot. Organization/workspace wildcard scopes and more specific consumer resources are distinct.
Workflow example
Input · payload.json:
{}
CLI:
topolo actions validate app_topolo_brand.brand_bindings.list --data @payload.json --json
topolo actions plan app_topolo_brand.brand_bindings.list --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_brand.brand_bindings.list --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_brand.brand_bindings.list",
"input": {},
"resourceType": "workspace",
"resourceId": "<identifier returned by resource discovery>"
}
}
Captured local response · HTTP 200:
{
"bindings": [
{
"id": "brand_binding_813652d7-03ee-4cb3-b08c-001b1ba912f1",
"consumerAppId": "app_topolo_books",
"externalResourceType": "workspace",
"externalResourceId": "ws_brand_documentation_fixture",
"brandKitId": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
"createdAt": "2026-10-03T11:23:59.119Z",
"updatedAt": "2026-10-03T11:23:59.119Z"
}
]
}
bindings lists stored configuration, not an effective resolved snapshot. Organization/workspace wildcard scopes and more specific consumer resources are distinct.
Verify the result
Select exact tuple and binding identifiers; resolve the intended consumer context to verify effective behavior.
Errors and recovery
-
auth_error(HTTP 401): CLI/SDK authentication classification when Auth returns a non-code message: restore the authorized credential, then verify whoami and context. Preserve the exact service message. -
permission_denied(HTTP 403): Use the exact permission and granted resource required by the reviewed action; organization membership alone is insufficient. -
workspace_required(HTTP 400): Discover and select a granted Brand workspace before preparing the request. -
brand_storage_unavailable(HTTP 503): The Brand storage bindings are unavailable. Preserve the request identifier and report the service fault; do not retry an unverified mutation.
Recovery boundary
This read or validation does not change Brand service state.
Related actions
app_topolo_brand.brand_kits.resolve_context: Resolve the first eligible brand for a consumer context.app_topolo_brand.brand_bindings.upsert: Bind a consumer resource or shared scope to an active kit.
Evidence
Four real local SQLite stores use all canonical migrations; Auth identity/grants and archival plus R2 object storage are explicitly simulated. Notifications are disabled in fixtures. No notification delivery, live mutation, gateway credential parity or deployed environment proof is claimed. Fixture identifiers and timestamps are synthetic and must be replaced by exact authorized resource discovery.