Complete REST API reference for the NextGen AI Pipeline
/api/validateValidate conversation data quality and completeness
Agent
Data Validation Agent
Rate Limit
1000 req/min
Authentication
Bearer token required
{
"conversationData": {
"participants": ["Alice", "Bob"],
"messages": [
{
"senderName": "Alice",
"text": "Hello Bob",
"timestamp": 1609459200000
}
]
}
}{
"data_quality_score": "high",
"issues": [],
"analysis_ready": true
}curl -X POST https://api.nextgen-ai.com/api/validate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"conversationData": {
"participants": ["Alice", "Bob"],
"messages": [
{
"senderName": "Alice",
"text": "Hello Bob",
"timestamp": 1609459200000
}
]
}
}'All API requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_KEY
API requests are rate limited based on your plan. Rate limit information is included in response headers:
X-RateLimit-Limit: 1000 X-RateLimit-Remaining: 999 X-RateLimit-Reset: 1609459260
100 requests/day
10,000 requests/day
Custom limits
Success - Request completed successfully
Bad Request - Invalid parameters or malformed JSON
Unauthorized - Missing or invalid API key
Too Many Requests - Rate limit exceeded
Server Error - Internal server error
Check our documentation, explore code examples, or contact our support team