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/backup/{siteId}/{filename} \
--header 'Authorization: Bearer <token>'{
"filename": "1732567800.rsc",
"size": "12.3KB",
"date": "29/10/2025",
"time": "12:50:00",
"created_at": "2025-10-29T12:50:00.000000Z",
"content": "/ip address\nadd address=192.168.88.1/24 interface=bridge network=192.168.88.0\n..."
}Fetches the contents of a specific backup file. The format of the response can be controlled via HTTP headers to return JSON metadata, raw text, highlighted HTML, or a downloadable file.
curl --request GET \
--url https://v1.api.altostrat.io/backup/{siteId}/{filename} \
--header 'Authorization: Bearer <token>'{
"filename": "1732567800.rsc",
"size": "12.3KB",
"date": "29/10/2025",
"time": "12:50:00",
"created_at": "2025-10-29T12:50:00.000000Z",
"content": "/ip address\nadd address=192.168.88.1/24 interface=bridge network=192.168.88.0\n..."
}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. Obtain a token via the Altostrat Authentication API.
Set to true to receive the backup content as raw plain text (text/plain).
Set to true to receive the backup content with syntax highlighting as an HTML fragment (text/html).
Set to true to trigger a file download with appropriate Content-Disposition headers (application/octet-stream).
The unique identifier for the site.
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
The filename of the backup, typically a UNIX timestamp with an .rsc extension.
"1732567800.rsc"
The requested backup file content, formatted based on request headers.
The full content and metadata of a specific backup file.
The unique filename of the backup file.
"1732567800.rsc"
The human-readable size of the backup file.
"12.3KB"
The date the backup was created, formatted according to the user's preferences.
"29/10/2025"
The time the backup was created, formatted according to the user's preferences and timezone.
"12:50:00"
The full ISO 8601 timestamp of when the backup was created.
"2025-10-29T12:50:00.000000Z"
The full text content of the RouterOS configuration script.
"/ip address\nadd address=192.168.88.1/24 interface=bridge network=192.168.88.0\n..."
Was this page helpful?