curl -X GET "https://api.flumes.ai/v1/memories?user_id=session-123&limit=5" \
  -H "Authorization: Bearer $FLUMES_API_KEY"
{
  "results": [
    {
      "id": "mem_8dfe6a4f",
      "memory": "Paris is the capital of France.",
      "user_id": "session-123",
      "score": 0.97,
      "created_at": "2024-06-30T12:10:23Z"
    }
  ]
}
Authorization
string
required
Bearer token used for authentication. Format: Bearer YOUR_API_KEY.
user_id
string
Filter memories belonging to a specific user or session.
agent_id
string
Filter by agent identifier. At least one of user_id or agent_id is required.
query
string
Search term. If omitted the endpoint returns the most recent memories sorted by creation time.
limit
integer
default:"20"
Maximum number of results to return (1-200).
curl -X GET "https://api.flumes.ai/v1/memories?user_id=session-123&limit=5" \
  -H "Authorization: Bearer $FLUMES_API_KEY"
{
  "results": [
    {
      "id": "mem_8dfe6a4f",
      "memory": "Paris is the capital of France.",
      "user_id": "session-123",
      "score": 0.97,
      "created_at": "2024-06-30T12:10:23Z"
    }
  ]
}