Skip to main content
GET
/
api
/
datasets
/
{dataset_id}
Python
import os
from woodwide import WoodWide

client = WoodWide(
    api_key=os.environ.get("WOOD_WIDE_AI_API_KEY"),  # This is the default and can be omitted
)
dataset_public = client.api.datasets.retrieve(
    dataset_id="dataset_id",
)
print(dataset_public.id)
{
  "id": "<string>",
  "name": "<string>",
  "num_rows": 123,
  "file_size_bytes": 123,
  "dataset_schema": {
    "columns": [
      {
        "name": "<string>",
        "type": "<string>",
        "values": [
          "<unknown>"
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataset_id
string | null
required

Query Parameters

dataset_name
string | null

Response

Successful Response

Public-facing dataset schema.

Represents the metadata of a dataset exposed via the API, including its unique identifier, user-provided name, row count, and column schema.

id
string
required
name
string
required
num_rows
integer
required
file_size_bytes
integer
required
dataset_schema
Schema · object
required