01
Server-owned secrets
OPENAI_API_KEY lives only in Vercel environment variables. The iOS app never needs direct provider access.
Local-first AI processing backend
This service turns transcripts from the iOS app into summaries, sections, key points, action items, and tags. Audio can stay on-device while your API keeps the OpenAI key safely on the server.
01
OPENAI_API_KEY lives only in Vercel environment variables. The iOS app never needs direct provider access.
02
The backend asks OpenAI for strict JSON so your app can save summary blocks, tags, sections, and action items without brittle text parsing.
03
The first version expects transcript text from the app, which keeps raw audio local and reduces backend complexity from day one.
Request shape
{
"noteId": "optional-uuid",
"title": "Weekly planning sync",
"transcript": "Full transcript text...",
"locale": "tr-TR",
"folderName": "Meetings",
"durationSeconds": 1842
}Response shape
{
"noteId": "optional-uuid",
"provider": "openai",
"model": "gpt-5-mini",
"processedAt": "ISO_DATE",
"content": {
"shortSummary": "...",
"sections": [],
"keyPoints": [],
"actionItems": [],
"tags": [],
"language": "tr"
}
}