Summarize documents

This API generates concise summaries for a list of input documents using a large language model (LLM), returning a corresponding list of summaries.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
path Parameters
projectName
required
string

The CDF project name, equal to the project variable in the server URL.

Example: publicdata
header Parameters
content-type
required
string (Content-Type)
cdf-version
string

cdf version header. Use this to specify the requested CDF release.

Example: alpha
Request Body schema: application/json
required
required
Array of objects (Items) = 1 items

List of documents to summarize

ignoreMissing
boolean (IgnoreMissing)
Default: false

If True, the API will not fail if any documents are missing, but summaries for the missing documents will be excluded from the response.

Responses
200

Successful Response

400

The response for a failed request.

post/api/v1/projects/{projectName}/ai/tools/documents/summarize
Request samples
application/json
{
  • "items": [
    • {
      }
    ],
  • "ignoreMissing": false
}
Response samples
application/json
{
  • "items": [
    • {
      }
    ]
}