---
title: "Listar campos"
method: GET
path: "/fields"
tags: ["Fields"]
---

# Listar campos

`GET /fields`

Lista os campos com base nos parâmetros fornecidos.

## Query parameters

- `page` number
- `size` number
- `search` string

## Response `200`

Successful response

- object — Página de registros
  - `data` object[], required — Lista de registros da página
    - `id` string, required — Identificador único do campo
    - `name` string, required — Nome do campo
    - `description` string, required — Descrição do campo
    - `active` boolean — Indica se o campo está ativo
    - `fixed` boolean
    - `type` 'text' | 'email' | 'phone' | 'number' | 'url' | 'boolean' | 'date' | 'choice' | 'multi_choice' | 'cpf' | 'cnpj' — Tipo do campo
    - `options` string[] — Lista de opções para campos do tipo `choice` ou `multi_choice`
    - `new` boolean — Flag de compatibilidade (integrações)
    - `workspaceId` string, required — Identificador do workspace associado
    - `createdBy` string, nullable, required — ID do usuário que criou o registro
    - `updatedBy` string, nullable, required — ID do usuário que atualizou o registro
    - `createdAt` string, date-time — Data de criação
    - `updatedAt` string, date-time — Data da última atualização
  - `meta` object, required — Metadados da página
    - `total` number, required — Total de registros
    - `page` number, required — Número da página atual
    - `size` number, required — Quantidade de registros da página
    - `first` number, required — Primeira página
    - `last` number, required — Última página
    - `next` number, nullable, required — Próxima página
    - `previous` number, nullable, required — Página anterior

## Other responses

- `default` — Error response

## Changes

- **2026-08-31** `33c7da0c3605` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-31T00:02:54.129Z` to `2026-08-31T19:03:08.124Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-31T00:02:54.129Z` to `2026-08-31T19:03:08.124Z` for the status `200`
- **2026-08-31** `0d471dab1abe` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-30T05:01:58.543Z` to `2026-08-31T00:02:54.129Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-30T05:01:58.543Z` to `2026-08-31T00:02:54.129Z` for the status `200`
- **2026-08-30** `194a2377d1f9` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-29T10:01:56.342Z` to `2026-08-30T05:01:58.543Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-29T10:01:56.342Z` to `2026-08-30T05:01:58.543Z` for the status `200`
- **2026-08-29** `174c7f1687b9` — 2 info
  - the `createdAt` response's property default value changed from `2026-08-28T15:02:27.622Z` to `2026-08-29T10:01:56.342Z` for the status `200`
  - the `updatedAt` response's property default value changed from `2026-08-28T15:02:27.622Z` to `2026-08-29T10:01:56.342Z` for the status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/rdstationmentoria/apis/agents/changes/fields/get.md)

---

[API](https://skmtc.dev/rdstationmentoria/apis/agents.md) · [All operations](https://skmtc.dev/rdstationmentoria/apis/agents/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rdstationmentoria/agents/revisions/33c7da0c3605/schema)
