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

# Get v1whoami



## OpenAPI

````yaml /openapi/platform.json get /v1/whoami
openapi: 3.1.0
info:
  title: GOL Platform API
  description: Public control-plane API for GOL developer projects and credentials.
  version: 0.1.0
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
paths:
  /v1/whoami:
    get:
      tags:
        - projects
      operationId: getApiKeyIdentity
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - project
                  - environment
                  - apiKey
                properties:
                  project:
                    additionalProperties: false
                    type: object
                    required:
                      - id
                      - name
                      - slug
                      - createdAt
                      - environments
                    properties:
                      id:
                        format: uuid
                        type: string
                      name:
                        type: string
                      slug:
                        type: string
                      createdAt:
                        format: date-time
                        type: string
                      environments:
                        type: array
                        items:
                          additionalProperties: false
                          type: object
                          required:
                            - name
                            - status
                          properties:
                            name:
                              anyOf:
                                - type: string
                                  enum:
                                    - test
                                - type: string
                                  enum:
                                    - live
                            status:
                              anyOf:
                                - type: string
                                  enum:
                                    - active
                                - type: string
                                  enum:
                                    - unavailable
                  environment:
                    anyOf:
                      - type: string
                        enum:
                          - test
                      - type: string
                        enum:
                          - live
                  apiKey:
                    additionalProperties: false
                    type: object
                    required:
                      - id
                      - name
                      - environment
                      - hint
                      - scopes
                      - createdAt
                      - expiresAt
                      - revokedAt
                      - lastUsedAt
                    properties:
                      id:
                        format: uuid
                        type: string
                      name:
                        type: string
                      environment:
                        anyOf:
                          - type: string
                            enum:
                              - test
                          - type: string
                            enum:
                              - live
                      hint:
                        type: string
                      scopes:
                        type: array
                        items:
                          anyOf:
                            - type: string
                              enum:
                                - project:read
                            - type: string
                              enum:
                                - accounts:read
                            - type: string
                              enum:
                                - mandates:read
                            - type: string
                              enum:
                                - mandates:write
                            - type: string
                              enum:
                                - actions:submit
                            - type: string
                              enum:
                                - webhooks:manage
                      createdAt:
                        format: date-time
                        type: string
                      expiresAt:
                        anyOf:
                          - format: date-time
                            type: string
                          - type: 'null'
                      revokedAt:
                        anyOf:
                          - format: date-time
                            type: string
                          - type: 'null'
                      lastUsedAt:
                        anyOf:
                          - format: date-time
                            type: string
                          - type: 'null'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - error
                properties:
                  error:
                    additionalProperties: false
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````