Annotation Configs

Create an annotation config

Create a new annotation config.

Payload Requirements

  • The annotation config name must be unique within the given space.

Valid example

{
  "name": "my-annotation-config",
  "space_id": "spc_123",
  "annotation_config_type": "CATEGORICAL",
  "values": [
    {
      "label": "value1",
      "score": 0
    },
    {
      "label": "value2",
      "score": 1
    }
  ],
  "optimization_direction": "MAXIMIZE"
}
post/v2/annotation-configs

Request body

OR
OR

Response

An annotation config object

OR
OR

Changes

No changes recorded. 1 of the 16 revisions has no diff computed, so it could not be searched.