Library
Stream a library item's original image, audio, or file bytes
Returns the authenticated original with its stored MIME type and supports a single HTTP byte range for audio, video, and large documents.
GET
https://api.smry.ai
/
v1
/
library
/
items
/
{id}
/
asset
Stream a library item's original image, audio, or file bytes
curl --request GET \
--url https://api.smry.ai/v1/library/items/{id}/asset \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.smry.ai/v1/library/items/{id}/asset"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.smry.ai/v1/library/items/{id}/asset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}Authorizations
oauth2AuthbearerAuthapiKeyAuth
Clerk OAuth 2.0 Authorization Code flow with PKCE. Request the minimum scope required by the operation.
Path Parameters
Identifier of the resource, as returned by the matching list or create operation. UUID that identifies the resource; pass it back exactly as smry returned it.
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Response
Successful response
Last modified on September 13, 2026
⌘I
Stream a library item's original image, audio, or file bytes
curl --request GET \
--url https://api.smry.ai/v1/library/items/{id}/asset \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.smry.ai/v1/library/items/{id}/asset"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.smry.ai/v1/library/items/{id}/asset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}{
"error": "cursor: expected a next_cursor from a previous response.",
"code": "invalid_request",
"field": "where.published_after",
"hint": "<string>",
"retryable": true,
"retryAfter": 123,
"details": "<string>"
}