Skip to content

Assets

Generated assets are files produced by the AI during a conversation (images, data files, etc.).

Downloading Assets

Terminal window
curl https://ghostmind.optdmsa.com/v1/conversations/{conversation_id}/assets/{asset_id}/download \
-H "Authorization: Bearer sk-gm-..." \
-o asset.png

Asset Security

  • Assets are tenant-isolated — cross-tenant access returns 404
  • Download requires authentication
  • Path traversal prevention is enforced
  • Only is_downloadable assets can be downloaded

Next Steps