# POST /ai/transcript-summary

**Resource:** [AI](./ai.md)  
**Scopes:** `ai:use`  
**Write operation:** yes

Server-side AI intelligence extraction from a transcript. Runs Claude on the full transcript text server-side (no transport size limits) and returns a compact structured summary. Ideal for large transcripts that exceed MCP context limits, or when you need intelligence rather than raw text. Costs 1 credit.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `transcript_id` | body | uuid | yes | Transcript UUID. Use GET /transcripts to find IDs. |
| `focus` | body | string | no | Optional focus area for the extraction (e.g. "product feedback", "pricing objections", "competitor comparison") |

## Response example

```json
{
  "data": {
    "transcript_id": "uuid",
    "title": "Demo Call - Acme Corp",
    "occurred_at": "2026-04-17T09:00:00Z",
    "duration_minutes": 42,
    "participant_count": 3,
    "type": "zoom_call",
    "source": "Zoom",
    "sentiment": "positive",
    "summary": "Strong interest in workflow automation. Client asked about Xero integration and API access. Decision expected by end of April.",
    "key_topics": ["automation", "Xero integration", "pricing", "timeline"],
    "key_quotes": [
      { "quote": "This would save us 3 hours a day", "context": "After seeing the automation demo", "use": "testimonial" }
    ],
    "feature_gaps": ["Bulk SMS to a segment"],
    "competitor_mentions": [{ "name": "HubSpot", "context": "Currently using, wants to switch" }],
    "impressive_features": ["Pipeline automation", "Document signing"],
    "bugs_reported": [],
    "pricing_feedback": "Pricing is reasonable but wants annual discount",
    "integration_requests": ["Xero", "Zapier"],
    "action_items": ["Send API docs", "Schedule follow-up for April 25"],
    "input_tokens": 4820,
    "output_tokens": 312
  },
  "meta": { "credits_remaining": 9489 }
}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`