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

> List all API keys in your team with their name, status, and creation date. Use key IDs to filter credit usage reports.

# List team API keys



## OpenAPI

````yaml get /v1/analytics/team-api-keys
openapi: 3.0.0
info:
  description: >-
    The Magnific API is your gateway to a vast collection of high-quality
    digital resources for your applications and projects. As a leading platform,
    it offers a wide range of graphics, including vectors, photos,
    illustrations, icons, PSD templates, and more, all curated by talented
    designers from around the world.
  title: Magnific API
  version: 1.0.0
servers:
  - description: B2B API Production V1
    url: https://api.magnific.com
security:
  - magnificApiKey: []
paths:
  /v1/analytics/team-api-keys:
    get:
      tags:
        - Analytics
      summary: List team API keys
      description: >
        Returns all API keys belonging to the caller's team with their ID,

        display name, and status. Use the returned `api_key_id` values as
        filters

        in `POST /v1/analytics/team-credit-usage`.


        Authenticates via API key (`X-Magnific-API-Key` header). The caller's
        team

        is resolved automatically from the API key.
      responses:
        '200':
          content:
            application/json:
              examples:
                success:
                  $ref: '#/components/examples/200-analytics-team-api-keys'
              schema:
                $ref: >-
                  #/components/schemas/_v1_analytics_team_api_keys_get_200_response
          description: OK
        '403':
          content:
            application/json:
              examples:
                user_not_authorized:
                  summary: User has not privileges to access some resource
                  value:
                    message: User is not authorized to access this resource
                user_not_owner:
                  summary: Collection author id is different from current user's id
                  value:
                    message: User is not owner of requested collection
                item_is_premium:
                  summary: The user cannot download this item because it is premium
                  value:
                    message: The user cannot download this item because it is premium
                creator_not_authorized:
                  summary: Creator has not privileges to access some resource
                  value:
                    message: Creator is not authorized to access this resource
              schema:
                $ref: '#/components/schemas/get_all_style_transfer_tasks_400_response'
          description: >-
            Forbidden - The client does not have permission to access the
            requested resource.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/get_all_style_transfer_tasks_500_response'
          description: >-
            Internal Server Error - The server has encountered a situation it
            doesn't know how to handle.
components:
  examples:
    200-analytics-team-api-keys:
      summary: Success - List of team API keys.
      value:
        data:
          - api_key_id: fpk-abc123def456
            display_name: Production Backend
            status: active
            created_at: '2026-01-15T10:30:00.000Z'
          - api_key_id: fpk-xyz789ghi012
            display_name: Staging
            status: active
            created_at: '2026-03-20T14:00:00.000Z'
  schemas:
    _v1_analytics_team_api_keys_get_200_response:
      example:
        data:
          - api_key_id: fpk-abc123def456
            display_name: Production Backend
            status: active
            created_at: '2026-01-15T10:30:00.000Z'
          - api_key_id: fpk-abc123def456
            display_name: Production Backend
            status: active
            created_at: '2026-01-15T10:30:00.000Z'
      properties:
        data:
          items:
            $ref: '#/components/schemas/team-api-key'
          type: array
      type: object
    get_all_style_transfer_tasks_400_response:
      example:
        message: message
      properties:
        message:
          type: string
      type: object
    get_all_style_transfer_tasks_500_response:
      example:
        message: Internal Server Error
      properties:
        message:
          example: Internal Server Error
          type: string
      type: object
    team-api-key:
      example:
        api_key_id: fpk-abc123def456
        display_name: Production Backend
        status: active
        created_at: '2026-01-15T10:30:00.000Z'
      properties:
        api_key_id:
          description: >-
            API key identifier. Use in `api_key_ids` filter of
            team-credit-usage.
          example: fpk-abc123def456
          type: string
        display_name:
          description: User-defined name for this API key.
          example: Production Backend
          type: string
        status:
          description: API key status.
          enum:
            - active
            - inactive
          example: active
          type: string
        created_at:
          description: When the API key was created.
          example: '2026-01-15T10:30:00.000Z'
          format: date-time
          type: string
      type: object
  securitySchemes:
    magnificApiKey:
      description: >
        Your Magnific API key. Required for authentication. [Learn how to obtain
        an API key](https://docs.magnific.com/quickstart)
      in: header
      name: x-magnific-api-key
      type: apiKey

````