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

# Knowledge to Memory (Manual) - POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/from-kb

> Manually write knowledge items into a memory cube via POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/from-kb. Minimum role contributor.

Manually convert knowledge items into memory nodes written to a specified cube. In contrast to the automatic conversion that follows document parsing, here the caller supplies the content explicitly.

## Endpoint

```http theme={null}
POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/from-kb
```

## Authentication

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

## Path parameters

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

Workspace id.

**cube\_id** `string` *required*

Target memory cube id.

## Request body

**type** `string`

Type of the generated memory nodes.

**items** `array` *required*

Array of knowledge items, each:

**items\[]**

**content** `string` *required*

Item content text.

**source\_type** `string`

Source type.

**source\_id** `string`

Source object id.

## Response

**ids** `string[]`

Ids of the created memory nodes.

## Example

```bash cURL theme={null}
curl -X POST https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/cubes/cube_01a2b3c4d5e6/convert/from-kb \
  -H "Authorization: Bearer <jwt>" \
  -H "Content-Type: application/json" \
  -d '{"type":"text","items":[{"content":"AriaMem supports bidirectional conversion","source_type":"manual","source_id":""}]}'
```

```json 200 theme={null}
{
  "ids": ["node_01a2b3c4d5e6"]
}
```


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