Skip to main content

Base URL

Authentication

All API requests require a Bearer token. Create an API key from the dashboard or via the API keys endpoint.
API keys use the vk_ prefix and are hashed server-side. Manage keys from the Veri dashboard.

Endpoints

Datasets

Reward Functions

Training Jobs

See the Training jobs API for full schemas.

Deployments

Volumes

See the Volumes guide for usage.

Billing

API Keys

SSH Keys

Request Format

  • JSON endpoints (POST /v1/training_jobs): Use Content-Type: application/json with a JSON body.
  • Upload endpoints (POST /v1/datasets, POST /v1/reward_functions): Use multipart/form-data.
  • Connector endpoints (POST /v1/datasets/connect, POST /v1/datasets/connect/validate): Send JSON bodies.

Response Format

Responses are standard JSON. Every response object includes an object field that identifies the resource type (e.g., "training_job", "deployment", "dataset", "reward_function", "api_key", "ssh_key"). Single-resource endpoints return one object. List endpoints return cursor-paginated responses:
Success (2xx)
Error (4xx/5xx)

Common Status Codes

Pagination

List endpoints support cursor-based pagination with limit and after query parameters:
The response includes a has_more field indicating whether additional pages exist:
To paginate, pass the id of the last item in data as the after parameter in the next request.