> For the complete documentation index, see [llms.txt](https://docs.superdesk.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superdesk.org/api-reference/readme/assets.md). Agents can also search and read this documentation through its [MCP server](https://docs.superdesk.org/~gitbook/mcp).

# Assets

## Get media asset

> Retrieve a media asset by its ID

```json
{"openapi":"3.0.2","info":{"title":"Superdesk Production API","version":"2.0"},"servers":[{"url":"/prodapi/v1","description":"Production API v1 Server"}],"security":[{"oauth2Auth":["ARCHIVE_READ"]}],"components":{"securitySchemes":{"oauth2Auth":{"type":"oauth2","description":"OAuth 2.0 client credentials flow via Superdesk Auth Server.\n\nSee: https://superdesk.readthedocs.io/en/latest/auth_server.html\n","flows":{"clientCredentials":{"tokenUrl":"/api/auth_server/token","scopes":{"ARCHIVE_READ":"Read archive items","DESKS_READ":"Read desks","PLANNING_READ":"Read planning items","CONTACTS_READ":"Read contacts","USERS_READ":"Read users and user availability","ASSIGNMENTS_READ":"Read assignments","EVENTS_READ":"Read events, event files and event history","CONTENT_LISTS_READ":"Read content lists and their items"}}}}},"responses":{"Unauthorized":{"description":"Unauthorized - Invalid or missing access token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"Forbidden":{"description":"Forbidden - Access token does not have the required scope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"NotFound":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"schemas":{"ErrorResponse":{"type":"object","required":["_status","_error"],"properties":{"_status":{"type":"string"},"_error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}},"_issues":{"type":"object","description":"Optional details about the error","additionalProperties":true}}}}},"paths":{"/assets/{media_id}":{"get":{"summary":"Get media asset","description":"Retrieve a media asset by its ID","tags":["Assets"],"parameters":[{"name":"media_id","in":"path","description":"Media ID with extension (e.g., MEDIA_ID.jpg)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Media file","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.superdesk.org/api-reference/readme/assets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
