List tasks

List all tasks submitted by the current user

GET /v1/pqscale/tasks

Query Parameters

NameTypeDescription

limit

int

Limit the maximum number returned by a single request. (max, default=100)

cursor

string

Cursor for pagination. Use the "next" value from the previous response. If not given, it will list from the beginning.

status

string

Only list the tasks with specified status

Headers

NameTypeDescription

Authorization*

string

Your API Key

Response Examples

For the definition of status field, check Query the aggregation progress.

{
    "tasks": [
        {
            "id": 1705398804926880305,
            "status": "waiting",
            "meta": {
                "count": 247,
                "created_at": "2024-01-17T09:18:42.38065747Z",
                "submitted_at": "2024-01-17T09:18:44.166064555Z"
            }
        },
        {
            "id": 1704175745130307100,
            "status": "completed",
            "meta": {
                "count": 247,
                "created_at": "2024-01-17T09:18:42.38065747Z",
                "submitted_at": "2024-01-17T09:18:44.166064555Z",
                "finished_at": "2024-01-17T09:25:48.571410289Z",
                "result_path": "https://example.com/result/1704175745130307100.json"
            }
        }
    ],
    "next": "1704175745130307100"
}

Last updated

Logo

Copyright © 2023 BTQ