Summarize Document
Generate an AI-powered summary of a PDF document’s text content.
Required scopes (OAuth 2.0)
Required scopes (OAuth 2.0)
pdf:filesAuthorizations
Provide your API key in the X-API-Key header, e.g., X-API-Key: YOUR_API_KEY.
Body
Lumin document ID of the PDF to summarize.
Required when file_url is not provided. Takes priority if both are provided.
To obtain a document ID, upload the file to Lumin first using Upload Document.
Publicly accessible URL of the PDF file to summarize.
Required when document_id is not provided. Ignored if document_id is also provided.
If true, bypass the cached summary and generate a fresh one. This counts against the rate limit.
Response
Returns the AI-generated summary.
ID of the document that was summarized.
Name of the document.
The AI-generated summary text.
Detected language of the document content.
en, es, fr, vi, pt Total number of characters in the source document (including spaces).
true if the response was served from cache; false if a fresh summary was generated.
Number of summarize requests the user has remaining for today.