Projects

Get project metrics

The org is orgId in the path. Returns current resource utilization metrics (CPU, memory, disk I/O) and data ingestion metrics for a project.

get/v1/orgs/{orgId}/projects/{projectId}/metrics

Request

  • Base URL
    https://api.spice.ai
  • Auth
    HTTP bearer

Path parameters

orgIdinteger required

The org id from GET /v1/orgs

projectIdinteger required

The ID of the project

Query parameters

windowstring

Prometheus-style duration (e.g. 5m, 1h, 30s). When provided, counter metrics are returned as rates over the window instead of raw cumulative values. For example, rows_ingested returns average rows per second with a window, or total cumulative rows without one.

Headers

X-Org-Namestring

When present, X-Org-Name must name the same org as orgId. Otherwise the request returns org_path_mismatch (400).

Response

Resource and ingestion metrics. Missing fields indicate no data is currently available. Individual metric queries may fail independently; partial results are returned when possible.

metricsobject

Resource metrics keyed by pod name

Changes

No recorded changes to this operation across all 1 revision of this API.