Subscriptions

List Subscriptions

GET
/v1-alpha/subscriptions
x-api-key<token>

Authenticate using API Key in request header

In: header

Query Parameters

functionNames?array<string>

Filters to subscriptions linked to included array of function names.

limit?integer

This specifies a limit on the number of objects to return, ranging between 1 and 100.

Default50
Range1 <= value <= 100
sortOrder?string

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.

Default"asc"
Value in"asc" | "desc"
startingAfter?string

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.

endingBefore?string

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"
  }
]
Empty
Empty
Empty