> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Which API should I use?

> Start with the Public API (V2) for logs, metrics, and traces. Use the GraphQL API to manage what you set up in AppSignal.

Start with the [Public API (V2)](https://docs.appsignal.com/api/v2/overview.md). Use the [GraphQL API](https://docs.appsignal.com/api/graphql.md) for what the Public API (V2) doesn't cover.

## Public API (V2): start here

Built for monitoring data, including large amounts of it.

* Read logs, metrics, traces, Kubernetes metrics, and deploy statistics.
* Get full results back, without listing each field.
* Authenticate with your [personal API token](https://docs.appsignal.com/user-account.md#personal-api-token).

## GraphQL API: manage your setup

Built to power the AppSignal app.

* Create and change apps, incidents, dashboards, alerts, uptime monitors, process monitors, and custom markers.
* Query only the fields you want returned.
* Authenticate with your [personal API token](https://docs.appsignal.com/user-account.md#personal-api-token).

> [!TIP]
>
> When both APIs return the data you need, use the Public API (V2). Log lines are only available there.

> [!WARNING]
>
> The [REST API (V1)](https://docs.appsignal.com/api.md) is deprecated, and we advise against using it. Move existing integrations to the Public API (V2).

## Other ways to connect

* **Send data without the AppSignal agent:** use the [public endpoint](https://docs.appsignal.com/api/public-endpoint.md).
* **Connect an AI agent:** use [AppSignal MCP](https://docs.appsignal.com/mcp-server.md).
* **Work from the terminal:** use the [AppSignal CLI](https://docs.appsignal.com/cli.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.