POST
/
summarize
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 'targetLanguage=<string>' \
  --form maxLength=123
{
  "success": true,
  "data": {
    "summary": "<string>",
    "sentences": [
      {
        "text": "<string>",
        "startIndex": 123,
        "endIndex": 123
      }
    ],
    "usage": 123,
    "originalLanguage": "<string>",
    "targetLanguage": "<string>",
    "tokenCount": 123
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

multipart/form-data

Response

200
application/json

Successful summarization response

The response is of type object.