Classify

post/classify

Request body

persist_resultsboolean

If True, persist the results indefinitely. Defaults to False.

document_metadatastring nullable

Optional document-level metadata to include in classification prompts.

Response

Successful Response

job_idstring required
durationnumber nullable

The duration of the classify request in seconds.

Changes

Changed in 1 of the 45 revisions of this API.1