Summary

Summarise a document using AI

post

Create a AI (GPT-4) generated summary of the provided document.

Authorizations
X-API-KEYstringRequired
Body
Responses
200

Success

post
/ai/v1/tasks/summary
POST /ai/v1/tasks/summary HTTP/1.1
Host: api.tendocs.com/
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 284

{
  "document": {
    "$content-type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
    "$content": "UEsDBBQAAAgIAJMrVV...[[Base64 Encoded File]]"
  },
  "configuration": {
    "MaximumWordCount": 300,
    "Keys": {
      "example_key1": "example_key_value1",
      "example_key2": "example_key_value2"
    }
  }
}

No content

Last updated

Was this helpful?