API Reference
API Reference
Detailed API documentation for integrating Growthub services into your applications.
Core Endpoints
POST /api/agents
Create a new agent
{
"name": "Marketing Agent",
"description": "Handles marketing tasks",
"llmModel": "gpt-4",
"brandKitId": "brand_123"
}
GET /api/agents/:id
Retrieve agent details
Returns the full agent configuration and current status.
POST /api/content/generate
Generate content using Content Studio
{
"prompt": "Create a hero image",
"brandKitId": "brand_123",
"contentType": "image"
}
Authentication
All API requests require authentication using an API key in the Authorization header:
Authorization: Bearer your_api_key_here
Rate Limiting
API requests are rate limited based on your plan:
- Standard Plan: 100 requests per minute
- Pro Plan: 1,000 requests per minute
- Enterprise Plan: Custom limits
