Auth Headers
An API key for your org.
A Client ID for your org.
Params
The Session ID
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"
}
}
This endpoint gets a single memory.
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"
}
}
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"
}
}