Topolo Docs Topolo Platform
Open workspace

List brand assets

List registered asset records for a kit.

Outcome

List registered asset records for a kit.

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_assets.list --detail --json
topolo resources topolo-brand --json
topolo workspaces list topolo-brand --json

Request

GET /api/brand-kits/{brandKitId}/assets

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

FieldRequiredMeaning
brandKitIdYesBrand kit identifier in the verified Brand workspace. Read brand_kits.list before selecting it.

Exact published input schema:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "brandKitId": {
      "type": "string",
      "minLength": 1,
      "description": "Brand kit identifier in the verified Brand workspace. Read brand_kits.list before selecting it."
    }
  },
  "required": [
    "brandKitId"
  ],
  "additionalProperties": false
}

Effects

Reads asset metadata and readiness state in the selected workspace.

Interpret the response

assets includes pending, ready and archived records. Missing or inaccessible parent kits can yield an empty array. Metadata presence alone does not prove stored content or public availability.

Response identifier contract:

{
  "kind": "brand_asset",
  "identifierSource": "response",
  "idPath": "$.assets[].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:

{
  "brandKitId": "brand_c794be50-0306-4933-8de8-5609340bed9e"
}

CLI:

topolo actions validate app_topolo_brand.brand_assets.list --data @payload.json --json
topolo actions plan app_topolo_brand.brand_assets.list --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_brand.brand_assets.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_assets.list",
    "input": {
      "brandKitId": "brand_c794be50-0306-4933-8de8-5609340bed9e"
    },
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>"
  }
}

Captured local response · HTTP 200:

{
  "assets": [
    {
      "id": "brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b",
      "brandKitId": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "kind": "logo",
      "name": "Fixture logo",
      "mimeType": "image/svg+xml",
      "storageKey": "org_documentation_fixture/brand_c794be50-0306-4933-8de8-5609340bed9e/brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b",
      "license": "Fixture-only artwork",
      "altText": "Fixture identity",
      "status": "ready",
      "createdAt": "2026-10-03T11:23:59.064Z",
      "updatedAt": "2026-10-03T11:23:59.067Z"
    }
  ]
}

assets includes pending, ready and archived records. Missing or inaccessible parent kits can yield an empty array. Metadata presence alone does not prove stored content or public availability.

Workflow example

Input · payload.json:

{
  "brandKitId": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20"
}

CLI:

topolo actions validate app_topolo_brand.brand_assets.list --data @payload.json --json
topolo actions plan app_topolo_brand.brand_assets.list --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_brand.brand_assets.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_assets.list",
    "input": {
      "brandKitId": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20"
    },
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>"
  }
}

Captured local response · HTTP 200:

{
  "assets": [
    {
      "id": "brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55",
      "brandKitId": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "kind": "logo",
      "name": "Fixture logo",
      "mimeType": "image/svg+xml",
      "storageKey": "org_documentation_fixture/brand_55886012-13a4-4e95-ad31-3fe2b52cdf20/brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55",
      "license": "Fixture-only artwork",
      "altText": "Fixture identity",
      "status": "ready",
      "createdAt": "2026-10-03T11:23:59.106Z",
      "updatedAt": "2026-10-03T11:23:59.107Z"
    }
  ]
}

assets includes pending, ready and archived records. Missing or inaccessible parent kits can yield an empty array. Metadata presence alone does not prove stored content or public availability.

Verify the result

Read the parent kit, select an exact asset identifier and use download or published public URLs to prove required content availability.

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.

  • app_topolo_brand.brand_assets.download: Download authenticated content for a ready Brand asset.

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.