---
title: "Suggest alt text and tags for an image"
method: POST
path: "/v1/media/{id}/suggest"
tags: ["media"]
---

# Suggest alt text and tags for an image

`POST /v1/media/{id}/suggest`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/media/{id}/suggest`
- Auth: HTTP bearer

Analyze an image asset and return suggested altText and tags. This only returns suggestions; it does not save them, so use the update-media-asset operation to accept them. Only images are supported. If this feature is temporarily unavailable, the response returns empty values rather than failing.

**Notes.**
- Suggestions only: nothing is saved.

## Path parameters

- `id` string, required

## Response `200`

Success.

- object
  - `data` object, required
    - `altText` string, nullable, required
    - `tags` string[], required

## Other responses

- `400`: `wrong_kind`: not an image.
- `401`: Missing, expired or revoked bearer token.
- `403`: The token lacks the permission this operation needs (see `x-brix-permission`).
- `404`: No media with this id, or no bytes.
- `413`: Over 32 MB.
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

[API](https://skmtc.dev/brixsignage/apis/brix-api.md) · [All operations](https://skmtc.dev/brixsignage/apis/brix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/brixsignage/apis/brix-api/revisions/02fd3665dc7d?raw)
