v2

latestOpenAPI 3.0.3Apache-2.02026-08-07119359591.9 KB
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"
}

<Note>This endpoint is in beta, read more here.</Note>

post/v2/annotation-configs

Request body

OR
OR

Response

An annotation config object

OR
OR