[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: datasets.list\n\n**Full name**: projects.locations.datasets.list\n\nLists Datasets in a Location. \n\n### Endpoint\n\nget `https:``/``/{service-endpoint}``/v1beta1``/{parent}``/datasets` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`parent` `string` \nRequired. The name of the Dataset's parent resource. Format: `projects/{project}/locations/{location}`\n\n### Query parameters\n\n`filter` `string` \nAn expression for filtering the results of the request. For field names both snake_case and camelCase are supported.\n\n- `displayName`: supports = and !=\n- `metadataSchemaUri`: supports = and !=\n- `labels` supports general map functions that is:\n - `labels.key=value` - key:value equality\n - \\`labels.key:\\* or labels:key - key existence\n - A key including a space must be quoted. `labels.\"a key\"`.\n\nSome examples:\n\n- `displayName=\"myDisplayName\"`\n- `labels.myKey=\"myValue\"`\n`pageSize` `integer` \nThe standard list page size.\n`pageToken` `string` \nThe standard list page token.\n`readMask` `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` \nMask specifying which fields to read.\n\nThis is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`.\n`orderBy` `string` \nA comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields:\n\n- `displayName`\n- `createTime`\n- `updateTime`\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nResponse message for [DatasetService.ListDatasets](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.datasets/list#google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets).\n\nIf successful, the response body contains data with the following structure:\nFields `datasets[]` `object (`[Dataset](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.datasets#Dataset)`)` \nA list of Datasets that matches the specified filter in the request.\n`nextPageToken` `string` \nThe standard List next-page token."]]