For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bulk document classification

post
Authorizations
X-Api-KeystringRequired
Body
contextstring[] · nullableOptional

Per-file classification context strings. Length must match files array.

Default: null
custom_document_typesstring[] · nullableOptional

Custom document types applied to all files. If provided, classification is restricted to these types.

Default: null
custom_document_types_urlstring · nullableOptional

URL to custom document types JSON file. Merged with custom_document_types for all files.

Default: null
modelstring · enum · nullableOptional

LLM model for classification (applies to all files). Defaults to gemini-3 if not specified.

Default: nullExample: gemini-3Possible values:
use_custom_types_onlyboolean · nullableOptional

If true, only custom_document_types are valid. Applied to all files.

Default: false
Responses
200

OK

application/json
failedintegerRequired

Number of failed files

messagestring · nullableOptional

Status message

Default: null
statusstring · enumOptionalDefault: successPossible values:
successfulintegerRequired

Number of successfully classified files

totalintegerRequired

Total number of files submitted

post/classify/bulk

Last updated