List Functions
List all functions with optional filtering.
Authorization
API Key Authenticate using API Key in request header
In: header
Query Parameters
501 <= value <= 1001 <= items1 <= itemsUsed for search over display names of functions. Will perform case-insensitive substring matching.
1 <= itemsSpecifies 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 function ID that defines your place in the list.
A cursor to use in pagination. endingBefore is a function ID that defines your place in the list.
Filter functions by tags. Functions must contain all specified tags.
1 <= itemsFilter functions by workflow IDs. Returns functions whose current version is used by the current version of the specified workflows.
1 <= itemsFilter functions by workflow names. Returns functions whose current version is used by the current version of the specified workflows.
1 <= itemsFilter functions by specific workflow versions using workflow IDs. Format: workflowID.versionNum (e.g., "w_abc123.2"). Returns functions whose current version is used by the specified workflow versions.
1 <= itemsFilter functions by specific workflow versions using workflow names. Format: workflowName.versionNum (e.g., "invoice-processing.2"). Returns functions whose current version is used by the specified workflow versions. Resolves to workflows that currently have the specified names.
1 <= itemsResponse Body
application/json
curl -X GET "https://api.bem.ai/v2/functions"{
"functions": [
{
"functionID": "string",
"functionName": "string",
"versionNum": 0,
"usedInWorkflows": [
{
"workflowID": "string",
"workflowName": "string",
"currentVersionNum": 0,
"usedInWorkflowVersionNums": [
0
]
}
],
"displayName": "string",
"tags": [
"string"
],
"audit": {
"functionCreatedBy": {
"userActionID": "string",
"userID": "string",
"userEmail": "string",
"apiKeyName": "string",
"emailAddress": "string",
"createdAt": "2019-08-24T14:15:22Z"
},
"functionLastUpdatedBy": {
"userActionID": "string",
"userID": "string",
"userEmail": "string",
"apiKeyName": "string",
"emailAddress": "string",
"createdAt": "2019-08-24T14:15:22Z"
},
"versionCreatedBy": {
"userActionID": "string",
"userID": "string",
"userEmail": "string",
"apiKeyName": "string",
"emailAddress": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
},
"type": "transform",
"outputSchemaName": "string",
"outputSchema": {},
"emailAddress": "string",
"tabularChunkingEnabled": true
}
],
"totalCount": 0
}