Get a function
Requires an API key with the environment:functions:read scope. Learn more about API key scopes.
Returns a single function available to an integration.
Returns a single function available to an integration, including HTTP-triggered tools and Tenklo catalog actions. When multiple types share a name, use the type filter to select one; otherwise the first match in the listing's stable order is returned. Requires an API key with the environment:functions:read scope.
bearerAuthAuthorizationBearer <token>An Environment API key from your Tenklo environment, or an Account API key for account-level endpoints.
uniqueKey*stringThe integration ID (unique_key) that you created in Tenklo.
name*stringThe name of the function.
type?stringDisambiguates when multiple functions share the same name.
"sync""action""on-event""tool"Successfully returned the function
application/json- response
data*|||A listed function (sync, action, on-event, or tool) merged with its availability metadata.
curl -X GET 'https://api.tenklo.dev/integrations/string/functions/string'{ "data": { "name": "string", "description": "string", "scopes": [ "string" ], "type": "sync", "input": "string", "returns": [ "string" ], "json_schema": {}, "runs": "string", "auto_start": true, "track_deletes": true, "id": 0, "enabled": true, "last_deployed": "2019-08-24T14:15:22Z", "source": "catalog" }}