---
title: "Get file metadata for debugging"
method: GET
path: "/api/v1/s3/file-metadata"
tags: ["main", "s3"]
---

# Get file metadata for debugging

`GET /api/v1/s3/file-metadata`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/s3/file-metadata`
- Auth: none declared

Get file metadata including creation timestamp for debugging.

Access Control:
* Superusers can request any key.
* Regular users can only request resources belonging to **their** workflow runs.

## Query parameters

- `key` string, required: S3 object key

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Response `200`

Successful Response

- FileMetadataResponse
  - `key` string, required
  - `metadata` object, nullable, required

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/s3/file-metadata/get.md)

---

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