Docs

API Introduction

Getting started with the Cool Coding Web & Mobile Analytics API for AI agents.

API

cc: API — Introduction

Web & Mobile Analytics for AI Agents. One API for crash detection, performance monitoring, user-friction signals, and behavioural analytics.

Base URL

https://api.coolcoding.co.uk

Authentication

All endpoints are authenticated using API keys passed as Bearer tokens.

curl -X POST https://api.coolcoding.co.uk/v1/ingest \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cc-YOUR_API_KEY" \
  -d '{"app_id": "my-app", "events": []}'

Get your free API key

Endpoints

Method Endpoint Description
POST /v1/ingest Send raw events from your app or AI Agent
GET /v1/signals Live feed of errors, crashes, and friction
GET /v1/signals/{app_id} Signals filtered by app
GET /v1/alerts Threshold breaches ready for agent consumption
GET /v1/score/{session_id} Session health score
GET /v1/report/{app_id} Summarised analytics for a time window
GET /v1/usage API credit usage

Project Tracking

Attach a X-Project-ID header to organise usage across multiple apps:

curl -X POST https://api.coolcoding.co.uk/v1/ingest \
  -H "Authorization: Bearer cc-YOUR_API_KEY" \
  -H "X-Project-ID: your-project-id" \
  -H "Content-Type: application/json" \
  -d '{"app_id": "my-app", "events": []}'

Rate Limits: Development — 100 RPM · Production — 1,000 RPM. See Rate Limits for full details.

Expert help

Need help tracking this in your app?

Our team sets up analytics pipelines for mobile and web teams every day. Talk to us and get your first events flowing in under an hour.

Talk to an expert