Generate Content Suggestions
This endpoint requires authentication and audit ownership verification.
POST /api/v1/ai-content/generate/{audit_id}
Generate AI-powered content suggestions for a specific audit.
ID of the audit to generate suggestions for
Domain to generate content for (e.g., “example.com”)
List of topics to generate content suggestions for
Response
Returns an array of AI content suggestions:Unique suggestion ID
Associated audit ID
The topic this suggestion addresses
Suggested content title
Type of content (e.g., “blog_post”, “guide”, “tutorial”)
Suggested content outline with sections
Recommended keywords to target
Timestamp when the suggestion was created
Example Request
Example Response
Get Saved Suggestions
GET /api/v1/ai-content/{audit_id}
Retrieve previously generated content suggestions for an audit.
ID of the audit
Example Request
Error Codes
| Code | Description |
|---|---|
| 401 | Missing or invalid authentication token |
| 403 | User does not own the specified audit |
| 404 | Audit not found |
| 502 | AI generation failed (Kimi API error) |
| 503 | AI provider unavailable (check NV_API_KEY configuration) |
Provider Configuration
The AI Content service uses NVIDIA’s Kimi provider for content generation. Error responses include specific error codes:KIMI_UNAVAILABLE: Provider not configuredKIMI_GENERATION_FAILED: Generation request failed
Next Steps
GEO API
Generate GEO-optimized articles
Audits API
Manage audit configurations