{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"0c0f97c4-7c49-44c2-b97e-d70ce3c9a644","name":"Stellar AIO Public API","description":"REST API for the Stellar AIO desktop app: task groups, tasks, start and stop, statuses and logs.\n\nBase URL: `https://api.stellaraio.com/v1`\n\n## Quick start\n\n1. In the desktop app open Settings, Account, Public API. Create a key and copy it. It is shown once.\n2. On the same page turn on Allow Public API. Do this on every computer the key should reach.\n3. Call the API with the key:\n\n```\ncurl https://api.stellaraio.com/v1/instances \\\n  -H \"Authorization: Bearer YOUR_API_KEY\"\n```\n\nTake an instance `id` from the answer. Every other endpoint is under `/instances/{instanceId}`.\n\n## How it works\n\nThe API does not store your tasks. Each request is passed to your running desktop app, which does the work and\nanswers. So the app has to be open and online, and a request can fail because the app is closed\n(`not_found`), went away mid-request (`instance_offline`) or was too slow (`instance_timeout`).\n\nIds are opaque strings. Do not parse them.\n\n## Keys and scopes\n\nA key belongs to your account and reaches every instance on it that has Allow Public API on. Pick scopes when you\ncreate the key:\n\n| Scope | Allows |\n| --- | --- |\n| `read` | instances, task groups, tasks, statuses, logs, schema, proxy and profile group names |\n| `tasks.write` | create, edit and delete tasks and task groups |\n| `tasks.run` | start, stop and restart tasks |\n\nDeleting a key in the app stops it working right away. A key never gives access to profiles, cards, proxies or\naccount passwords: the API returns ids and names only.\n\n## Responses\n\nSuccess is `200` or `201` with the result under `data`:\n\n```\n{ \"data\": { \"ok\": true, \"created\": 2, \"ids\": [\"BHvEKT0Xn0ipaD7dSShYW\", \"3Fa78xg2K5yvK4l6V1BI-\"] } }\n```\n\nFailure is a 4xx or 5xx status with an `error`:\n\n```\n{ \"error\": { \"code\": \"api_disabled\", \"message\": \"Allow Public API is switched off on this instance\" } }\n```\n\nBranch on `code`. `message` is for people and can change.\n\n| Status | Code | Meaning |\n| --- | --- | --- |\n| 400 | `bad_request` | A parameter or the body is wrong. The message names the field. |\n| 401 | `unauthorized` | No key, a malformed key, or a key that was removed. |\n| 403 | `missing_scope` | The key lacks the scope the endpoint needs. |\n| 403 | `api_disabled` | Allow Public API is off on that instance. |\n| 404 | `not_found` | No such endpoint, online instance, group, task or site. |\n| 409 | `key_limit` | The account already has the maximum number of keys. |\n| 409 | `instance_offline` | The app went offline. |\n| 409 | `request_in_progress` | A request with the same Idempotency-Key is still running. |\n| 422 | `instance_rejected` | The app refused the change. The message is its reason. |\n| 429 | `rate_limited` | Too many requests. See Retry-After. |\n| 502 | `instance_failed` | The app could not complete the request. |\n| 503 | `unavailable` | Too many requests in flight. Try again. |\n| 504 | `instance_timeout` | The app did not answer in time. A write may still have gone through. |\n\nWhen the app itself turns a change down, for example a task with a required field missing, the code is\n`bad_request` or `instance_rejected` and the message is the one the app would show.\n\n## Rate limits\n\nPer key, per minute:\n\n| Requests | Limit |\n| --- | --- |\n| Reads | 300 |\n| Status snapshots and stream opens | 60 |\n| Writes, including start, stop and restart | 60 |\n\nOver the limit you get `429` with a `Retry-After` header in seconds. Many requests with a wrong key block the\nsending IP address for a minute.\n\n## Retrying writes\n\nSend an `Idempotency-Key` header (8 to 128 characters) with a write. If you repeat the request with the same key\nand the same body, you get the first result back and nothing runs twice. That holds for up to ten minutes, less\nwhen the app is busy, and not across a restart of the app. The same key with a different body counts as a new\nrequest.\n\nAfter `instance_timeout` on a write, read the current state before you retry without a key.\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"60376301","team":47500024,"collectionId":"0c0f97c4-7c49-44c2-b97e-d70ce3c9a644","publishedId":"2sBYPv3Y8a","public":true,"publicUrl":"https://documenter-api.postman.tech/view/60376301/2sBYPv3Y8a","privateUrl":"https://go.postman.co/documentation/60376301-0c0f97c4-7c49-44c2-b97e-d70ce3c9a644","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.12.12","publishDate":"2026-11-23T13:09:11.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/t_team_logo_pubdoc/v1/team/0f2927d23fb117a7dd7355c1e86bde36a963d16f436f5a4db2f5d7e9161d36df","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBYPv3Y8a"}