# Rows Responses

Certain API endpoints might return data as rows, so it's easier for you to render them in your template files.

You can get the `rows` array from the response object using `data.rows`.

```javascript
{
    "data": {
        "dates": {
            "from": "2016-12-20T00:00:00",
            "to": "2016-12-22T23:59:59"
        },
        "observer": {
            "location": {
                "longitude": -84.39733,
                "latitude": 33.775867,
                "elevation": 1000
            }
        },
        "rows": [
            .... rows
        ]
    }
}
```

Each object in the rows array can be accessed by iterating the array.

For more information on how to render this type of data refer to the [samples repository](https://github.com/AstronomyAPI/Samples)


---

# 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.astronomyapi.com/requests-and-response/tabular-responses-1.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.
