---
title: "Get log field definitions"
method: GET
path: "/v1/observability/logs/fields"
tags: ["beta.observability.logs"]
---

# Get log field definitions

`GET /v1/observability/logs/fields`

Get log field definitions

## Response `200`

Successful Response

- GetLogFields
  - `field_definitions` OtelFieldDefinition[], required
    - `name` string, required
    - `label` string, required
    - `type` 'ENUM' | 'TEXT' | 'INT' | 'FLOAT' | 'BOOL' | 'TIMESTAMP' | 'ARRAY' | 'MAP', required
    - `group` string, nullable
    - `supported_operators` string[], required

## Other responses

- `400` — Bad Request - Invalid request parameters or data
- `404` — Not Found - Resource does not exist
- `408` — Request Timeout - Operation timed out
- `409` — Conflict - Resource conflict
- `422` — Unprocessable Entity - Validation error

---

[API](https://skmtc.net/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.net/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/933c4ebdcd72/schema)
