---
title: "Field Schema"
method: GET
path: "/workspaces/{workspace_id}/editor/field-schema"
tags: ["editor"]
---

# Field Schema

`GET /workspaces/{workspace_id}/editor/field-schema`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/workspaces/{workspace_id}/editor/field-schema`
- Auth: none declared

## Path parameters

- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- union
  - Text
    - `component_id` 'text'
  - Code
    - `component_id` 'code'
    - `lang` 'yaml' | 'python'
  - Select
    - `component_id` 'select'
    - `options` string[], nullable
    - `multiple` boolean
  - TextArea
    - `component_id` 'text-area'
    - `rows` integer
    - `placeholder` string
  - Integer
    - `component_id` 'integer'
    - `min_val` integer, nullable
    - `max_val` integer, nullable
    - `step` integer
  - Float
    - `component_id` 'float'
    - `min_val` number, nullable
    - `max_val` number, nullable
    - `step` number
  - Toggle
    - `label_on` string
    - `label_off` string
    - `component_id` 'toggle'
  - Yaml
    - `component_id` 'yaml'
  - TagInput
    - `component_id` 'tag-input'
  - ActionType
    - `component_id` 'action-type'
    - `multiple` boolean
  - WorkflowAlias
    - `component_id` 'workflow-alias'
  - AgentPreset
    - `component_id` 'agent-preset'
  - AgentModel
    - `component_id` 'agent-model'
  - MCPIntegration
    - `component_id` 'mcp-integration'
    - `multiple` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
