Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api-tools.memories.ai/llms.txt

Use this file to discover all available pages before exploring further.

Product: Visual Intelligence — Asset Management Use case: Upload, manage, and download video/image assets used by other Visual Intelligence APIs Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
Download an asset by its asset_id. The response body is a binary file stream — not JSON. On error, the response is JSON.
Pricing: $0.12 / GB downloaded

Code Examples

curl --request GET \
  --url https://mavi-backend.memories.ai/serve/api/v2/re_657739295220518912/download \
  --header 'Authorization: sk-mavi-...' \
  --remote-name \
  --remote-header-name

Path Parameters

ParameterTypeRequiredDescription
asset_idstringYesID of the asset to download

Response

Success (200): Binary file stream. Response headers include:
  • Content-Type — MIME type (e.g. video/mp4)
  • Content-Disposition: attachment; filename="..." — original filename
  • Content-Length — file size in bytes
Error: JSON with code, msg, success: false, failed: true.

Notes

  • Use stream=True (Python) or responseType: 'stream' (axios) to avoid loading the entire file into memory.
  • The original filename is in the Content-Disposition header.
  • This is irreversible — once deleted an asset cannot be downloaded.