Skip to main content

Get user builds list

GET 

/v2/actor-builds

Gets a list of all builds for a user. The response is a JSON array of objects, where each object contains basic information about a single build.

The endpoint supports pagination using the limit and offset parameters and it will not return more than 1000 records.

By default, the records are sorted by the startedAt field in ascending order. Therefore, you can use pagination to incrementally fetch all builds while new ones are still being started. To sort the records in descending order, use the desc=1 parameter.

Request

Query Parameters

    offset double

    Number of records that should be skipped at the start. The default value is 0.


    Example: 10
    limit double

    Maximum number of records to return. The default value as well as the maximum is 1000.


    Example: 99
    desc boolean

    If true or 1 then the objects are sorted by the startedAt field in descending order. By default, they are sorted in ascending order.


    Example: true

Status 200

Response Headers
    {
    "data": {
    "total": 2,
    "offset": 0,
    "limit": 1000,
    "desc": false,
    "count": 2,
    "items": [
    {
    "id": "HG7ML7M8z78YcAPEB",
    "actId": "janedoe~my-actor",
    "status": "READY",
    "startedAt": "2019-11-30T07:34:24.202Z",
    "finishedAt": "2019-12-12T09:30:12.202Z",
    "usageTotalUsd": 0.02,
    "meta": {
    "origin": "DEVELOPMENT",
    "clientIp": "172.234.12.34",
    "userAgent": "Mozilla/5.0 (iPad)"
    }
    }
    ]
    }
    }