List Functions
Hand off to an LLM
List functions in the current environment.
Returns each function's current version. Combine filters freely — they AND together.
Filtering
functionIDs/functionNames: exact-match identity filters.displayName: case-insensitive substring match.types: one or more ofextract,classify,split,join,enrich,payload_shaping. Legacytransform,analyze,route, andsendtypes remain readable via this filter.tags: returns functions tagged with any of the supplied tags.workflowIDs/workflowNames: returns only functions referenced by the named workflows. Useful for "what functions does this workflow depend on?" lookups.
Pagination
Cursor-based with startingAfter and endingBefore (functionIDs).
Default limit 50, maximum 100.
Authorization
API Key x-api-key<token>
Authenticate using API Key in request header
In: header
Query Parameters
limit?integer
Default
50Range
1 <= value <= 100functionIDs?array<>
Items
1 <= itemsfunctionNames?array<>
Items
1 <= itemsdisplayName?string
types?array<>
Items
1 <= itemssortOrder?string
Default
"asc"Value in
"asc" | "desc"startingAfter?string
endingBefore?string
tags?array<>
Items
1 <= itemsworkflowIDs?array<>
Items
1 <= itemsworkflowNames?array<>
Items
1 <= itemsResponse Body
application/json
curl -X GET "https://api.bem.ai/v3/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
}See also
- Function types overview — extract, classify, split, join, enrich, parse, payload shaping
- Schema building guide — designing outputSchema