---
title: "Get an album-asset link record"
method: GET
path: "/api/album-assets/{album_asset_id}"
tags: ["album-assets"]
---

# Get an album-asset link record

`GET /api/album-assets/{album_asset_id}`

## Request

- Base URL: `https://api.gumnut.ai`
- URL: `https://api.gumnut.ai/api/album-assets/{album_asset_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Fetches one album-asset link record by ID (the junction row between an album and an asset). Rarely needed directly; most callers want `get_asset` or `get_album` instead.

## Path parameters

- `album_asset_id` string, required: Album-asset junction row ID (with `album_asset_` prefix). Carried by the `id` field on an album-asset link record. Not the same as `asset_id` or `album_id`.

## Response `200`

Successful Response

- AlbumAssetResponse: Represents a link between an album and an asset.
  - `id` string, required: Unique album_asset identifier with 'album_asset_' prefix
  - `album_id` string, required: ID of the album
  - `asset_id` string, required: ID of the asset
  - `created_at` string, date-time, required: When this link was created
  - `updated_at` string, date-time, required: When this link was last updated

## Other responses

- `401`: Missing, invalid, or expired credentials.
- `403`: The credentials are valid but not authorized for this operation — for example an API key whose action or library scope excludes it, or a credential type this operation does not accept.
- `404`: Not found
- `409`: Clerk sign-in could not be associated with the existing account. Resolve the identity conflict before retrying sign-in; repeated requests with unchanged verification and identity state will not resolve it.
- `422`: Validation Error
- `429`: Rate limit exceeded, or too many of your requests are already in progress. Retry after the interval in the `Retry-After` header.
- `503`: Authentication provider temporarily unavailable. Retry sign-in later.

## Changes

- **2026-10-16** `7c2860d9eb88`: 2 info
  - added the non-success response with the status `409`
  - added the non-success response with the status `503`
- **2026-08-08** `815e0302a988`: 1 breaking, 1 info
  - response property `detail` list-of-types was widened by adding types `string` to media type `application/json` of response `422`
  - the response property `detail` became required for the status `422`
- **2026-08-05** `c3e15c78f2da`: 4 info
  - added the media type `application/json` for the response with the status `404`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`

[Operation history](https://skmtc.dev/gumnut-ai/apis/gumnut-api/changes/api/album-assets/:album_asset_id/get.md)

---

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