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"
}
Authorizations
Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
Body
Body containing annotation config creation parameters
- Option 1
- Option 2
- Option 3
The base annotation config creation parameters
Name of the new annotation config
ID of the space the annotation config will belong to
The type of annotation config:
- continuous: a numeric score within a defined range
- categorical: a set of labeled values each with an optional score
- freeform: free-text annotation with no structured scoring
continuous The minimum score value
The maximum score value
Direction for optimization. Defaults to none when omitted.
maximize, minimize, none Response
An annotation config object
- Option 1
- Option 2
- Option 3
The unique identifier for the annotation config
The name of the annotation config
The timestamp for when the annotation config was created
The space id the annotation config belongs to
Discriminator value identifying a continuous annotation config.
continuous The minimum score value
The maximum score value
Direction for optimization. When absent, the server treats the value as none.
maximize, minimize, none