Documentation

Build with TokenAlign

Comprehensive guides, API references, and examples for integrating temporal intelligence into your AI systems.

API Quick Reference

Full API Docs

Base URL: https://api.tokenalign.ai/v1

POST/v1/alignAlign temporal expressions
POST/v1/contamination-checkCheck dataset contamination
POST/v1/timelineExtract temporal timeline
GET/v1/usageCheck your usage

Quick Start (cURL)

curl https://api.tokenalign.ai/v1/align \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "The meeting is on 15/03/2024",
    "target_model": "gpt-4o",
    "output_format": "json",
    "detect_calendars": true
  }'

Quick Start (Python)

from tokenalign import TokenAlign

client = TokenAlign(api_key="YOUR_API_KEY")

response = client.align(
    text="The meeting is on 15/03/2024",
    target_model="gpt-4o",
    output_format="json"
)

print(response.json())

Need help?

Our team is here to help you integrate TokenAlign into your systems.