Summarize a PDF
A plain summary and key points, each with the pages it comes from. Priced like ask.
POST /v1/ai/summarize
Request
curl -X POST https://api.fynepdf.com/v1/ai/summarize \
-H "Authorization: Bearer $FYNEPDF_API_KEY" \
-H "Content-Type: application/json" \
-d '{"file_id":"file_01jc8x4m2k9q7r3t5vwy6z","length":"short","focus":"risks and deadlines"}'Body
| Parameter | Type | Required | What it does |
|---|---|---|---|
file_id | string | yes | |
length | "short" · "medium" · "long" | ||
focus | string |
Response
The summary.
| Field | Type | Required | What it does |
|---|---|---|---|
object | "summary" | yes | |
summary | string | yes | |
key_points | array of object | yes | |
pages_read | array of integer | yes | |
credits | integer | yes | |
test | boolean |
Errors
Errors are problem details (RFC 9457) with a code you can branch on and a request_id for support.