Galon Cloud
Galon API v1

/functions/pricing

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

GET /functions/pricing

Read Functions prices

Read the public prices and limits of Galon Functions. Use when before deploying a function, to tell the user what it costs. Before: nothing. Returns pricing: prices per million requests and per million CPU ms (USD), alerts and limits. Scope: job:read.

API key (Bearer), on the public API endpoint.

Responses

StatusDescriptionBody
2XXSuccess: the JSON body the route returns (see the description for its fields).object
401Key missing or invalidError
4XXRefused: act on detail.code, then follow detail.next_action (404 not_found while the service is not open to the account).Error

Examples

curl

curl -X GET "$GALON_API_BASE/functions/pricing" \
  -H "Authorization: Bearer $GALON_API_KEY"