Memories

Memories is a collection of data resources (text, image, video) that you can feed your twin.Your twin will save and store these files as memories. In the future, your twin will be able to utilize these memories to make intelligent insights.


List All Memories of My Twin

Add a Memory to My Twin

Delete A Memory


§List All Memories of My Twin

To see a list of all the memories your twin holds you can use the following request. This will return an

curl --location --request GET '<API_URL>/memories/' \ --header 'Content-Type: application/vnd.api+json' \ --header 'X-Organization: <ORG_ID>' \ --header 'X-Twin: <TWIN_ID>' \ --header 'Authorization: Token <ACCESS_TOKEN>'

§Add a Memory to My Twin

curl --location --request POST '<API_URL>/memories/' \ --header 'Content-Type: application/vnd.api+json' \ --header 'X-Organization: <ORG_ID>' \ --header 'X-Twin: <TWIN_ID>' \ --header 'Authorization: Token <ACCESS_TOKEN>' \ --data-raw '{ "data": { "type": "memories", "attributes": { "text": "this is a test" } } }'

§Delete a Memory

curl --location --request DELETE '<API_URL>/memories/<MEMORY_ID>' \ --header 'Content-Type: application/vnd.api+json' \ --header 'X-Organization: <ORG_ID>' \ --header 'X-Twin: <TWIN_ID>' \ --header 'Authorization: Token <ACCESS_TOKEN>'