Partner API
Overview

Partner API

The TutorQ Partner API lets you integrate curriculum-grounded search into your own application. Your students ask questions, our API returns answers from the actual course materials — no hallucinations, no generic content.

How It Works

Your App → POST /api/v1/partner/search → TutorQ → Grounded Results
  1. Setup (one-time): We create a university tenant for you, you upload course materials, we process them
  2. Integration: Your backend calls our search API with an API key
  3. Runtime: Students get answers grounded in your curriculum

Endpoints

MethodEndpointDescription
GET/api/v1/partner/coursesList your available courses
POST/api/v1/partner/searchSearch course materials

What You Get

  • Course listing — See all your courses with processed materials, get course IDs for search
  • Search API — Query course materials and get relevant passages
  • Data Isolation — Your API key is tied to your organization. You only see your materials.
  • Usage Tracking — Every request is logged. Monthly summaries available for billing.
  • Rate Limiting — Default 100 requests/minute per API key (configurable)

Base URL

https://api.tutorq.ai

Quick Start

curl -X POST https://api.tutorq.ai/api/v1/partner/search \
  -H "Content-Type: application/json" \
  -H "x-api-key: tq_pk_your_api_key_here" \
  -d '{
    "query": "What is the anatomy of the retina?",
    "course_id": "your-course-id"
  }'

Response:

{
  "success": true,
  "results": [
    {
      "title": "Anatomy of the Eye - Retinal Layers",
      "content": "The retina is a thin layer of neural tissue...",
      "key_terms": ["retina", "photoreceptors", "rods", "cones"],
      "images": ["Cross-section diagram showing retinal layers"]
    }
  ],
  "total_results": 1,
  "query": "What is the anatomy of the retina?"
}

Next Steps