DataTract AI API Documentation
Complete reference for integrating with the DataTract AI platform
Getting Started
Learn how to authenticate and make your first API call
Authentication
All API requests require authentication using JWT tokens
Steps:
- Obtain your API token from the dashboard settings
- Include the token in the Authorization header
- Use Bearer token format: Authorization: Bearer YOUR_TOKEN
Example Request:
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.datatractai.com/v1/data-sourcesBase URL
All API endpoints are relative to the base URL
Production: https://api.datatractai.com/v1
Example Request:
# Base URL for all API calls
https://api.datatractai.com/v1Rate Limits
API requests are rate limited to ensure fair usage
Rate limits: 1000 requests per hour per API token
Steps:
- Rate limit headers are included in all responses
- X-RateLimit-Limit: Maximum requests allowed
- X-RateLimit-Remaining: Requests remaining in current window
- X-RateLimit-Reset: Time when the rate limit resets