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 GET \
--url https://v1.api.altostrat.io/scripts/templates \
--header 'Authorization: Bearer <token>'{
"data": [
{
"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"
}
],
"links": {
"first": "https://v1.api.altostrat.io/scripts/templates?page=1",
"last": "https://v1.api.altostrat.io/scripts/templates?page=5",
"prev": "https://v1.api.altostrat.io/scripts/templates?page=2",
"next": "https://v1.api.altostrat.io/scripts/templates?page=4"
},
"meta": {
"current_page": 3,
"from": 21,
"last_page": 5,
"path": "https://v1.api.altostrat.io/scripts/templates",
"per_page": 10,
"to": 30,
"total": 50
}
}Retrieves a collection of script templates. Templates can be filtered to show public (global), private (organization-specific), or all accessible templates. They can also be searched by name or description.
curl --request GET \
--url https://v1.api.altostrat.io/scripts/templates \
--header 'Authorization: Bearer <token>'{
"data": [
{
"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"
}
],
"links": {
"first": "https://v1.api.altostrat.io/scripts/templates?page=1",
"last": "https://v1.api.altostrat.io/scripts/templates?page=5",
"prev": "https://v1.api.altostrat.io/scripts/templates?page=2",
"next": "https://v1.api.altostrat.io/scripts/templates?page=4"
},
"meta": {
"current_page": 3,
"from": 21,
"last_page": 5,
"path": "https://v1.api.altostrat.io/scripts/templates",
"per_page": 10,
"to": 30,
"total": 50
}
}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}'.
Filter templates by type. 'public' for global templates, 'private' for organization-specific templates. Omitting this parameter returns both.
public, private A search term to filter templates by name or description.
Was this page helpful?