GET
/
agents
/
{agent_id}
/
sessions
Get Agent Sessions
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 ID of the agent whose sessions are requested.

Response

200 - application/json

A list of sessions for the specified agent.

Response model containing a list of all retrieved memory sessions.

sessions
MemorySession · object[]
required

The list of session objects.