Skip to main content
PATCH
/
models
/
{handle}
/
traits
/
{key}
cURL
curl -X PATCH https://u22a8.ai/v1/models/acme.support-tone/traits/warmth \
  -H "Authorization: Bearer $U22A8_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"description": "How warm and personable the reply reads"}'
{
  "traits": [
    {
      "key": "<string>",
      "name": "<string>",
      "positive_label": "<string>",
      "negative_label": "<string>",
      "sample_count": 123,
      "positive_samples": 123,
      "negative_samples": 123,
      "description": "",
      "kind": "extrinsic",
      "discrimination": 123,
      "explained_variance": 123,
      "anchor_sample_ids": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://u22a8-police-sweep-2026-06-01.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Draft-only — trait and sample edits apply only while the model is in the draft state. A trained (ready) model returns 409; the samples and traits are frozen into its versions.

Authorizations

Authorization
string
header
required

API key issued in the platform console, sent as Authorization: Bearer <key>.

Path Parameters

handle
string
required

Model handle, e.g. 'u22a8.technical-writing'.

Example:

"u22a8.technical-writing"

key
string
required

Body

application/json
name
string | null
description
string | null
positive_label
string | null
negative_label
string | null
aggregation
string | null

Response

Successful Response

traits
TraitDetail · object[]
required