Data Query Tasks List

🔒

Requires read_data access scope.

The Data Query Tasks List API allows for a paginated query of all data query tasks created by the current store. By default, it displays the first page with 20 records per page and supports up to 250 records per page.

This API is especially useful for:

  1. Reviewing historical data query tasks created by the store.
  2. Monitoring the status and details of each data query task.
  3. Managing large datasets efficiently with pagination.

Request Parameters

Public Request Parameters

📘

Public Request Parameters


Query Parameters

ParameterTypeRequiredDescriptionExample
pageint32NoPage number, default is 1.2
limitint32NoResults per page, default is 20.15

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Success Response

FieldTypeDescriptionExample
tasks[]arrayarray of task object
tasks.query_idstringUnique identifier for the query task."d6ca13c4-43d0-4293-a124-c8bde3a3fa16"
tasks.query_statusintStatus of the query task (e.g., 2 for completed).2
tasks.queryobject
tasks.query.urlstringURL to access the query results."https://shoplazza.oss-cn-shenzhen.aliyuncs.com/..."

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorString "page not found"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!