tribecode API Documentation
Complete reference for the tribecode REST API. Access analytics, knowledge base, and more programmatically.
Quick Start
Get your API key from Settings → API Keys and start making requests in minutes.
See the tribe-api repository for complete working examples you can run locally.
Fetch Analytics Insights
Get AI-powered insights from your telemetry data
Retrieve Telemetry Events
Query your development activity events
Search Knowledge Base
Find articles and best practices
Base URL
https://tribecode.ai/apiRate Limits
1000 requests/hour per API key
Available Endpoints
Include your API key in the request header using one of these methods:
Recommended method
curl -H "Authorization: Bearer sk_live_your_api_key_here" \
https://tribecode.ai/api/data/insightsWorking Endpoints
/api/data/insightsGet analytics insights for the authenticated user
/api/data/eventsTrack a single event (Currently returns 405)
/api/knowledge-base/articlesList all knowledge base articles with search and filtering
Coming Soon
/api/data/insights/{id}/readMark insight as read
/api/data/events/batchTrack multiple events at once
/api/knowledge-base/articles/{id}Get specific article by ID
Get Analytics Insights
curl -H "Authorization: Bearer sk_live_your_api_key_here" \
https://tribecode.ai/api/data/insightsTrack an Event
curl -X POST \
-H "Authorization: Bearer sk_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"event_name": "task_completed", "event_data": {"task_id": "123"}}' \
https://tribecode.ai/api/data/eventsNeed the example code?
Check out the complete API examples repository at github.com/TRIBE-INC/tribe-api with working examples in JavaScript/Node.js.