Skip to main content
GET
/
v1
/
agents
/
{agent_id}
/
sessions
Get Sessions by Agent ID
curl --request GET \
  --url http://localhost:8080/v1/agents/{agent_id}/sessions
{
  "sessions": [
    {
      "user_ids": [
        "<string>"
      ],
      "session_id": "<string>",
      "group_id": "<string>",
      "agent_ids": [
        "<string>"
      ]
    }
  ]
}

Path Parameters

agent_id
string
required

The agent ID to filter by.

Response

200 - application/json

List of memory sessions.

Response model containing a list of all retrieved memory sessions.

sessions
MemorySession · object[]
required

The list of session objects.