Skip to content

Orbit API

The Orbit API gives you programmatic access to Orbit. These recipes are example PowerShell scripts that automate administrative tasks, such as changing dashboard themes, reverting dashboards, or transferring ownership. Each one explains what its script does and what it needs, and links to the source in the OrbitAPIScriptExamples repository on GitHub.

The recipes use PowerShell, but you can call the Orbit API from any language or tool that can make HTTP requests.

New to the Orbit API?

Cookbook

Each recipe is a script, or a walkthrough that combines several. Filter them by category:

Log in and get an access tokenAuthenticates against the Apteco Orbit API and outputs the access token.AuthenticationAdam Robertson Check your Orbit services are healthyChecks that the Orbit API, and optionally the Connect and Chat APIs, are running and can reach their dependencies.Health checksAdam Robertson List your dashboardsLists all dashboards in a DataView that the user can see, including ones shared with them.DashboardsAdam Robertson List every dashboard in a DataViewLists all dashboards in a DataView across all users.DashboardsAdam Robertson Get a dashboard summaryGets a summary of the latest version of a dashboard.DashboardsAdam Robertson List a dashboard's version historyLists every update (saved version) of a dashboard.DashboardsAdam Robertson Get a specific version of a dashboardGets a specific update of a dashboard.DashboardsAdam Robertson Create a dashboard from a JSON definitionCreates a dashboard from a JSON definition file.DashboardsAdam Robertson Update a dashboard from a JSON definitionUpdates a dashboard from a JSON definition file.DashboardsAdam Robertson Transfer a dashboard to another userTransfers the ownership of a dashboard to another user.DashboardsAdam Robertson Revert a dashboard to an earlier versionReverts a dashboard to a previous update.DashboardsAdam Robertson Find and replace text across every dashboard you can editReplaces a text value in every dashboard the current user can edit, including ones shared with them.DashboardsAdam Robertson Create a modified copy of a dashboardChain five scripts in an interactive PowerShell session to copy a dashboard with a text value replaced. The original dashboard stays unchanged.WalkthroughDashboardsAdam Robertson Change the tile titles in a dashboardChain four scripts in an interactive PowerShell session to change the titles of all the tiles in one dashboard. This updates the dashboard in place.WalkthroughDashboardsAdam Robertson List dashboard themesLists all dashboard themes in a DataView.DashboardsDashboard themesAdam Robertson Get a dashboard themeGets a dashboard theme from a DataView.DashboardsDashboard themesAdam Robertson Create a dashboard themeCreates a dashboard theme from a JSON definition file.DashboardsDashboard themesAdam Robertson Update a dashboard themeUpdates a dashboard theme from a JSON definition file.DashboardsDashboard themesAdam Robertson Apply a theme to a dashboardApplies a named dashboard theme to a dashboard.DashboardsDashboard themesAdam Robertson List Connect table definitionsLists all user-defined table definitions in a DataView.ConnectAdam Robertson Get a Connect table definitionGets a specific user-defined table definition in a DataView.ConnectAdam Robertson Update a Connect table definitionUpdates a user-defined table definition from a JSON definition file.ConnectAdam Robertson Update variables across Connect table definitionsUpdates variables across all user-defined table definitions, based on a JSON specification file.ConnectAdam Robertson

More examples

Other ways to work with the Orbit API:

These samples were written for earlier versions of the API, so they may need adapting.

Contribute a recipe

Built something useful with the Orbit API? Share it as a recipe for others to use, and get credited as its author.

Contribution guide