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

# Memory to Knowledge - POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/to-kb

> Land a memory node as a knowledge-base wiki page via POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/to-kb. Minimum role contributor.

Convert a memory node into a knowledge (wiki) page landed back into a knowledge base. This is the reverse bridge of knowledge memory.

## Endpoint

```http theme={null}
POST /v1/workspaces/:workspace_id/cubes/:cube_id/convert/to-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*

Source memory cube id.

## Request body

**node\_id** `string` *required*

The memory node id to convert.

**title** `string`

Title of the generated wiki page; server-decided when omitted.

**kb\_id** `string`

Target knowledge base id; server default when omitted.

## Response

**page\_id** `string`

Generated wiki page id (`wiki_...`).

## Example

```bash cURL theme={null}
curl -X POST https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/cubes/cube_01a2b3c4d5e6/convert/to-kb \
  -H "Authorization: Bearer <jwt>" \
  -H "Content-Type: application/json" \
  -d '{"node_id":"node_01a2b3c4d5e6","title":"AriaMem Bidirectional Conversion","kb_id":"kb_01a2b3c4d5e6"}'
```

```json 200 theme={null}
{
  "page_id": "wiki_01a2b3c4d5e6"
}
```


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