Hugging Face · Example Payload

Hugging Face Listendpoints Example

Hugging Face Listendpoints 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": "listEndpoints",
  "method": "GET",
  "path": "/endpoint/{namespace}",
  "summary": "List All Endpoints",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Listendpoints200Example",
      "example": {
        "items": [
          {
            "name": "Example Title",
            "type": "public",
            "accountId": "500123",
            "provider": {
              "vendor": "aws",
              "region": "example_value"
            },
            "compute": {
              "accelerator": "example_value",
              "instanceType": "example_value",
              "instanceSize": "example_value",
              "scaling": {}
            },
            "model": {
              "repository": "example_value",
              "revision": "example_value",
              "task": "example_value",
              "framework": "pytorch",
              "image": {}
            },
            "status": {
              "state": "pending",
              "message": "example_value",
              "createdAt": "2026-01-15T10:30:00Z",
              "updatedAt": "2026-01-15T10:30:00Z",
              "url": "https://www.example.com"
            },
            "url": "https://www.example.com"
          }
        ]
      }
    },
    {
      "status": "401",
      "contentType": "application/json",
      "name": "Listendpoints401Example",
      "example": {
        "error": "example_value",
        "statusCode": 10
      }
    }
  ]
}