> ## 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.

# Save a model (compat alias)



## OpenAPI

````yaml /api-reference/openapi.json post /v1/models/register
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/models/register:
    post:
      tags:
        - Models
      summary: Save a model (compat alias)
      operationId: register
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
        required: true
      responses:
        '200':
          description: The existing model (idempotent repeat save)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelResponse'
        '201':
          description: The saved model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    RegisterRequest:
      type: object
      description: Legacy flat body for POST /v1/models/register (compat alias).
      required:
        - training_job_id
        - name
      properties:
        training_job_id:
          type: string
        name:
          type: string
    ModelResponse:
      type: object
      required:
        - object
        - id
        - name
        - base_model
        - source
        - status
        - created_at
        - updated_at
      properties:
        object:
          type: string
        id:
          type: string
        name:
          type: string
        base_model:
          type: string
        source:
          type: string
        status:
          type: string
        training_job_id:
          type:
            - string
            - 'null'
        huggingface_id:
          type:
            - string
            - 'null'
        size_bytes:
          type:
            - integer
            - 'null'
          format: int64
        error:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: API key with the `vk_` prefix. Create one from the dashboard.

````