GET
/
v1
/
motorhead
/
sessions
/
{sessionId}
/
memory
Header
Path
curl --location --request GET 'https://api.getmetal.io/v1/motorhead/sessions/{sessionId}/memory' \
--header 'Content-Type: application/json' \
{
  "data": {
    "messages": [
      { "role": "Human", "content": "Who is the best vocalist of all time?" },
      { "role": "AI", "content": "Ozzy!" }
    ],
    "context": "User ask what can he eat in Colombia. The AI responds arepas are really nice"
  }
}

Auth Headers

x-metal-api-key
string
required

An API key for your org.

x-metal-client-id
string
required

A Client ID for your org.

Params

sessionId
string
required

The Session ID

Response

data
Memory Object