Skip to content
Dataset Export

Get Dataset Download Info

Retrieves the processing status and download URL for an asynchronous dataset export.

Workflow

  1. Call POST /v1/datasets/{template_id}/download with mode: 1.
  2. Read the task identifier from data.file_download_id in the response.
  3. Pass that identifier as id to poll the export. Read the download URL after the task completes.
GEThttps://b-api.longbridge.xyz/v1/datasets/download/{id}

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Parameters

idstringRequired

Asynchronous export task identifier returned as data.file_download_id by POST /v1/datasets/{template_id}/download when mode is 1.

Responses

HTTP 200On success, returns paginated Get Dataset Download Info records together with pagination metadata such as the page number, page size, and total record count.
Standard response envelopecodemessagedata
dataobjectdata structure
idstring

Returned value: Unique identifier of the current record.

reasonstring

An explanation when the export fails; an empty string on success.

file_namestring

Excluding the file extension.

urlstring

A pre-signed temporary download link (valid for about 300 seconds); an empty string when not yet generated/completed.

statenumber

3 = export completed; other values are as actually returned.

ticket_statusnumber

Ticket status; values are as actually returned.

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs