---
title: "Compute Metrics"
method: GET
path: "/compute/metrics"
tags: ["Compute", "Metrics", "Observability"]
---

# Compute Metrics

`GET /compute/metrics`

## Request

- Base URL: `https://api.fal.ai/v1`
- URL: `https://api.fal.ai/v1/compute/metrics`
- Auth: API key in header `Authorization`

Returns Prometheus-compatible metrics for an active compute cluster owned by the authenticated caller. Requires compute access and compute:instances:read permission. Use the compute_cluster query parameter to select the cluster by label.

**Required permissions:** `compute:instances:read`. Key presets that include them: `COMPUTE`, `READONLY`, `FULL`. See [key permissions](https://fal.ai/docs/documentation/model-apis/authentication/key-based#permissions).

## Query parameters

- `compute_cluster` string, required: The label of the compute cluster owned by the caller

## Response `200`

Prometheus-compatible compute metrics retrieved successfully

## Other responses

- `400`: Invalid request parameters
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `429`: Rate limit exceeded
- `500`: Internal server error

## Changes

- **2026-10-10** `479db2f9dcd6`: 2 info
  - the endpoint scheme security `readonlyApiKey` was added to the API
  - the endpoint scheme security `apiKey` was removed from the API
- **2026-10-07** `b8779f574492`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fal/apis/platform-apis/changes/compute/metrics/get.md)

---

[API](https://skmtc.dev/fal/apis/platform-apis.md) - [All operations](https://skmtc.dev/fal/apis/platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/fal/apis/platform-apis/revisions/3b3b61bedf06?raw)
