Skip to main content
    Ivy Biosciences Docs/Call the platform/API/Reference/Reference/Sandbox/GET /v1/sandbox/{chatId}/export/{assetId}/download

    GET /v1/sandbox/{chatId}/export/{assetId}/download

    Get a download link for an exported file — Returns a short-lived signed link (valid for 5 minutes) to a file your chat's sandbox exported.

    Auth: required. Send an ivy_ API key (Authorization: Bearer ivy_… or X-Ivy-Api-Key), a Clerk session JWT (Authorization: Bearer …) or the Clerk __session cookie (browser sessions). See Authentication.

    Returns a short-lived signed link (valid for 5 minutes) to a file your chat's sandbox exported. The asset must belong to the chat and be within your storage scope.

    Request

    Path parameters

    chatIdstring

    ID of the chat that owns the sandbox

    assetIdstring

    ID of the exported asset, as listed in the sandbox manifest

    Responses

    200 OK

    Signed download link

    Response shape:

    urlstring (uri)

    Short-lived signed download link

    filenamestring

    Display name of the file

    sizeBytesinteger
    expiresAtstring (date-time)

    When the link stops working (5 minutes after issue)

    401 Unauthorized

    Authentication required

    Response shape: object

    403 Forbidden

    You do not own this chat, your key's project scope excludes it, or the asset belongs to a different chat

    Response shape: object

    404 Not Found

    Resource not found

    Response shape: object

    429 Too Many Requests

    Rate limit exceeded

    Response shape: object

    curl -X GET 'https://ivybiosciences.com/api/v1/sandbox/{chatId}/export/{assetId}/download' \
      -H "Authorization: Bearer $IVY_API_KEY"

    Was this page helpful?

    Loading...