Hugging Face · Example Payload

Hugging Face Listspaces Example

Hugging Face Listspaces 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": "listSpaces",
  "method": "GET",
  "path": "/spaces",
  "summary": "List Spaces on the Hub",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Listspaces200Example",
      "example": [
        {
          "_id": "500123",
          "id": "abc123",
          "author": "example_value",
          "sha": "example_value",
          "lastModified": "2026-01-15T10:30:00Z",
          "private": true,
          "tags": [
            "example_value"
          ],
          "likes": 10,
          "sdk": "gradio",
          "runtime": {
            "stage": "RUNNING",
            "hardware": {
              "current": "example_value",
              "requested": "example_value"
            }
          },
          "createdAt": "2026-01-15T10:30:00Z"
        }
      ]
    }
  ]
}