Skip to main content
Version: v1

List Operation

Returns a paginated list of all operations, ongoing and completed.

Query Parameters
    paginationToken string optional

    Optional pagination token for retrieving further results from a known state. List params should not change between consecutive paginated requests (limit is an exception).

    limit int32 optional

    Optional limit to the number of operations returned. If not specified, the max (100) operations are returned.

    state string optional

    Possible values: [PENDING, COMPLETED, FAILED]

    If set, filters the returned operations to include only those in the given state.

    type string optional

    Possible values: [DELETE_USER, SEARCH_EXPORT, DELETE_SESSION, DELETE_SEGMENT_SESSIONS, DELETE_SEGMENT_USERS]

    If set, filters the returned operations to include only those with the given type.

Responses
200

A successful response.


{
"nextPaginationToken": "fbvcfghgfrw",
"operations": [
{
"type": "DELETE_USER",
"details": null,
"results": null,
"state": "PENDING",
"errorDetails": "",
"createdAt": "2018-04-19T22:40:52.174736Z",
"finishedAt": "2018-04-19T22:40:54.473657Z",
"estimatePctComplete": 10
}
]
}
Loading...