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

# Create API key



## OpenAPI

````yaml /api-reference/openapi.json post /v1/api_keys
openapi: 3.1.0
info:
  title: Veri API
  description: >-
    REST API for the Veri RL post-training platform. All requests require a
    Bearer API key (`vk_` prefix).
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.veri.studio
    description: Production
security: []
tags:
  - name: Training jobs
    description: Create, monitor, and manage training jobs.
  - name: Datasets
    description: Upload and connect training datasets.
  - name: Reward functions
    description: Upload and manage reward functions.
  - name: Deployments
    description: Serve trained models and run inference.
  - name: Evaluations
    description: Score models against datasets and benchmarks.
  - name: Volumes
    description: Persistent file storage mounted into jobs.
  - name: Models
    description: Custom model registry deployments serve from.
  - name: Regions
    description: Discover available launch regions.
  - name: GPU
    description: Live GPU availability by provider and region.
  - name: Code artifacts
    description: Upload custom training script bundles.
  - name: Billing
    description: Credit balance and transaction history.
  - name: API keys
    description: Create and revoke API keys.
  - name: Account
    description: The authenticated caller's identity.
  - name: SSH keys
    description: Manage SSH key pairs for compute access.
  - name: Settings
    description: Account-level integrations (Weights & Biases).
paths:
  /v1/api_keys:
    post:
      tags:
        - API keys
      summary: Create API key
      operationId: create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateKeyRequest'
        required: true
      responses:
        '200':
          description: The created key, including the plaintext value returned once
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateKeyResponse'
        '422':
          description: Request body failed validation
      security:
        - bearerAuth: []
components:
  schemas:
    CreateKeyRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        email:
          type:
            - string
            - 'null'
          description: >-
            Server-injected display email for the authenticated user. Set by the
            web

            proxy from the signed-in Clerk session (never trusted from a browser

            body). Absent for keys minted outside the proxy (SDK, CI). When
            present,

            it upserts `users.email` so `/v1/me` and the CLI can show the
            account.
    CreateKeyResponse:
      allOf:
        - $ref: '#/components/schemas/ApiKeyResponse'
        - type: object
          required:
            - key
          properties:
            key:
              type: string
              description: Plaintext key returned ONCE on creation. Save it immediately.
    ApiKeyResponse:
      type: object
      required:
        - object
        - id
        - name
        - key_prefix
        - created_at
      properties:
        object:
          type: string
        id:
          type: string
        name:
          type: string
        key_prefix:
          type: string
        created_at:
          type: string
          format: date-time
        last_used_at:
          type:
            - string
            - 'null'
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: API key with the `vk_` prefix. Create one from the dashboard.

````