Classify

Update a Classifier

Only fields included in the request body are updated.

put/v1/classifiers/{classifier_id}

Request

  • Base URL: https://api.documentpro.ai
  • URL: https://api.documentpro.ai/v1/classifiers/{classifier_id}
  • Auth: API key in header x-api-key

Path parameters

classifier_idstring uuid required

Request body

namestring

Example request

{
  "configs": {
    "classes": [
      {
        "label": "invoice",
        "description": "A document requesting payment for goods or services rendered"
      }
    ],
    "page_range": "1-2"
  }
}

Response

Classifier updated.

classifier_idstring uuid
namestring
user_idstring uuid
created_atstring date-time
updated_atstring date-time

Example response

{
  "configs": {
    "classes": [
      {
        "label": "invoice",
        "description": "A document requesting payment for goods or services rendered"
      }
    ],
    "page_range": "1-2"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.