Secure Remote Access

Lists SRA sessions.

Results are returned newest first, ordered by start time, then by session ID. Responses contain up to 1000 sessions.

Pagination: Pass the response's next_page value as the pagination-token in subsequent requests to fetch the next page. Pagination is complete when next_page is empty. Sending an empty pagination-token retrieves the first page. Filters must remain identical across paginated requests to maintain cursor validity.

post/list-sra-sessions

Request

  • Base URL
    https://api.akeyless.io
  • URL
    https://api.akeyless.io/list-sra-sessions
  • Auth
    none declared

Request body

jsonboolean

Set output format to JSON

pagination-tokenstring

Next page reference

resource-typestring[]

session resource type. In case it is empty, all resources type will be returned. options: [mysql, k8s, ssh, mongodb, mssql, postgres, aws, eks, gke, rdp]

status-typestring[]

session status type. In case it is empty, only active sessions will be returned. options: [connecting, connected, failed, completed, terminated]

tokenstring

Authentication token (see /auth and /configure)

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

Response

listSRASessionsResponse wraps response body.

next_pagestring

Cursor for the following page, sent back as the pagination token. Empty when the result set is exhausted, so stop when it is empty rather than waiting for the field to disappear

Changes

No recorded changes to this operation across all 1 revision of this API.