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

# Get a Keypair



## OpenAPI

````yaml get /v1/secrets/keypair
openapi: 3.0.0
info:
  title: Browserbase API
  description: Browserbase API for 3rd party developers
  version: v1
servers:
  - url: https://api.browserbase.com
    description: Public endpoint
    variables: {}
security:
  - BrowserbaseAuth: []
tags: []
paths:
  /v1/secrets/keypair:
    get:
      summary: Get a Keypair
      operationId: Secrets_getKeypair
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecretsKeypair'
components:
  schemas:
    SecretsKeypair:
      type: object
      properties:
        id:
          description: >-
            Identifier of the keypair the public key was minted from. Pass this
            back when creating a secret so the ciphertext records which keypair
            sealed it, which keeps decryption correct across keypair rotation.
          type: string
        publicKey:
          description: >-
            The project's HPKE public encryption key, base64-encoded. Encrypt
            secret values with this key before creating a secret.
          type: string
      required:
        - id
        - publicKey
  securitySchemes:
    BrowserbaseAuth:
      type: apiKey
      in: header
      name: X-BB-API-Key
      description: Your [Browserbase API Key](https://www.browserbase.com/settings).

````