# DevTune Connection and usage API

**Canonical:** https://apis.io/apis/devtune/devtune-connection-and-usage-api/  
**Provider:** DevTune — https://apis.io/providers/devtune/  
**Base URL:** https://devtune.ai/api/v2  
**Documentation:** https://docs.devtune.ai/api-reference/overview

DevTune Connection and usage API is one of 19 APIs that [DevTune](https://apis.io/providers/devtune/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Connection and usage. The published artifact set on APIs.io includes an OpenAPI specification.

The project a credential is bound to, its scopes and features, usage, and code-mode receipts.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| GET | `/projects/{projectId}/code-mode/executions/{executionId}` | Get code-mode operation receipts |
| GET | `/connection` | Discover the authorized project |
| GET | `/projects/{projectId}/connection` | Get the connection context |
| DELETE | `/projects/{projectId}/connection/key` | Revoke the calling API key |
| POST | `/projects/{projectId}/connection/key/rotate` | Rotate the calling API key |
| GET | `/projects/{projectId}/usage` | Get project status and usage |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/devtune/openapi/devtune-connection-and-usage-api-openapi.yml

## Other DevTune APIs (12)

- [DevTune Accuracy API](https://apis.io/apis/devtune/devtune-accuracy-api/)
- [DevTune Actions API](https://apis.io/apis/devtune/devtune-actions-api/)
- [DevTune Adoption API](https://apis.io/apis/devtune/devtune-adoption-api/)
- [DevTune Agent Picks API](https://apis.io/apis/devtune/devtune-agent-picks-api/)
- [DevTune Agent registration API](https://apis.io/apis/devtune/devtune-agent-registration-api/)
- [DevTune Agents API](https://apis.io/apis/devtune/devtune-agents-api/)
- [DevTune AI Traffic API](https://apis.io/apis/devtune/devtune-ai-traffic-api/)
- [DevTune Audit and pages API](https://apis.io/apis/devtune/devtune-audit-and-pages-api/)
- [DevTune Citations API](https://apis.io/apis/devtune/devtune-citations-api/)
- [DevTune Content gaps API](https://apis.io/apis/devtune/devtune-content-gaps-api/)
- [DevTune Dex API](https://apis.io/apis/devtune/devtune-dex-api/)
- [DevTune Library and Knowledge API](https://apis.io/apis/devtune/devtune-library-and-knowledge-api/)

## Tags

Connection and usage

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/devtune` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/devtune/devtune-connection-and-usage-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/devtune/.
