trackagoat logotrackagoat/Docs

Getting started

  • Welcome
  • Quickstart
  • Core concepts

Guides

  • Creators
  • Videos
  • Campaigns
  • Creator Goals
  • Tracking Inbox
  • Content calendar
  • How scraping works
  • Analytics & metrics
  • Similar creator pools
  • Over-posting & suppression
  • Program Health
  • Sentiment Radar
  • API keys
  • Limits & plan tiers
  • Notifications
  • Payouts

API reference

  • Overview
  • Authentication
  • Errors
  • Projects
  • Creators
  • Videos
  • Campaigns
  • Analytics
  • Aggregate Analytics
  • Payouts
  • Schema

For agents

  • Agent guide
  • Data model
  • MCP & tooling

Platform

  • Brand
  • Changelog
  • Support
DocsAPI reference

Schema

Machine-readable data model endpoint for AI agents and integrations.

PreviousPayoutsNextAgent guide

On this page

  • GET /api/v1/schema
  • Request
  • When to use this
  • Response

GET /api/v1/schema

Returns a machine-readable description of the trackagoat data model. Designed for AI agents that need to understand entity types, field names, and relationships without reading source code.

Request

bash
curl -H "Authorization: Bearer tga_<key>" \
  https://www.trackagoat.com/api/v1/schema

When to use this

Call /api/v1/schema when you first connect to the API to get a full picture of available entities and their fields. The response is stable across minor API updates — field names and types won't change without a version bump.

AI agents should call /api/v1/schema at the start of each session to orient themselves before querying data. See the Agent guide for more.

Response

The schema endpoint returns an object describing each entity type, its fields, and key relationships. The exact shape is controlled server-side and may expand over time.

json
{
  "data": {
    "entities": {
      "project": { "fields": {...}, "description": "..." },
      "creator": { "fields": {...}, "description": "..." },
      "video": { "fields": {...}, "description": "..." },
      "campaign": { "fields": {





Agent guide

How AI agents should connect to and use the trackagoat API.

API overview

Base URL, response envelope, pagination, and versioning.

...
},
"description"
:
"..."
}
},
"relationships": [...]
},
"error": null,
"meta": null
}