cd ../pg-tailor
API reference·REST · OpenAPI 3.1 · Next.js route handlers·/api

PG-Tailor

PG-Tailor's API parses a résumé, AI-tailors it to a job description (streamed token-by-token over SSE), and exports PDF/DOCX in seven templates. On top sits a cached SerpAPI job board, an Autopilot that scores every job against your profile with Gemini, history with status tracking, and a career chat grounded in a tailored résumé.

// Backend is Next.js App Router route handlers on the same origin as the UI; tailoring and the career chat stream Server-Sent Events. Everything but /api/auth/* sits behind a cookie gate.

PG Tailor API v1.0.0 · OpenAPI 3.1.0 · 30 endpoints
download openapi.json

Auth

2Hardcoded single-user login gate

Tailoring

3Parse resumes, AI-tailor them, and export PDF/DOCX

Jobs

5Cached + archived job board (SerpAPI)

Saved PGs

4Stored master resumes

History

5Tailored resume records and status tracking

Autopilot

6AI job-match scoring against a profile

Chat

5AI career assistant grounded in a tailored resume

$ cat schemas/

14