# Field API names

Within the Stacker API, fields are accessed via their API Names.

## Getting the API Names from the Endpoint

The easiest way to get the API for a given field is by calling Fields endpoint.

## Constructing an API Name

The API Name for a field is constructed from the unique code for the object associated (e.g. `projects10`) and the field's Developer Name (e.g. `created_by`), joined with two underscores: `projects10__created_by`.

{% hint style="warning" %}
While API Names are currently constructed in this way, this may change in the future. It is not recommended to construct names in this way directly, but instead to refer to names found from the Fields endpoint.&#x20;
{% endhint %}

#### API Names

Field API names can be found by selecting Fields, then search for the field and hover over the field name to show the API name.&#x20;

<figure><img src="/files/tz7h3ijT5kKfad86pWKh" alt=""><figcaption></figcaption></figure>


---

# 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.stackerhq.com/stacker-astra/ai-and-automations/open-api-overview/field-api-names.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.
