Serverless
Metrics
Observability

Returns Prometheus-compatible metrics in text format for integration into your observability stack

Authentication: Required - Uses API key authentication

Format: Returns text/plain in Prometheus exposition format

Common Use Cases:

  • Export app stats to your observability provider (grafana, datadog etc)
  • Track runner health and performance
  • Set up alerts and monitoring

See Prometheus documentation for format details.

Required permissions: serverless:metrics:read. Key presets that include them: API, SERVERLESS, COMPUTE, READONLY, FULL. See key permissions.

get/serverless/metrics

Request

  • Base URL
    https://api.fal.ai/v1
  • URL
    https://api.fal.ai/v1/serverless/metrics
  • Auth
    API key in header Authorization

Response

Prometheus-compatible metrics retrieved successfully

Changes

    • info

      the endpoint scheme security readonlyApiKey was added to the API

    • info

      the endpoint scheme security apiKey was removed from the API