Maton

Get Function

GET/functions/{function_id}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

function_id*string

The function's unique identifier.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET \  "https://api.maton.ai/functions/{function_id}" \  -H "Authorization: Bearer $MATON_API_KEY"
{
  "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",
  "version": 3,
  "network_policy": "ALLOW_ALL",
  "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"
}
{
  "message": "Invalid API key.",
  "type": "Unauthorized",
  "code": 401
}
{
  "message": "Resource not found.",
  "type": "Not Found",
  "code": 404
}
{
  "message": "Too many requests.",
  "type": "Too Many Requests",
  "code": 429
}
{
  "message": "Internal server error.",
  "type": "Internal Server Error",
  "code": 500
}