Skip to main content
POST
/
v1
/
memories
/
extract
Extract memories from conversation
curl --request POST \
  --url http://localhost:8080/v1/memories/extract \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "conversation": [
    {
      "content": "<string>"
    }
  ],
  "auto_store": true
}
'
{
  "extracted": [
    {
      "type": "<string>",
      "content": "<string>",
      "confidence": 123,
      "evidence_type": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "count": 123
}

Authorizations

Authorization
string
header
required

API key with mk_ or rk_ prefix

Body

application/json
agent_id
string<uuid>
required
conversation
object[]
required
auto_store
boolean
default:true

Response

200 - application/json

Extracted memories

extracted
object[]
count
integer