v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Admin

Get function details

Get a specific function including its code

get/api/functions/{slug}

Path parameters

slugstring required

Function slug identifier

Response

Function details with code

idstring uuid required

Unique identifier for the function

slugstring required

URL-friendly identifier

namestring required

Display name for the function

descriptionstring nullable

Description of what the function does

status'draft' | 'active' | 'error' required

Current status of the function

created_atstring date-time required

When the function was created

updated_atstring date-time required

When the function was last updated

deployed_atstring date-time nullable

When the function was last deployed (null if never deployed)

codestring required

The function's JavaScript/TypeScript code

Example response

{
  "slug": "hello-world",
  "name": "Hello World Function"
}