Skip to main content

List SSH sessions

get/v1/ssh_sessions

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Query Parameters

  • page_size integer<int64>
  • page integer<int64>
  • search string

    Case-insensitive search by title, SSH user, author name or email; exact match by ID

  • access string

    Access: link (open via link), team (team only)

  • username string

    Exact SSH login

  • tunnel_id integer<int64>

    Only recordings of the tunnel with this ID

  • order_by string

    Sort order: created_at (default, newest first), duration (longest first), username

Response

  • Array [
  • author object
    avatar_urlstring

    Avatar URL

    Example: https://cdn.tuna.am/avatars/42.png
    idinteger<int64>

    User ID

    Example: 42
    namestring

    User name

    Example: Ivan Petrov
    can_view_with_linkboolean

    The recording can be viewed via a link

    created_atstring<date-time>

    Creation date

    durationnumber<double>

    Recording duration in seconds

    Example: 12.5
    heightinteger<int64>

    Terminal height in rows

    Example: 24
    idstring

    Session recording ID

    Example: 2dBvKpR7Wm2vXtL8Hc6sFjY3bQe
    titlestring

    Title

    Example: deploy on prod
    usernamestring

    SSH username

    Example: root
    widthinteger<int64>

    Terminal width in columns

    Example: 80
  • ]