Agent Analytics · Schema
TrackRequest
AnalyticsArtificial IntelligenceWeb AnalyticsOpen SourceSoftware-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| token | string | Project token (`aat_*`) |
| event | string | Event name (max 256 chars) |
| properties | objectnull | Arbitrary key-value properties (max 8KB JSON). The tracker auto-populates `path`, `url`, `hostname`, `title`, `referrer`, `screen`, `browser`, `browser_version`, `os`, `device`, `language`, `timezone` |
| user_id | stringnull | Anonymous user identifier (max 256 chars). The tracker auto-generates one via localStorage. |
| session_id | stringnull | Session identifier (max 256 chars). The tracker auto-generates one via sessionStorage with 30-min inactivity timeout. |
| timestamp | numbernull | Unix timestamp in milliseconds. Defaults to `Date.now()`. Must be within 30 days ago to 5 minutes in the future. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/agentanalytics-sh/json-schema/agentanalytics-sh-track-request-schema.json",
"title": "TrackRequest",
"x-generated": "2026-11-01",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/agentanalytics-sh-api-openapi.yml#/components/schemas/TrackRequest",
"type": "object",
"required": [
"token",
"event"
],
"properties": {
"token": {
"type": "string",
"description": "Project token (`aat_*`)"
},
"event": {
"type": "string",
"description": "Event name (max 256 chars)"
},
"properties": {
"type": [
"object",
"null"
],
"description": "Arbitrary key-value properties (max 8KB JSON). The tracker auto-populates `path`, `url`, `hostname`, `title`, `referrer`, `screen`, `browser`, `browser_version`, `os`, `device`, `language`, `timezone` (IANA), `utm_*` params, `session_count`, `days_since_first_visit`, and `first_utm_*` (first-touch attribution)."
},
"user_id": {
"type": [
"string",
"null"
],
"description": "Anonymous user identifier (max 256 chars). The tracker auto-generates one via localStorage."
},
"session_id": {
"type": [
"string",
"null"
],
"description": "Session identifier (max 256 chars). The tracker auto-generates one via sessionStorage with 30-min inactivity timeout."
},
"timestamp": {
"type": [
"number",
"null"
],
"description": "Unix timestamp in milliseconds. Defaults to `Date.now()`. Must be within 30 days ago to 5 minutes in the future."
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/agentanalytics-sh-track-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.