# DevTune AI Traffic API

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

DevTune AI Traffic 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. This API exposes 1 JSON Schema definition. Tagged areas include AI Traffic. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

AI referrals, answer fetches, crawls, 404 Demand, Direct lift and Search Console totals.

## Operations (20)

| Method | Path | Summary |
|---|---|---|
| GET | `/projects/{projectId}/traffic/recent-answer-fetches` | List recent answer fetches |
| GET | `/projects/{projectId}/traffic/visits-per-answer-fetch` | Get visits per answer fetch |
| GET | `/projects/{projectId}/traffic/referrals` | List AI referrals |
| GET | `/projects/{projectId}/traffic/coding-agents` | Get coding-agent answer fetches |
| GET | `/projects/{projectId}/traffic/sensors` | Get AI Traffic sensors |
| DELETE | `/projects/{projectId}/traffic/sensors/ga4/{connectionId}` | Disconnect GA4 |
| POST | `/projects/{projectId}/traffic/sensors/edge-middleware/ingest-key/rotate` | Rotate the edge ingest key |
| POST | `/projects/{projectId}/traffic/sensors/edge-middleware/ingest-key/revoke-previous` | Revoke the previous edge ingest key |
| POST | `/projects/{projectId}/traffic/sensors/cloudflare/sources` | Save a Cloudflare source |
| POST | `/projects/{projectId}/traffic/sensors/cloudflare/hostnames` | Save a Cloudflare hostname |
| PATCH | `/projects/{projectId}/traffic/sensors/cloudflare/hostnames/{connectionId}` | Pause or resume a Cloudflare hostname |
| DELETE | `/projects/{projectId}/traffic/sensors/cloudflare/hostnames/{connectionId}` | Delete a Cloudflare hostname |
| DELETE | `/projects/{projectId}/traffic/sensors/search-console/{connectionId}` | Disconnect Search Console |
| GET | `/projects/{projectId}/traffic/referral-hosts` | List AI referral hosts |
| GET | `/projects/{projectId}/traffic/404-demand` | Get 404 Demand |
| GET | `/projects/{projectId}/traffic/direct-lift` | Get AI-correlated Direct lift |
| GET | `/projects/{projectId}/traffic/summary` | Get traffic summary |
| GET | `/projects/{projectId}/traffic/search-rollups` | Get Search Console and analytics totals |
| GET | `/projects/{projectId}/traffic/page-search-queries` | Get a page's Search Console queries |
| GET | `/projects/{projectId}/traffic/platforms` | Get traffic by platform |

## Machine-readable artifacts (2)

- **OpenAPI** — https://artifacts.apis.io/devtune/openapi/devtune-ai-traffic-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/devtune/json-schema/devtune-direct-lift-data-schema.json

## 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 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 Connection and usage API](https://apis.io/apis/devtune/devtune-connection-and-usage-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

AI Traffic

## 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-ai-traffic-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/devtune/.
