curl --request PUT \
--url https://api.example.com/enrichments/{name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "02_namespace_to_org",
"description": "EKS pods the pod label does not resolve -> namespace's responsible organization",
"keyField": "cos_namespace",
"priority": 2,
"conditions": "input.cos_cluster_name != null && input.cos_namespace != \"\"",
"targetColumns": [
{
"name": "owner_org",
"mode": "merge"
},
{
"name": "owner_org_code",
"mode": "merge"
}
],
"entries": [
{
"key": "team-a",
"then": {
"owner_org": "Platform",
"owner_org_code": "PLAT"
}
}
]
}
EOF{
"change": "added"
}{
"errors": [
"<string>"
]
}{
"error": "<string>"
}{
"error": "ADMIN_REQUIRED"
}{
"errors": [
"<string>"
]
}Enrichments API
Store an enrichment document as a draft
Stores the document as a draft. Publish makes it live. A body equal to the live document drops its draft and returns unchanged.
The document name must match the URL. A body larger than 10 MB is 413. Org admin only.
PUT
/
enrichments
/
{name}
curl --request PUT \
--url https://api.example.com/enrichments/{name} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"name": "02_namespace_to_org",
"description": "EKS pods the pod label does not resolve -> namespace's responsible organization",
"keyField": "cos_namespace",
"priority": 2,
"conditions": "input.cos_cluster_name != null && input.cos_namespace != \"\"",
"targetColumns": [
{
"name": "owner_org",
"mode": "merge"
},
{
"name": "owner_org_code",
"mode": "merge"
}
],
"entries": [
{
"key": "team-a",
"then": {
"owner_org": "Platform",
"owner_org_code": "PLAT"
}
}
]
}
EOF{
"change": "added"
}{
"errors": [
"<string>"
]
}{
"error": "<string>"
}{
"error": "ADMIN_REQUIRED"
}{
"errors": [
"<string>"
]
}Authorizations
Body
application/json
Last modified on October 12, 2026
