Create Classifier Version

This endpoint allows you to publish a new version of an existing classifier. Publishing a new version creates a snapshot of the classifier's current configuration and makes it available for use in workflows. Publishing a new version does not automatically update existing workflows using this classifier. You may need to manually update workflows to use the new version if desired.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

classifierIdstringRequired

The ID of the classifier.

Example: "cl_Xj8mK2pL9nR4vT7qY5wZ"

Headers

x-extend-api-version"2026-02-09"Optional
API version to use for the request. If you're using an SDK, you can ignore this parameter. If you are not using an SDK and do not specify a version, you will either receive a `400 Bad Request` or be set to a previous legacy version. See [API Versioning](https://docs.extend.ai/2026-02-09/developers/api-versioning) for more details.
x-extend-workspace-idstringOptional
The workspace ID to target. **Required** when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See [Authentication](https://docs.extend.ai/2026-02-09/developers/authentication) for details on API key scopes.

Request

This endpoint expects an object.
releaseTypeenumRequired
The type of release for this version. The two options are "major" and "minor", which will increment the version number accordingly.
Allowed values:
descriptionstringOptional
A description of the changes in this version. This helps track the evolution of the processor over time.
configobjectOptional
The configuration for this version of the classifier.

Response

Successfully published classifier version
objectenum

The type of object. Will always be "classifier_version".

Allowed values:
idstring

The unique identifier for this version of the classifier.

Example: "clv_xK9mLPqRtN3vS8wF5hB2cQ"

descriptionstring or null

A description of this version of the classifier.

Example: "Added new document types for Q4 processing"

versionstring

The version number or identifier for this specific version of the classifier. The draft version will have version=β€œdraft”.

Examples: "1.0", "2.1", "draft"

configobject
The configuration settings for this version of the classifier.
classifierIdstring

The ID of the classifier that this version belongs to.

Example: "cl_Xj8mK2pL9nR4vT7qY5wZ"

createdAtstringformat: "date-time"

The time (in UTC) at which the object was created. Will follow the RFC 3339 format.

Example: "2024-03-21T16:45:00Z"

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error