## Get dataset by ID `$client->datasets->retrieve(string id): Dataset` **get** `/api/v1/datasets/{id}` Get dataset by ID ### Parameters - `id: string` ### Returns - `Dataset` - `string id` Dataset ID - `\Datetime insertedAt` Creation timestamp - `string name` Dataset name - `string slug` URL-friendly slug - `\Datetime updatedAt` Last update timestamp - `?string attribution` Attribution text - `?string description` Dataset description - `?string license` License identifier - `?string sourceURL` Source data URL ### Example ```php datasets->retrieve('id'); var_dump($dataset); ``` #### 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" } ```