Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request POST \
--url https://v1.api.altostrat.io/tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"key": "Site Status",
"color": "#4CAF50",
"mandatory_on": [
"site"
]
}
'{
"id": "tag_01E8Z4Q6J7B6A5P4E3D2C1B0A9",
"key": "Region",
"color": "#3F51B5",
"mandatory_on": [
"site"
],
"created_at": "2025-10-29T12:00:00Z",
"updated_at": "2025-10-29T12:30:00Z"
}Creates a new tag definition. A tag definition acts as a template or category (e.g., “Site Type”, “Priority”) that can then be applied to various resources.
curl --request POST \
--url https://v1.api.altostrat.io/tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"key": "Site Status",
"color": "#4CAF50",
"mandatory_on": [
"site"
]
}
'{
"id": "tag_01E8Z4Q6J7B6A5P4E3D2C1B0A9",
"key": "Region",
"color": "#3F51B5",
"mandatory_on": [
"site"
],
"created_at": "2025-10-29T12:00:00Z",
"updated_at": "2025-10-29T12:30:00Z"
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
A bearer token is required for all API requests.
The details of the tag definition to create.
The display name for the tag category.
100"Customer Segment"
A hex color code for UI display.
^#[0-9A-Fa-f]{6}$"#FF9800"
A list of resource types for which this tag is mandatory.
The type of resource being correlated.
site, user, wan, account The tag definition was created successfully.
The unique identifier for the tag definition.
"tag_01E8Z4Q6J7B6A5P4E3D2C1B0A9"
The display name for the tag category (e.g., "Region", "Priority").
"Region"
A hex color code used for UI display.
"#3F51B5"
A list of resource types where this tag must be applied.
The type of resource being correlated.
site, user, wan, account The timestamp when the tag definition was created.
"2025-10-29T12:00:00Z"
The timestamp when the tag definition was last updated.
"2025-10-29T12:30:00Z"
Was this page helpful?