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/scripts/templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Disable Guest WiFi",
"description": "A script to disable the guest WiFi interface during off-hours.",
"content": "/interface wireless disable [find name=\"guest-wifi\"]",
"metadata": {
"department": "IT-Security"
}
}
'{
"id": "d9e5b5e3-3e8a-4c2f-8d2a-7e6e5a4b1c0d",
"name": "Standard Firewall Setup",
"description": "Applies the standard set of corporate firewall rules to a device.",
"content": "/ip firewall filter add chain=input action=accept connection-state=established,related",
"metadata": {
"version": "1.2",
"compliance": "PCI-DSS"
},
"author": "auth0|642b7f3b8b3b3e3e3e3e3e3e",
"read_only": false,
"created_at": "2025-10-29T10:30:00.000000Z",
"updated_at": "2025-10-29T11:00:00.000000Z"
}Creates a new, private script template for the user’s organization. This allows for the storage and reuse of standardized scripts within a team.
curl --request POST \
--url https://v1.api.altostrat.io/scripts/templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Disable Guest WiFi",
"description": "A script to disable the guest WiFi interface during off-hours.",
"content": "/interface wireless disable [find name=\"guest-wifi\"]",
"metadata": {
"department": "IT-Security"
}
}
'{
"id": "d9e5b5e3-3e8a-4c2f-8d2a-7e6e5a4b1c0d",
"name": "Standard Firewall Setup",
"description": "Applies the standard set of corporate firewall rules to a device.",
"content": "/ip firewall filter add chain=input action=accept connection-state=established,related",
"metadata": {
"version": "1.2",
"compliance": "PCI-DSS"
},
"author": "auth0|642b7f3b8b3b3e3e3e3e3e3e",
"read_only": false,
"created_at": "2025-10-29T10:30:00.000000Z",
"updated_at": "2025-10-29T11:00:00.000000Z"
}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.
Altostrat SDX API uses JWT Bearer tokens for authentication. Obtain a token via the Authentication API and include it in the Authorization header as 'Bearer {token}'.
The name for the new template.
100"Disable Guest WiFi"
A description of the template's purpose.
200"A script to disable the guest WiFi interface during off-hours."
The RouterOS script content.
5000"/interface wireless disable [find name=\"guest-wifi\"]"
Key-value metadata. Keys up to 50 chars, values up to 1000.
{ "department": "IT-Security" }The script template was created successfully.
The unique identifier for the script template.
"d9e5b5e3-3e8a-4c2f-8d2a-7e6e5a4b1c0d"
The name of the script template.
"Standard Firewall Setup"
A brief description of what the template does.
"Applies the standard set of corporate firewall rules to a device."
The full script content of the template.
"/ip firewall filter add chain=input action=accept connection-state=established,related"
A key-value map for storing arbitrary metadata.
{ "version": "1.2", "compliance": "PCI-DSS" }The user ID of the template's author. Null for global templates.
"auth0|642b7f3b8b3b3e3e3e3e3e3e"
True if the template is global and cannot be edited by the user.
false
The timestamp when the template was created.
"2025-10-29T10:30:00.000000Z"
The timestamp when the template was last updated.
"2025-10-29T11:00:00.000000Z"
Was this page helpful?