Hugging Face · Example Payload

Hugging Face Getendpointmetrics Example

Hugging Face Getendpointmetrics Example is an example object payload from Hugging Face, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getEndpointMetrics",
  "method": "GET",
  "path": "/endpoint/{namespace}/{endpoint_name}/metrics",
  "summary": "Get Endpoint Metrics",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Getendpointmetrics200Example",
      "example": {
        "request_count": 10,
        "request_duration_ms": {
          "p50": 42.5,
          "p90": 42.5,
          "p99": 42.5
        },
        "error_rate": 42.5,
        "tokens_per_second": 42.5
      }
    }
  ]
}