Logs

List branch log fields

Changed on

Lists the low-cardinality log fields observed on this branch whose distinct values can be discovered with the log field-values endpoint.

The set is computed per branch and grows as new fields are observed, so treat it as data rather than a fixed list: discover a field here, then pass it as field_name to the field-values endpoint.

Note: This endpoint is currently in Private Beta.

get/projects/{project_id}/branches/{branch_id}/logs/fields

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/logs/fields
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Response

Log fields available for value discovery on this branch

fieldsstring[] required

Log field names observed on this branch, each usable as field_name on the log field-values endpoint. Computed per branch rather than fixed by this specification, so clients should not assume a particular set.

Changes