> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Asset Library - GET /v1/workspaces/:workspace_id/assets

> Aggregate-search assets of a workspace via GET /v1/workspaces/:workspace_id/assets. Minimum role viewer.

The Asset Library: aggregate-search the various asset types in a workspace (KBs, memory cubes, wiki, skills, agents, code repos) in one endpoint, with optional keyword and type filtering.

## Endpoint

```http theme={null}
GET /v1/workspaces/:workspace_id/assets
```

## Authentication

`Authorization: Bearer <jwt>` or `X-API-Key <sk_...>`. Minimum role: **viewer**.

## Path parameters

**workspace\_id** `string` *required*

Workspace id.

## Query parameters

**query** `string`

Keyword matching asset titles.

**type** `string`

Asset type filter: `kb` / `cube` / `wiki` / `skill` / `agent` / `codegraph`.

## Response

The response is an array; each element is an asset:

**type** `string`

Asset type.

**id** `string`

Asset id.

**title** `string`

Asset title/name.

**owner\_id** `string`

Owner user id.

**visibility** `string`

Visibility.

**updated\_at** `string`

Update time (RFC3339).

## Example

```bash cURL theme={null}
curl "https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/assets?type=kb" \
  -H "Authorization: Bearer <jwt>"
```

```json 200 theme={null}
[
  {
    "type": "kb",
    "id": "kb_01a2b3c4d5e6",
    "title": "Product Docs",
    "owner_id": "usr_01a2b3c4d5e6",
    "visibility": "private",
    "updated_at": "2026-10-12T08:00:00Z"
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.