Skip to main content
POST
/
summarize
cURL
curl --request POST \
  --url https://www.norns.ai/api/v0/summarize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'content=<string>' \
  --form 'file=<string>' \
  --form 'targetLanguage=<string>' \
  --form maxLength=123 \
  --form 0.file='@example-file' \
  --form 1.file='@example-file'
{
  "success": true,
  "data": {
    "summary": "<string>",
    "sentences": [
      {
        "text": "<string>",
        "startIndex": 123,
        "endIndex": 123
      }
    ],
    "usage": 123,
    "originalLanguage": "<string>",
    "targetLanguage": "<string>",
    "tokenCount": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.norns.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication

Body

multipart/form-data
content
string
required

Text content to summarize

file
file

File to summarize (PDF, DOCX, or TXT, max 10MB)

targetLanguage
string

Target language for the summary translation

maxLength
integer

Maximum length of the summary in characters

Response

Successful summarization response

success
boolean
data
object