---
title: "GET /teams/{team_name}/apikeys"
method: GET
path: "/teams/{team_name}/apikeys"
tags: ["teams"]
---

# GET /teams/{team_name}/apikeys

`GET /teams/{team_name}/apikeys`

List all team API Keys

## Path parameters

- `team_name` string, required — The unique name for the team.

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

Response

- object
  - `items` APIKey[], required
    - `name` string, required — Name of the API key
    - `created_by` string — email of the user that created the API key
    - `id` string, uuid, required — ID of the API key
    - `key` string — API key. Will be shown only in the response when creating the key.
    - `created_at` string, date-time
    - `expires_at` string, date-time, required — Timestamp at which API key will stop working
    - `last_access_at` string, date-time — Timestamp at which API key was last used - accurate to the day only.
    - `expired` boolean, required — Whether the API key has expired or not
    - `scope` 'read-and-write' | 'syncs-operations-only', required — Scope of permissions for the API key. API keys are used for creating new plugin versions and downloading existing plugins
  - `metadata` ListMetadata, required
    - `total_count` integer
    - `last_page` integer
    - `page_size` integer, required
    - `time_ms` integer

## Other responses

- `401` — Requires authentication
- `404` — Resource not found
- `500` — Internal Error

---

[API](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec.md) · [All operations](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudquery/cloudquery-openapi-spec/versions/4af580f9023b/schema)
