## Get dataset by ID `Dataset datasets().retrieve(DatasetRetrieveParamsparams = DatasetRetrieveParams.none(), RequestOptionsrequestOptions = RequestOptions.none())` **get** `/api/v1/datasets/{id}` Get dataset by ID ### Parameters - `DatasetRetrieveParams params` - `Optional id` ### Returns - `class Dataset:` - `String id` Dataset ID - `LocalDateTime insertedAt` Creation timestamp - `String name` Dataset name - `String slug` URL-friendly slug - `LocalDateTime updatedAt` Last update timestamp - `Optional attribution` Attribution text - `Optional description` Dataset description - `Optional license` License identifier - `Optional sourceUrl` Source data URL ### Example ```java package com.plazafyi.example; import com.plazafyi.client.PlazaClient; import com.plazafyi.client.okhttp.PlazaOkHttpClient; import com.plazafyi.models.datasets.Dataset; import com.plazafyi.models.datasets.DatasetRetrieveParams; public final class Main { private Main() {} public static void main(String[] args) { PlazaClient client = PlazaOkHttpClient.fromEnv(); Dataset dataset = client.datasets().retrieve("id"); } } ``` #### Response ```json { "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e", "inserted_at": "2019-12-27T18:11:19.117Z", "name": "name", "slug": "slug", "updated_at": "2019-12-27T18:11:19.117Z", "attribution": "attribution", "description": "description", "license": "license", "source_url": "source_url" } ```