---
title: "GET /v1/projects/{projectId}/assets/{assetId}/content"
method: GET
path: "/v1/projects/{projectId}/assets/{assetId}/content"
tags: ["Project Details"]
---

# GET /v1/projects/{projectId}/assets/{assetId}/content

`GET /v1/projects/{projectId}/assets/{assetId}/content`

## Request

- Base URL: `https://api.spectra.fm` (the document declares no server; this is the origin it was published from)
- URL: `https://api.spectra.fm/v1/projects/{projectId}/assets/{assetId}/content`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/spectra/apis/spectra-fm-api/docs/v1/projects/:projectId/assets/:assetId/content/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch asset content (text only)

## Path parameters

- `projectId` string, required
- `assetId` string, required

## Response `200`

Asset content retrieved successfully

- object
  - `content` string, required
  - `mimeType` string, required
  - `filename` string, required

## Other responses

- `400`: Asset content not readable
- `401`: Authentication required
- `403`: Access denied
- `404`: Asset not found

---

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