Hugging Face · Example Payload

Hugging Face Getdataset Example

Hugging Face Getdataset 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": "getDataset",
  "method": "GET",
  "path": "/datasets/{repo_id}",
  "summary": "Get Dataset Information",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Getdataset200Example",
      "example": {}
    },
    {
      "status": "404",
      "contentType": "application/json",
      "name": "Getdataset404Example",
      "example": {
        "error": "example_value",
        "statusCode": 10
      }
    }
  ]
}