---
title: "Get upload transaction information"
method: GET
path: "/v2/media/s3/upload-transactions"
tags: ["Media - S3 Direct Upload"]
---

# Get upload transaction information

`GET /v2/media/s3/upload-transactions`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/media/s3/upload-transactions`
- Auth: none declared

Retrieves metadata about a file that has been uploaded to S3.

## Query parameters

- `key` string, required
- `bucket` string, required

## Response `200`

File information retrieved successfully

- JsonOkResponseS3FileInfoResponse
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` S3FileInfoResponse: Information about a file stored in S3
    - `key` string, required: S3 object key
    - `bucket` string, required: Name of the S3 bucket
    - `fileUrl` string, required: Full URL to access the file
    - `size` integer, required: Size of the file in bytes
    - `contentType` string: Content type of the file
    - `lastModified` string, date-time: Last modified timestamp
    - `etag` string: ETag of the object

## Other responses

- `401`: User not authenticated
- `403`: Feature not enabled for user
- `404`: File not found

---

[API](https://skmtc.dev/metricool/apis/metricool-api.md) · [All operations](https://skmtc.dev/metricool/apis/metricool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metricool/apis/metricool-api/revisions/cd0ca612fa01?raw)
