---
title: "Gets an experiment by its unique identifier"
method: GET
path: "/api/v1/experiments/{id}"
tags: ["Experiments"]
---

# Gets an experiment by its unique identifier

`GET /api/v1/experiments/{id}`

## Path parameters

- `id` integer, required

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- ExperimentDump
  - `id` integer — ID for the Experiment resource.
  - `snapshot` integer — ID for the underlying Experiment snapshot.
  - `group` GroupRef
    - `id` integer — ID for the Group resource.
    - `name` string — Name of the Group resource.
    - `url` string — URL for accessing the full Group resource.
  - `user` UserRefDump
    - `id` integer — ID for the User resource.
    - `username` string — Username of the User resource.
    - `url` string — URL for accessing the full User resource.
  - `createdOn` string, date-time — Timestamp when the Experiment resource was created.
  - `snapshotCreatedOn` string, date-time — Timestamp when the Experiment resource snapshot was created.
  - `lastModifiedOn` string, date-time — Timestamp when the Experiment resource was last modified.
  - `latestSnapshot` boolean — Whether or not the Experiment resource is the latest version.
  - `hasDraft` boolean — Whether a draft exists for the Experiment resource.
  - `tags` TagRefDump[]
    - `id` integer — ID for the Tag.
    - `name` string — Name of the Tag.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Tag.
  - `name` string, required — Name of the Experiment resource.
  - `description` string — Description of the Experiment resource.
  - `entrypoints` EntrypointRef[]
    - `id` integer — ID for the Entrypoint resource.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Entrypoint resource.
    - `name` string — Name of the Entrypoint resource.

---

[API](https://skmtc.net/usnistgov/apis/dioptra-rest-api.md) · [All operations](https://skmtc.net/usnistgov/apis/dioptra-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usnistgov/dioptra-rest-api/versions/a73101579c5c/schema)
