BackendHTTP APIFunctions

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.

GET
/integrations/{uniqueKey}/functions/{name}

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.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An Environment API key from your Tenklo environment, or an Account API key for account-level endpoints.

Path Parameters

uniqueKey*string

The integration ID (unique_key) that you created in Tenklo.

name*string

The name of the function.

Query Parameters

type?string

Disambiguates when multiple functions share the same name.

Value in"sync""action""on-event""tool"

Response Body

Successfully returned the function

application/json
  1. response
data*|||

A listed function (sync, action, on-event, or tool) merged with its availability metadata.

Example Request
curl -X GET 'https://api.tenklo.dev/integrations/string/functions/string'
Example Response
{  "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"  }}