Maton

List Functions

GET/functions

Authorization

bearerAuth
AuthorizationBearer <token>

Your Maton API key, sent as Authorization: Bearer <MATON_API_KEY>. Create one at https://maton.ai/settings.

In: header

Query Parameters

owner?string

Whose functions to list. SELF returns your own; ALL browses every account's PUBLIC functions.

Default"SELF"
Value in"SELF" | "ALL"
visibility?string

Filter by visibility. Must be PUBLIC (or omitted) when owner=ALL.

Value in"PRIVATE" | "PUBLIC" | "UNLISTED"
limit?integer

Maximum number of functions to return.

Default100
next_token?string

Opaque pagination cursor from the previous response. Omit for the first page; absent/null in the response means the last page.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET \  "https://api.maton.ai/functions?visibility=PRIVATE&limit=20" \  -H "Authorization: Bearer $MATON_API_KEY"
{
  "functions": [
    {
      "function_id": "7c1e2f3a-9b4d-4c8e-a1f2-3b4c5d6e7f80",
      "name": "my-fn",
      "description": "Posts inbound leads to Slack.",
      "runtime": "python3.12",
      "visibility": "PRIVATE",
      "account_id": "b3f6c9d2-4a1e-4f8b-9c0d-1e2f3a4b5c6d",
      "url": "https://my-fn-3k9xq2v.maton.app",
      "star_count": 0,
      "view_count": 0,
      "created_at": "2026-08-20T18:11:04.512331Z",
      "updated_at": "2026-08-31T22:40:15.883210Z"
    }
  ],
  "next_token": null
}
{
  "message": "Invalid app name.",
  "type": "Bad Request",
  "code": 400
}
{
  "message": "Invalid API key.",
  "type": "Unauthorized",
  "code": 401
}
{
  "message": "Too many requests.",
  "type": "Too Many Requests",
  "code": 429
}
{
  "message": "Internal server error.",
  "type": "Internal Server Error",
  "code": 500
}