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

# Get all team-level API keys



## OpenAPI

````yaml https://api.wirespeed.co/v1/openapi.json get /v1/team/api-keys
openapi: 3.0.0
info:
  title: Wirespeed API
  description: The public Wirespeed API. v1 is the first stable contract.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.wirespeed.co
security: []
tags: []
paths:
  /v1/team/api-keys:
    get:
      tags:
        - Team
      summary: Get all team-level API keys
      operationId: TeamController_getTeamApiKeys
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApiKey'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '401':
          description: ''
      security:
        - bearer: []
components:
  schemas:
    ApiKey:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the API key
        teamId:
          type: string
          description: ID of the team this API key belongs to
        userId:
          type: string
          description: ID of the user who created this API key
        expiration:
          type: string
          description: Expiration date and time for the API key
        lastUsed:
          type: string
          nullable: true
          description: Timestamp when the API key was last used
        role:
          type: string
          enum:
            - ADMIN
            - ANALYST
            - VIEWER
          description: Role permissions assigned to this API key
        name:
          type: string
          description: Name assigned to the API key
        createdAt:
          type: string
          description: Timestamp when the API key was created
      required:
        - id
        - teamId
        - userId
        - expiration
        - role
        - name
        - createdAt
    HttpError:
      type: object
      properties:
        message:
          type: string
        statusCode:
          type: number
      required:
        - message
        - statusCode
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Team API key sent as a Bearer token. Create a key in Wirespeed under
        Settings → Team. See
        https://docs.wirespeed.co/api-reference/authentication.

````