---
title: "Assign"
method: POST
path: "/api/experiments/{key}/assign"
tags: ["Experiments"]
---

# Assign

`POST /api/experiments/{key}/assign`

## Path parameters

- `key` string, required

## Request body

- AssignBody
  - `subject_type` string, required
  - `subject_id` string, required
  - `attrs` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
