---
title: "Create Video Upload"
method: POST
path: "/analysis/videos"
tags: ["analysis"]
---

# Create Video Upload

`POST /analysis/videos`

## Request

- Base URL: `https://api.getathly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getathly.com/analysis/videos`
- Auth: HTTP bearer

## Request body

- AnalysisVideoCreateRequest
  - `athlete_slug` string, required
  - `user_id` string
  - `filename` string, required
  - `mime_type` string, required
  - `size_bytes` integer, required

## Response `200`

Successful Response

- AnalysisVideoResponse
  - `id` string, required
  - `user_id` string, required
  - `athlete_id` string, required
  - `storage_bucket` string, required
  - `storage_path` string, required
  - `original_filename` string, required
  - `mime_type` string, required
  - `size_bytes` integer, required
  - `upload_status` string, required
  - `upload_error` string, nullable
  - `metadata` object
  - `created_at` string, required
  - `updated_at` string, required
  - `playback_url` string, nullable
  - `signed_upload_url` string, nullable
  - `upload_token` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getathly/apis/athly-api.md) - [All operations](https://skmtc.dev/getathly/apis/athly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getathly/apis/athly-api/revisions/6adfdc258d75?raw)
