# 2. Consulta: obtener "Fields"

Un ejemplo sencillo de una consulta "Fields" que recupera el área en hectáreas.

{% hint style="info" %}
La unidad de área del "Field" podría ser una de las siguientes: `ACRES` o `HECTARES` o `SQUARE_METERS`.
{% endhint %}

{% code overflow="wrap" lineNumbers="true" %}

```graphql
query GetFieldInHectares {
  getFarms (farmUuids: ["<placeholder_of_farm_uuid>"]){
    uuid
    userUuid
    name
    fields {
      uuid
      name
      area(unit: HECTARES)
    }
  }
}
```

{% endcode %}

{% hint style="info" %}
Un ejemplo más detallado, que incluye paginación y capacidades de filtrado, se describe en [43: Query Get "Fields"](/geopard-tutorials/esp/documentacion-de-la-api/resumen-de-solicitudes-de-la-api-de-geopard/43.-consulta-obtener-fields.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.geopard.tech/geopard-tutorials/esp/documentacion-de-la-api/resumen-de-solicitudes-de-la-api-de-geopard/2.-consulta-obtener-fields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
