Summarize PDF

To get the summary of a PDF you just need docId of the PDF. To get docId upload the PDF first.

You can get the summary in the language you want using the language field. The default language is English.

Summary of the PDF

Summarize a PDF

POST https://pdf.ai/api/v1/summary

To get the summary of the PDF using its docId

Headers

Name
Type
Description

X-API-Key*

string

<API-Key>

Request Body

Name
Type
Description

docId*

string

Document ID obtained after uploading PDF

language

string

Summary language e.g., "french"

use_gpt4

boolean

To get response using GPT-4 model. Default model: gpt-4-turbo

model

string

To choose GPT-4 model "gpt-4o" or "gpt-4-turbo"(default)

{
    "content": "This is the summary of the PDF"
}

Last updated

Was this helpful?