# App

## Endpoints Overview

| Method | Endpoint           | Description          |
| ------ | ------------------ | -------------------- |
| GET    | `/api/v2/app/info` | Get application info |

***

## GET /api/v2/app/info <a href="#info" id="info"></a>

Returns information about the running Eagle application, including version numbers and platform details.

### Response

```json
{
    "status": "success",
    "data": {
        "version": "4.0.0",
        "prereleaseVersion": null,
        "buildVersion": "build12",
        "platform": "win32"
    }
}
```

### Example

```javascript
await fetch("http://localhost:41595/api/v2/app/info").then(r => r.json());
```

***

## App Properties <a href="#properties" id="properties"></a>

| Property            | Type           | Description                                                 |
| ------------------- | -------------- | ----------------------------------------------------------- |
| `version`           | string         | Eagle version number (e.g., `"4.0.0"`)                      |
| `prereleaseVersion` | string \| null | Pre-release version identifier, or `null` for stable        |
| `buildVersion`      | string \| null | Build version identifier (e.g., `"build12"`)                |
| `platform`          | string         | Operating system: `"win32"` (Windows) or `"darwin"` (macOS) |


---

# 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://developer.eagle.cool/web-api/api/app.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.
