---
title: "Get description of a model, model can still be in training and not available for predictions"
method: GET
path: "/api/v1/datasets/{datasetId}"
tags: ["Intent"]
---

# Get description of a model, model can still be in training and not available for predictions

`GET /api/v1/datasets/{datasetId}`

Retrieves the dataset for the given dataset ID. It only displays the metadata corresponding to the dataset. If you want to view the individual intent phrases that you have added, you can use the [dataset section of the dashboard](https://dashboard.messagebird.com/knowledge-base/list).

## Path parameters

- `datasetId` string, required

## Response `200`

A successful response.

- V1Dataset — A collection of phrases with the corresponding intents. There can be multiple matching phrases per intent. To inspect the phrases that were added, go to the [datasets section in the dashboard](https://dashboard.messagebird.com/knowledge-base/list).
  - `datasetId` string, uuid — The unique ID for the dataset.
  - `intents` string[] — The collection of intents that were added to this dataset.
  - `isTemplate` boolean — Describes if this dataset is a template dataset or not. Template datasets are used as examples and can be found under the `Templates` tab in the [dataset overview of the dashboard](https://dashboard.messagebird.com/knowledge-base/list). You can clone such datasets to kickstart the creation of a dataset that is tailored to your use-case.
  - `name` string — The name of the dataset. You can configure the name once creating a dataset in the [dashboard](https://dashboard.messagebird.com/knowledge-base/list).
  - `createdAt` string, timestamp — The timestamp of dataset creation. Uses the [ISO-8601 standard](https://en.wikipedia.org/wiki/ISO_8601).
  - `updatedAt` string, timestamp — The timestamp of last update. Uses the [ISO-8601 standard](https://en.wikipedia.org/wiki/ISO_8601).
  - `description` string — The optional description of the dataset.
  - `lastTrainedAt` string, timestamp — The timestamp of last model that completed training. Uses the [ISO-8601 standard](https://en.wikipedia.org/wiki/ISO_8601). If there is not a model trained already, this field will not be populated.

## Other responses

- `401` — Returned when the user is not authorized.
- `404` — Returned when the resource does not exist.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/messagebird/apis/intent.md) · [All operations](https://skmtc.net/messagebird/apis/intent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/messagebird/intent/versions/b1f6facbe19c/schema)
