---
title: "Get a custom field."
method: GET
path: "/v1/fields/{id}"
tags: ["fieldManagementV1"]
---

# Get a custom field.

`GET /v1/fields/{id}`

Get the details of a custom field.

## Path parameters

- `id` string, required

## Response `200`

The details of the custom field.

- CustomField
  - `fieldName` string, required — Field name.
  - `fieldId` string, required — Identifier of the field.
  - `dataType` string, required — Field type. Possible values are `String`, `Long`, `Int`, `Double`, and `Boolean`.
  - `state` string, required — Indicates whether the field is enabled and its values are being accepted. Possible values are `Enabled` and `Disabled`.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/18a824df1e78/schema)
