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/site/{siteId}/job \
--header 'Authorization: Bearer <token>'[
{
"id": "8b8b2e5e-1a19-4a19-8b19-1e1919191919",
"token": "2jP5kLqWnZ",
"site_id": "9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a",
"idempotency_key": "7c7c1e4e-1918-4918-8a18-1e1818181818",
"description": "Add new firewall rule for guest network",
"express_execute": false,
"needs_acknowledgement": true,
"should_backup": true,
"associated_backup": "9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a/1667888400.rsc",
"started_at": "2025-10-29T12:05:10Z",
"completed_at": null,
"failed_at": null,
"created_at": "2025-10-29T12:00:00Z",
"log_url": "logs?group=sites&streams=9a9a...&start=...&end=...&filter={$.message=*2jP5kLqWnZ*}",
"script": "/ip firewall filter add chain=forward action=accept src-address-list=guests"
}
]Retrieves a list of all jobs that have been created for a specific site, ordered by creation date (most recent first).
curl --request GET \
--url https://v1.api.altostrat.io/site/{siteId}/job \
--header 'Authorization: Bearer <token>'[
{
"id": "8b8b2e5e-1a19-4a19-8b19-1e1919191919",
"token": "2jP5kLqWnZ",
"site_id": "9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a",
"idempotency_key": "7c7c1e4e-1918-4918-8a18-1e1818181818",
"description": "Add new firewall rule for guest network",
"express_execute": false,
"needs_acknowledgement": true,
"should_backup": true,
"associated_backup": "9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a/1667888400.rsc",
"started_at": "2025-10-29T12:05:10Z",
"completed_at": null,
"failed_at": null,
"created_at": "2025-10-29T12:00:00Z",
"log_url": "logs?group=sites&streams=9a9a...&start=...&end=...&filter={$.message=*2jP5kLqWnZ*}",
"script": "/ip firewall filter add chain=forward action=accept src-address-list=guests"
}
]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.
Authenticate requests by providing a JSON Web Token (JWT) in the Authorization header. Example: Authorization: Bearer <YOUR_JWT>
The UUID of the site.
A list of jobs for the site.
The unique identifier (UUID) for the job.
"8b8b2e5e-1a19-4a19-8b19-1e1919191919"
A short, unique, human-readable token for the job, often used in log filtering.
"2jP5kLqWnZ"
The ID of the site this job is targeted for.
"9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a"
A unique key provided by the client to prevent duplicate job creation.
"7c7c1e4e-1918-4918-8a18-1e1818181818"
A human-readable description of the job's purpose.
"Add new firewall rule for guest network"
If true, the platform will attempt to trigger an immediate check-in from the device to execute this job sooner.
false
If true, the job requires an explicit success/fail notification from the device to be marked as complete.
true
If true, a configuration backup was automatically created before this job was queued.
true
The path to the configuration backup file associated with this job, if one was created.
"9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a/1667888400.rsc"
The timestamp when the device started executing the job.
"2025-10-29T12:05:10Z"
The timestamp when the device reported successful completion of the job.
null
The timestamp when the device reported a failure during job execution.
null
The timestamp when the job was created.
"2025-10-29T12:00:00Z"
A relative URL to the Altostrat SDX UI to view logs related to this job's execution.
"logs?group=sites&streams=9a9a...&start=...&end=...&filter={$.message=*2jP5kLqWnZ*}"
The raw RouterOS script payload of the job.
"/ip firewall filter add chain=forward action=accept src-address-list=guests"
Was this page helpful?