LLM-readable documentation index

Create a Memory Kind Version

Hand off to an LLM

Create the next version of a kind. The new version's number is the kind's latestVersionNum plus one. Existing entries keep the version they were saved under.

POST
/v3/structured-memory/kinds/{kindName}/versions
x-api-key<token>

Authenticate using API Key in request header

In: header

Path Parameters

kindName*string

Name of the kind.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://api.bem.ai/v3/structured-memory/kinds/string/versions" \  -H "Content-Type: application/json" \  -d '{    "attributesSchema": {}  }'
{
  "id": "string",
  "kindName": "string",
  "versionNum": 0,
  "attributesSchema": {},
  "file": {
    "inputTypes": [
      "pdf"
    ]
  },
  "createdAt": "2019-08-24T14:15:22Z"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}

See also