# dataset.getDetails() **Added in:** `@mastra/core@1.4.0` Retrieves the full dataset record from storage, including metadata, schemas, and version information. ## Usage example ```typescript import { Mastra } from "@mastra/core"; const mastra = new Mastra({ /* storage config */ }); const dataset = await mastra.datasets.get({ id: "dataset-id" }); // Get dataset details const details = await dataset.getDetails(); console.log(details.name, details.version); ``` ## Parameters This method takes no parameters. ## Returns Returns a `Promise`. Throws `MastraError` if the dataset is not found. **id:** (`string`): Unique identifier of the dataset. **name:** (`string`): Display name of the dataset. **description?:** (`string`): Description of the dataset. **metadata?:** (`Record`): Arbitrary metadata associated with the dataset. **inputSchema?:** (`Record`): JSON Schema for item inputs. **groundTruthSchema?:** (`Record`): JSON Schema for item ground truths. **version:** (`number`): Current version number of the dataset. **createdAt:** (`Date`): When the dataset was created. **updatedAt:** (`Date`): When the dataset was last updated.