Technical reference

API Reference

A REST API documented with OpenAPI 3.1, authenticated via Bearer API keys.

Authentication

Create a key from Dashboard → API keys, then attach it to each request:

Authorization: Bearer jts_<prefix>_<secret>

Rate limits

  • 300 requests/min per API key (rolling window)
  • Plan-level monthly AI quota applies (Free 100, Starter 5k, Pro 50k)

Endpoints

GET /api/v1/me

Returns the authenticated user and their active plan.

POST /api/v1/ai/completions

Non-streaming Claude completion.

curl -X POST https://jtaidigital.com/api/v1/ai/completions \
  -H "Authorization: Bearer $JT_STUDIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "primary",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

POST /api/v1/leads

Create a new lead.

Specification

Full OpenAPI 3.1 specification: /api/v1/openapi.json

SDKs

  • TypeScript: @jt-studio/sdk
  • Python: jt-studio-sdk