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:

  1. Obtain your API token from the dashboard settings
  2. Include the token in the Authorization header
  3. Use Bearer token format: Authorization: Bearer YOUR_TOKEN

Example Request:

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
  https://api.datatractai.com/v1/data-sources

Base 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/v1

Rate Limits

API requests are rate limited to ensure fair usage

Rate limits: 1000 requests per hour per API token

Steps:

  1. Rate limit headers are included in all responses
  2. X-RateLimit-Limit: Maximum requests allowed
  3. X-RateLimit-Remaining: Requests remaining in current window
  4. X-RateLimit-Reset: Time when the rate limit resets