Skip to main content
GET
/
radius
/
users
/
{userId}
/
logs
List Logs for a User
curl --request GET \
  --url https://api.altostrat.io/radius/users/{userId}/logs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "01HGN7RXYZABC123",
      "timestamp": "2023-11-07T05:31:56Z",
      "nas_id": "nas_01HGM5V65A5A5A5A5A5A5A5A5C",
      "username": "john.doe@altostrat.io",
      "status_code": 200,
      "execution_time_ms": 45.8,
      "request": {},
      "response": {}
    }
  ],
  "pagination": {
    "per_page": 25,
    "has_more": true,
    "next_cursor": "eyJwayI6eyJT..."
  },
  "links": {
    "first": "https://api.altostrat.io/radius/users?per_page=25",
    "next": "https://api.altostrat.io/radius/users?per_page=25&cursor=eyJwayI6eyJT..."
  }
}

Authorizations

Authorization
string
header
required

Enter your API key in the format: Bearer <token>

Path Parameters

userId
string
required

The unique identifier for the user, prefixed with rad_usr_.

Query Parameters

per_page
integer
default:25

The number of items to return per page.

Required range: 1 <= x <= 100
cursor
string

An opaque cursor for navigating to the next page of results.

start_date
string<date>

The start date for the time range filter (ISO 8601 format).

Example:

"2025-11-01"

end_date
string<date>

The end date for the time range filter (ISO 8601 format).

Example:

"2025-11-06"

Response

A paginated list of logs for the user.

data
object[]
pagination
object