---
title: "Get an asset"
method: GET
path: "/assets/{assetId}"
tags: ["Assets"]
---

# Get an asset

`GET /assets/{assetId}`

Returns metadata for one asset when it is accessible to the authenticated public API key. Missing and inaccessible assets both return 404.

## Path parameters

- `assetId` string, required — Asset identifier

## Response `200`

Asset returned.

- object
  - `asset_id` string, required — Asset identifier
  - `name` string, nullable, required — Asset name
  - `description` string, nullable, required — Asset description
  - `workspace_id` string, nullable, required — Workspace identifier
  - `url` string, uri, nullable, required — Asset URL
  - `content_type` string, required — Asset content type
  - `upload_content_type` string, nullable, required — Content type provided at upload time
  - `size_bytes` integer, nullable, required
  - `uploaded_via` string, required — Asset source
  - `created_at` string, date-time, nullable, required — Asset creation time (ISO 8601 datetime)
  - `status` 'pending_upload' | 'ready' | 'failed', required
  - `failure_message` string, nullable, required — Failure message when the asset is in failed status
  - `width` integer, nullable, required
  - `height` integer, nullable, required

## Other responses

- `400` — 400
- `401` — 401
- `402` — 402
- `403` — 403
- `404` — 404
- `409` — 409
- `429` — 429
- `500` — 500

---

[API](https://skmtc.net/florafauna-ai/apis/flora-ai-api.md) · [All operations](https://skmtc.net/florafauna-ai/apis/flora-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/florafauna-ai/flora-ai-api/versions/2f4a714f8ce9/schema)
