POST
/
graph
/
{graph_name}
/
insert
curl --request POST \
  --url https://api.circlemind.co/graph/{graph_name}/insert \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "memory": "<string>",
  "metadata": "<string>",
  "memoryId": "<string>"
}'
{
  "requestId": "<string>",
  "requestTime": 123,
  "memoryId": "<string>"
}

Authorizations

apiKey
string
header
required

Path Parameters

graph_name
string
required

Body

application/json

Data model for insert request.

memory
string
required

Raw text to be inserted into the graph

metadata
string | null

Stringified JSON dictionary containing any metadata to link to the given memory.

(i.e., '{"id": "asdash-234fdsc-erwer-wqes2", "url": "https://example.com"}')

memoryId
string | null

Reserved

Response

200
application/json
Successful Response

Data model for insert response.

requestId
string
required

Unique request ID to be used to track the request status

requestTime
integer
required

Further value to provide to track the request status

memoryId
string
required

Reserved