> Markdown version of https://tuna.am/en/docs/api/team-api-key-list/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# List the team's active API keys without key values

get`/v1/team/api_keys`

List the team's active API keys without key values (for team admins)

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Query Parameters

* **page_size** integer\<int64>

* **page** integer\<int64>

* **user_id** integer\<int64>

  Only keys of the user with this ID; 0 means keys of all members

* **search** string

  Case-insensitive search by description and owner name and email

* **order_by** string

  Sort order: created_at (default, newest first), description (by description), last_used_at (most recently used first), owner (by owner name, or by email if there is no name)

### Response

200application/json

* Array \[
* **created_at**string\<date-time>

  Creation date

  **description**string

  Description

  **Example:&#x20;**`CI deploy key`

  **expire_at**string\<date-time>

  Expiration date

  **id**integer\<int64>

  API key ID

  **Example:&#x20;**`42`

  **last_used_at**string\<date-time>

  Last used date

  **owner** object

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **scopes**string\[]

  Permissions

  **team** object

  **id**integer\<int64>

  Team ID

  **Example:&#x20;**`7`

  **name**string

  Name

  **Example:&#x20;**`Acme Inc`

  **slug**string

  Team slug, used as the suffix of dynamic subdomains

  **Example:&#x20;**`acme`

  **type**string

  Type

  **Possible values:** \[`personal`, `pro`]

  **Example:&#x20;**`pro`

  **token**string

  Token

  **tunnels** object

  **allow_http**boolean

  Allows creating HTTP tunnels

  **allow_tcp**boolean

  Allows creating TCP tunnels

  **domains**string\[]

  Reserved domains that tunnels are allowed on

  **endpoints**string\[]

  Aliases of reserved endpoints that tunnels are allowed on

  **limit_by_active_tunnels**integer\<int64>

  Limit on the number of active tunnels, 0 — unlimited

  **limit_by_created_tunnels**integer\<int64>

  Limit on the total number of created tunnels, 0 — unlimited

  **service_name**string

  Name of the service the key was issued for by `tuna service install`

  ]
