Stellar Public API
Connect a custom tool to Stellar to view task statuses, manage task groups or control tasks on your computer.
On this page
Connect your first toolChoose what the key can doBuild a read-only dashboard with ChatGPT or ClaudeIf your tool cannot connectThe Public API lets your own tool or script work with tasks in your running copy of Stellar. For example, you could build a dashboard that shows which tasks are running across your computers, a shortcut to stop a selected group, or a tool that creates tasks from a list. You can keep using the Tasks tab as usual. You can use the Public API when you want to connect your own tool.
Connect your first tool
- On the computer you want to connect, open Settings → Account → Public API. If the option is missing, update the desktop app.
- Create an API key. For a first project that displays task statuses, select only read. Copy the key when it appears. Stellar shows it once. Store it privately on your computer and keep it out of AI chats, screenshots and shared code.
- Turn on Allow Public API on that computer. Repeat this step on each additional computer you want the key to reach. Keep Stellar open and online on each one.
- Have your tool make its first read-only request to
GET https://api.stellaraio.com/v1/instancesusing the key as a Bearer token. Each returned instance represents a running copy of Stellar. Choose the intended instance before reading its task groups or sending commands.
Choose what the key can do
- read lets a tool list instances, task groups and tasks, read statuses and logs, and look up supported fields and group names. Use it for dashboards and reports.
- tasks.write lets a tool create, edit or delete tasks and groups. Choose it when your tool needs to change your setup.
- tasks.run lets a tool start, stop or restart tasks. A tool that starts checkout tasks can trigger a real purchase. Check the selected instance and tasks before starting them.
A key can reach every instance on your account where you enabled access. Delete a key in Stellar to revoke it immediately if you lose it or share it accidentally.
Build a read-only dashboard with ChatGPT or Claude
The Postman documentation explains the requests and shows examples. The OpenAPI JSON schema gives a coding assistant the exact endpoints and fields. Copy both links into your chat along with this prompt. If the assistant cannot open the schema, download the public JSON file and attach it.
I’m new to coding. Help me build a local dashboard that lists my Stellar instances, lets me pick one, and displays its task groups and task statuses. Use the linked Stellar AIO documentation and schema. Use only read-only requests and show me sample output first. Ask me whether I use Windows or Mac, then walk me through each step. Read my key from a local environment variable. Use a placeholder in examples and never ask me to paste my key into chat.
If your tool cannot connect
- No instance appears: Open Stellar on the intended computer, check its connection and confirm Allow Public API is on there.
- unauthorized: Check that your tool is sending the correct key as a Bearer token and that the key is still active.
- missing_scope: Check which permission the requested action requires. A read-only dashboard only needs read.
- instance_timeout: If a request to change tasks times out, check their current state before trying again. The first change may already have taken effect.
For ideas beyond task management, post a feature request in #suggestions in the Stellar Discord.