> ## Documentation Index
> Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Account Logs



## OpenAPI

````yaml /api/en/radius.yaml get /radius/accounts/{id}/logs
openapi: 3.0.3
info:
  title: Altostrat RADIUS API
  version: 1.0.0
  description: >-
    The Altostrat RADIUS API is the microservice responsible for managing
    network user identities, device authentication, and access control policies.


    **Base URL:** `https://v1.api.altostrat.io`


    This API allows you to programmatically manage:

    - **Accounts:** The identities connecting to the network (formerly Users).

    - **Account Containers:** Hierarchical organization units for accounts
    (folders/organizational units).

    - **Groups:** Collections of accounts that share common access policies.

    - **NAS Devices:** Network Access Servers (routers/APs) that authenticate
    clients.

    - **Tags:** Flexible labels for organizing resources.

    - **Realms:** Routing realms for authentication requests.

    - **Insights:** Network analytics and health metrics.
servers:
  - url: https://v1.api.altostrat.io
security:
  - bearerAuth: []
tags:
  - name: Platform
    description: General platform statistics and attribute definitions.
  - name: Account Containers
    description: Manage hierarchical containers for organizing accounts.
  - name: Accounts
    description: Manage RADIUS user accounts (identities).
  - name: Groups
    description: Manage policy groups.
  - name: NAS Devices
    description: Manage Network Access Servers.
  - name: Realms
    description: Manage authentication realms.
  - name: Tags
    description: Manage organizational tags.
  - name: Insights
    description: Analytical data and network health metrics.
  - name: Data Migration
    description: Tools for bulk-importing data.
  - name: Certificates
    description: PKI management for RadSec.
  - name: Logs
    description: Access audit and authentication logs.
paths:
  /radius/accounts/{id}/logs:
    get:
      tags:
        - Logs
      summary: List Account Logs
      parameters:
        - $ref: '#/components/parameters/AccountId'
        - $ref: '#/components/parameters/PerPage'
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/StartDate'
        - $ref: '#/components/parameters/EndDate'
      responses:
        '200':
          description: Logs for this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NasLogListResponse'
components:
  parameters:
    AccountId:
      name: id
      in: path
      required: true
      schema:
        type: string
        pattern: ^rad_usr_[A-Za-z0-9_\-]+$
    PerPage:
      name: per_page
      in: query
      schema:
        type: integer
        default: 25
    Cursor:
      name: cursor
      in: query
      schema:
        type: string
    StartDate:
      name: start_date
      in: query
      schema:
        type: string
        format: date
      description: Filter by start date (YYYY-MM-DD).
    EndDate:
      name: end_date
      in: query
      schema:
        type: string
        format: date
      description: Filter by end date (YYYY-MM-DD).
  schemas:
    NasLogListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/NasLog'
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
    NasLog:
      type: object
      properties:
        id:
          type: string
        timestamp:
          type: string
        nas_id:
          type: string
        username:
          type: string
        status_code:
          type: integer
        execution_time_ms:
          type: number
        request:
          type: object
        response:
          type: object
    PaginationMeta:
      type: object
      properties:
        per_page:
          type: integer
        has_more:
          type: boolean
        next_cursor:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````