Retrieve a dataset by ID. Use the expand parameter to include related resources. Expansion Options: - expand[]=items - Include dataset files (up to 100 items) - expand[]=snapshots - Include snapshot history (up to 100 snapshots) Examples: - GET /v1/datasets/{id}?expand[]=items - GET /v1/datasets/{id}?expand[]=snapshots - GET /v1/datasets/{id}?expand[]=items&expand[]=snapshots
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
Dataset ID
"dataset_abc123"
List of related objects to expand in the response. Example: ?expand[]=model&expand[]=versions
["model"]
Successful Response
Response schema for a dataset.
Dataset ID
"ds_abc123"
Dataset display name
"Customer Support QA"
Creation timestamp (UTC ISO8601)
"2024-01-15T10:30:00Z"
Last update timestamp (UTC ISO8601)
"2024-01-15T14:45:00Z"
Optional description
"Q&A pairs for support"
Dataset items (files). Only included when expand[]=items is specified.
Dataset snapshots. Only included when expand[]=snapshots is specified.