List function types
GET
/v1/function-types
const url = 'https://api.aerandil.com/v1/function-types';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.aerandil.com/v1/function-types \ --header 'Authorization: Bearer <token>'Schema-discovery surface for read-only functions. Each entry surfaces the target object type, parameter count, and the function’s declared return-type kind so a UI can render a function picker without walking /v1/openapi.json.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Sorted summary list of every registered function type.
Media typeapplication/json
object
data
required
Array<object>
object
api_name
required
string
description
string
display_name
required
string
parameter_count
required
integer
return_type_kind
required
Kind discriminator of the function’s declared return type (e.g. struct, money, int). The full typed schema lives in /v1/openapi.json at the per-function /invoke path.
string
target_object_type
Bound target object type for targeted functions. Unbound functions leave it null.
string
next_page_token
Opaque cursor for the next page (AIP-158). Reserved for future growth; v1 returns null because the registry size is bounded.
string
Examplegenerated
{ "data": [ { "api_name": "example", "description": "example", "display_name": "example", "parameter_count": 1, "return_type_kind": "example", "target_object_type": "example" } ], "next_page_token": "example"}