> ## 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.

# List Knowledge Bases - GET /v1/workspaces/:workspace_id/kbs

> Return all knowledge bases under a workspace via GET /v1/workspaces/:workspace_id/kbs. Minimum role viewer.

Return all knowledge bases under a workspace.

## Endpoint

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

## Authentication

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

## Path parameters

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

Workspace id.

## Response

The response is an array; each element is a KB:

**id** `string`

KB id.

**workspace\_id** `string`

Owning workspace id.

**name** `string`

Name.

**type** `string`

Type.

**created\_at** `string`

Creation time (RFC3339).

## Example

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

```json 200 theme={null}
[
  {
    "id": "kb_01a2b3c4d5e6",
    "workspace_id": "ws_01a2b3c4d5e6",
    "name": "Product Docs",
    "type": "document",
    "created_at": "2026-10-12T08:00:00Z"
  }
]
```


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