Summarize documents.
Generates concise summaries for a list of input documents using a language model. Only files that have an instance ID (CogniteFile) are supported. Identifying files by file ID or external ID is deprecated.
Authorizations
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Scopes
Body
A list of documents to summarize, identified by instance ID. File IDs and external IDs are deprecated: only files that have an instance ID (CogniteFile) will be supported.
1 elementDeprecated. Identify the document by instanceId instead.
- DocumentInternalId
- DocumentExternalId
- DocumentInstanceId
Response
Successful Response
A list of documents with summaries.
Deprecated. Documents are identified by instanceId instead.
- DocumentSummarizationResponseItemInternalId
- DocumentSummarizationResponseItemExternalId
- DocumentSummarizationResponseItemInstanceId