> ## 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 upload URL



## OpenAPI

````yaml /api-reference/openapi.json post /v1/volumes/{name}/upload-url
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/volumes/{name}/upload-url:
    post:
      tags:
        - Volumes
      summary: Create upload URL
      operationId: create_upload_url
      parameters:
        - name: name
          in: path
          description: Volume name
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VolumeUploadRequest'
        required: true
      responses:
        '200':
          description: A single-shot PUT URL (<= 5 GiB) or a multipart-init descriptor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadUrlResponse'
        '404':
          description: Not found or not owned by the caller
        '422':
          description: Request body failed validation (bad path or size)
      security:
        - bearerAuth: []
components:
  schemas:
    VolumeUploadRequest:
      type: object
      required:
        - path
        - size_bytes
      properties:
        path:
          type: string
        size_bytes:
          type: integer
          format: int64
    UploadUrlResponse:
      oneOf:
        - $ref: '#/components/schemas/VolumeSinglePartUploadResponse'
        - $ref: '#/components/schemas/VolumeMultipartInitResponse'
    VolumeSinglePartUploadResponse:
      type: object
      required:
        - type
        - url
      properties:
        type:
          type: string
        url:
          type: string
    VolumeMultipartInitResponse:
      type: object
      required:
        - type
        - upload_id
        - path
        - part_size
        - complete_url
      properties:
        type:
          type: string
        upload_id:
          type: string
        path:
          type: string
        part_size:
          type: integer
          format: int64
        complete_url:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: API key with the `vk_` prefix. Create one from the dashboard.

````