---
title: "File Content"
method: POST
path: "/file/content"
tags: ["Files"]
---

# File Content

`POST /file/content`

## Request body

- FileContentReadReq
  - `project_id` string, required
  - `digest` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-07** `d6e39f7c717d` — 1 breaking, 1 info
  - removed the media type `application/octet-stream` for the response with the status `200`
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/wandb/apis/fastapi/changes/file/content/post.md)

---

[API](https://skmtc.dev/wandb/apis/fastapi.md) · [All operations](https://skmtc.dev/wandb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wandb/fastapi/revisions/56745769989b/schema)
