Introduction
The Timepoint Pro API is a FastAPI-based RESTful service that provides access to cognitive tensors, semantic search, and simulation management capabilities.Base URL
API Version
Current API version: 1.0.0Core Features
- Tensor CRUD: Create, read, update, and delete cognitive tensors
- Semantic Search: Natural language search over tensor descriptions using RAG
- Permission Control: Private, shared, and public access levels
- Tensor Composition: Combine multiple tensors using various methods
- Simulation Jobs: Create and manage simulation jobs with templates
- Batch Submission: Submit multiple simulations in a single request
- Usage Quotas: Track and enforce monthly usage limits per tier
Authentication
All API endpoints require authentication using an API key passed in theX-API-Key header. See the Authentication page for details.
Rate Limiting
The API enforces rate limits based on your subscription tier:| Tier | Requests/Minute | Requests/Hour | Burst (Requests/Second) | Concurrent Jobs |
|---|---|---|---|---|
| Free | 10 | 100 | 2 | 1 |
| Basic | 60 | 1,000 | 5 | 3 |
| Pro | 300 | 10,000 | 20 | 10 |
| Enterprise | 1,000 | 100,000 | 50 | Unlimited |
429 Too Many Requests response with Retry-After headers.
Rate Limit Response
Usage Quotas
Monthly usage quotas are enforced per tier:| Tier | API Calls | Simulations | Monthly Cost | Max Batch Size |
|---|---|---|---|---|
| Free | 1,000 | 10 | $1.00 | 5 |
| Basic | 10,000 | 100 | $10.00 | 20 |
| Pro | 100,000 | 1,000 | $100.00 | 50 |
| Enterprise | Unlimited | Unlimited | Unlimited | 100 |
GET /simulations/batch/usage.
Quota Exceeded Response
Health Check
Check API status and database health:Error Responses
All errors follow a consistent format:Common HTTP Status Codes
200 OK- Request succeeded201 Created- Resource created successfully202 Accepted- Request accepted (async operation)204 No Content- Request succeeded with no response body400 Bad Request- Invalid request parameters401 Unauthorized- Missing or invalid API key403 Forbidden- Insufficient permissions404 Not Found- Resource not found409 Conflict- Resource already exists429 Too Many Requests- Rate limit or quota exceeded500 Internal Server Error- Server error503 Service Unavailable- Service temporarily unavailable
CORS
The API supports Cross-Origin Resource Sharing (CORS). Configure allowed origins using theCORS_ORIGINS environment variable (comma-separated list).
API Documentation
Interactive API documentation is available at:- Swagger UI:
http://localhost:8080/docs - ReDoc:
http://localhost:8080/redoc
Next Steps
- Authentication - Set up API keys
- Tensors - Work with cognitive tensors
- Search - Semantic search and composition
- Simulations - Run simulation jobs
- Batch - Submit batch simulations

