---
title: "Upload transcoder logs"
method: POST
path: "/v1/transcoders/{transcoder_id}/logs/"
---

# Upload transcoder logs

`POST /v1/transcoders/{transcoder_id}/logs/`

## Request

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

Required roles:
 - is_storage_worker

## Path parameters

- `transcoder_id` string, required

## Headers

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

## Request body

- UploadIconikStorageGatewayLogsSchema
  - `filename` string, required

## Response `201`

Returns upload_url and path for transcoder logs

- object
  - `path` string
  - `upload_url` string

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Transcoder does not exist
- `503`: Service unavailable
- `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)
