# Get line of raster

| **Description** | Request to obtain raster data on a line.             |
| --------------- | ---------------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/raster/timestamp/{timestampId}/line` |
| **Method**      | GET                                                  |

### Access Level Rules

| **Access Level** | view |
| ---------------- | ---- |

### Processing Units

| **Processing units** | 2 |
| -------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="397">Description</th><th>Required</th><th>Default</th><th data-hidden>Required</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the raster layer.</td><td>true</td><td></td><td>true</td></tr><tr><td><code>timestampId</code></td><td>The id of the timestamp you wish to get data for.</td><td>true</td><td></td><td>true</td></tr><tr><td><code>line</code></td><td>A GeoJSON LineString of the area of interest in WGS84.</td><td>true</td><td></td><td>true</td></tr></tbody></table>


---

# 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.ellipsis-drive.com/developers/api-v3/path-raster/timestamps/get-line-of-raster.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.
