Create a Memory Kind Version
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.
Authorization
API Key Authenticate using API Key in request header
In: header
Path Parameters
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
- Structured Memory guide — worked example, Memory URIs, limits, error codes