API Endpoints Reference Guide
Explore all available REST and GraphQL endpoints for programmatic access to Glorp's AI analytics.
GET /analytics
POST /dashboards
DELETE /queries
Authentication
All endpoints require a valid X-API-Key
header.
Use your organization's API key from the dashboard.
curl -X GET \
-H "X-API-Key: YOUR_API_KEY" \
https://api glorp.co/v2/analytics
Core Endpoints
GET /analytics
v2Query your data with complex filters, dimensions, and metrics
Parameters:
- date_range (object)
- dimensions (array)
- metrics (array)
- filters (object)
Returns:
{
"rows": [...],
"totals": {...},
"meta": {
"query_time": "123ms",
"credits_used": 12
}
}
GET /dashboards
v2Retrieve and manage saved dashboards and widgets
Query Parameters:
- id (string)
- team (string)
- shared (boolean)
Returns:
{
"dashboards": [...],
"count": 54,
"can_create": true
}
POST /queries
v2Save and schedule complex analytical queries
Body Parameters:
{
"sql": "SELECT...",
"name": "user_engagement",
"schedule": "0 8 * * *"
}
Returns:
{
"id": "q_12345",
"status": "scheduled",
"next_run": "2025-09-01T08:00:00Z"
}
Rate Limiting
Free Tier
500 RPS
Pro Tier
5,000 RPS
Enterprise
Custom RPS
Start Building Faster
API Keys
Generate API keys from your organization dashboard
Postman Collection
Download our Postman collection for quick API testing
Sandbox
Test your code in our isolated API sandbox environment