List Function

GET {{host}}/{{version}}/{{workspace_id}}/functions

List Function Input

FieldTypeDescriptionRequired?Example
workspace_idstringIdentifier of the workspace the function resides in.requiredde76b5055e
typeenum (SOURCE, DESTINATION)Type of function to list.requiredSOURCE
page_sizeinteger (1-100, default=10)Number of functions to list per page.optional10
page_tokenstringToken from a previous response, indicating which page to advance to.optionala3pVcVE2SkxaUg==

Request Body

{"type"=>"SOURCE", "page_size"=>10, "page_token"=>""}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"functions":[{"settings":[{"name":"my setting","label":"my setting","type":"string","required":true},{"name":"arraysetting","label":"array setting","type":"array"}],"id":"sfnc_1234","workspace_id":"workspace_id","display_name":"my function","created_at":"2020-07-20T22:35:38.056Z","created_by":"user_id","logo_url":"https://logo-url","type":"SOURCE","catalog_id":"1234"},{"settings":[{"name":"myapiKey","label":"my api key","type":"string"},{"name":"mySecret","label":"my secret key","type":"string","sensitive":true}],"id":"sfnc_4567","workspace_id":"workspace_id","display_name":"my second function","created_at":"2020-07-30T19:15:26.660Z","created_by":"user_id","logo_url":"https://logo-url","type":"SOURCE","catalog_id":"4567"}],"next_page_token":"MTI="}