---
title: "Experiment Fields"
method: GET
path: "/api/v1/agents/{agent_id}/experiments/fields"
tags: ["experiments"]
---

# Experiment Fields

`GET /api/v1/agents/{agent_id}/experiments/fields`

What this agent's builder may offer, from the server's own allow list.

The UI reads its option set from here rather than hardcoding one, so a field can
never appear in the builder that the API would refuse on save.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `authorization` string, nullable — Bearer <token>

## Response `200`

Successful Response

- EnvelopeExperimentFieldsResponse
  - `data` ExperimentFieldsResponse, required — What the builder is allowed to offer, straight from the server's allow list, so the UI can never present a field the API would refuse.
    - `variable_fields` string[], required
    - `locked_fields` string[], required
    - `field_kinds` object, required
    - `gmail_accounts` string[], required
    - `current` object, required
    - `default_window_hours` integer, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
