---
title: "Create a transcode job for proxy and keyframes"
method: POST
path: "/v1/assets/{asset_id}/files/{file_id}/keyframes/"
---

# Create a transcode job for proxy and keyframes

`POST /v1/assets/{asset_id}/files/{file_id}/keyframes/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/assets/{asset_id}/files/{file_id}/keyframes/`
- Auth: none declared. Required headers: `Auth-Token`, `App-ID`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/assets/:asset_id/files/:file_id/keyframes/post.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_create_transcode_jobs

## Path parameters

- `asset_id` string, required
- `file_id` string, required

## Headers

- `Auth-Token` string, required
- `App-ID` string, required

## Request body

- TranscodeRequestSchema
  - `job_id` string, uuid, nullable
  - `priority` integer, nullable
  - `set_as_custom_keyframe` boolean, nullable
  - `update_proxy_mediainfo` boolean
  - `use_storage_transcode_ignore_pattern` boolean, nullable

## Response `200`

OK

- TranscodeResponseSchema
  - `job_id` string, uuid

## Other responses

- `204`: Transcode was ignored by Storage ignore pattern
- `400`: Bad request
- `401`: Token is invalid
- `404`: File or asset not found
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-files.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-files/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-files/revisions/ed57d13791a2?raw)
