Activity Config
Attribute Keys
List available attribute keys from the global catalog.
GET /api/activity-config/attribute-keys
List all available attribute keys from the global catalog. These keys represent the types of data that can be attached to activities.
Auth: Required — VIEW_ACTIVITIES permission
Example
curl https://api.reten.ai/api/activity-config/attribute-keys \
-H "Authorization: Bearer <token>" \
-H "x-tenant-id: <tenant-id>"import axios from 'axios';
const response = await axios.get(
'https://api.reten.ai/api/activity-config/attribute-keys',
{
headers: {
Authorization: 'Bearer <token>',
'x-tenant-id': '<tenant-id>',
},
}
);
const attributeKeys = response.data;Response 200 OK
[
{
"id": "220e8400-e29b-41d4-a716-446655440000",
"key": "commerce_info",
"label": "Commerce Info",
"description": "Commerce data for activity context"
},
{
"id": "330e8400-e29b-41d4-a716-446655440000",
"key": "promotions",
"label": "Promotions",
"description": "Active promotions for the commerce"
}
]Notes
- Attribute keys are global (public schema)
- They are bootstrapped idempotently on server start
- Each tenant configures its own policies for these keys