Update Session
curl --request PUT \
--url https://api.recallrai.com/api/v1/users/{custom_user_id}/sessions/{session_id} \
--header 'Content-Type: application/json' \
--header 'X-Recallr-Api-Key: <x-recallr-api-key>' \
--header 'X-Recallr-Project-Id: <x-recallr-project-id>' \
--data '
{
"new_metadata": {}
}
'{
"session": {
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
}Sessions
Update Session
Update session metadata.
Replace the entire metadata object for a session. Use this to attach custom attributes like conversation topics, tags, or application-specific data to your sessions.
Path Parameters:
custom_user_id(str): Unique identifier for the user owning the sessionsession_id(UUID): Session UUID to update
Body Parameters:
new_metadata(Dict[str, Any]): New metadata JSON object (replaces existing metadata completely)
Returns:
session(SessionInfo): Updated session with new metadata
PUT
/
api
/
v1
/
users
/
{custom_user_id}
/
sessions
/
{session_id}
Update Session
curl --request PUT \
--url https://api.recallrai.com/api/v1/users/{custom_user_id}/sessions/{session_id} \
--header 'Content-Type: application/json' \
--header 'X-Recallr-Api-Key: <x-recallr-api-key>' \
--header 'X-Recallr-Project-Id: <x-recallr-project-id>' \
--data '
{
"new_metadata": {}
}
'{
"session": {
"session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"metadata": {}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.recallrai.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Response
Session updated successfully
Show child attributes
Show child attributes
Was this page helpful?
⌘I