---
title: "Get experiment"
method: GET
path: "/experiments/{id}"
tags: ["experiments"]
---

# Get experiment

`GET /experiments/{id}`

Retrieve detailed information about a specific experiment, including all stages and agent configurations.

This endpoint returns the experiment configuration without participant data. Use the `/experiments/{id}/export` endpoint to get participant responses and cohort data.

## Path parameters

- `id` string, required

## Response `200`

Successful operation. Returns experiment configuration without participant data.

- ExperimentConfig — Experiment configuration without participant data
  - `experiment` Experiment
    - `id` string — Unique experiment identifier
    - `versionId` integer — Experiment version ID for backwards compatibility
    - `metadata` Metadata — Experiment metadata
      - `name` string — Experiment name
      - `publicName` string — Public-facing experiment name
      - `description` string — Experiment description
      - `tags` string[] — Tags for categorization
      - `creator` string — Experimenter ID who created the experiment
      - `starred` object — Maps experimenter IDs to starred status
      - `dateCreated` object — Firestore timestamp
      - `dateModified` object — Firestore timestamp
    - `permissions` object — Experiment permissions
      - `visibility` 'public' | 'private' — Experiment visibility
      - `readers` string[] — List of experimenter IDs with read access
    - `stageIds` string[] — Ordered list of stage IDs (stages are stored in a subcollection, not returned in this response)
    - `defaultCohortConfig` object — Default cohort configuration
    - `prolificConfig` object — Prolific integration configuration
    - `cohortLockMap` object — Maps cohort ID to lock status
  - `stageMap` object — Maps stage ID to stage config
  - `agentMediatorMap` object — Maps agent mediator persona ID to agent template
  - `agentParticipantMap` object — Maps agent participant ID to agent template

## Other responses

- `401` — Unauthorized - Missing or invalid API key
- `403` — Forbidden - Insufficient permissions or browser access attempted
- `404` — Not found - Resource doesn't exist
- `429` — Too many requests - Rate limit exceeded

---

[API](https://skmtc.net/pair-code/apis/deliberate-lab-api.md) · [All operations](https://skmtc.net/pair-code/apis/deliberate-lab-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pair-code/deliberate-lab-api/versions/f58e6c25e4f8/schema)
