List Subscriptions
Authenticate using API Key in request header
In: header
Query Parameters
Filters to subscriptions linked to included array of function names.
This specifies a limit on the number of objects to return, ranging between 1 and 100.
50
1 <= value <= 100
Specifies sorting behavior. The two options are asc
and desc
to sort ascending and descending respectively, with default sort being ascending. Paging works in both directions.
"asc"
"asc" | "desc"
A cursor to use in pagination. startingAfter
is a task ID that defines your place in the list. For example, if you make a list request and receive 50 objects, ending with sub_2c9AXIj48cUYJtCuv1gsQtHGDzK
, your subsequent call can include startingAfter=sub_2c9AXIj48cUYJtCuv1gsQtHGDzK
to fetch the next page of the list.
A cursor to use in pagination. endingBefore
is a task ID that defines your place in the list. For example, if you make a list request and receive 50 objects, starting with sub_2c9AXIj48cUYJtCuv1gsQtHGDzK
, your subsequent call can include endingBefore=sub_2c9AXIj48cUYJtCuv1gsQtHGDzK
to fetch the previous page of the list.
Response Body
curl -X GET "https://api.bem.ai/v1-alpha/subscriptions?functionNames=string&limit=50&sortOrder=asc&startingAfter=string&endingBefore=string"
[
{
"name": "string",
"subscriptionID": "string",
"type": "transform",
"functionID": "string",
"disabled": true,
"webhookURL": "https://bem-example.ai/test/url"
}
]