Docs menu

API Manager

Goal: See every endpoint you can call, try one in the browser, and set who may call your workspace API.

Open APIs -> API Manager. The menu item is always there; no cloud connection, landing zone or right is needed to open it. What the window lists is filtered for you: it reads the API catalogue at GET /ox-api/openapi, which holds only the endpoints your access rights allow, built from what your workspace has set up. API Manager opens as a panel: it floats at first, docks anywhere, and its tabs work the same docked (see Node editors and work windows as panels).

The window, from top to bottom:

  1. View as - one bar: You, A key or App Identity (see View as), a line saying what the view shows, and, only for someone with Workspace.API.Manage, a Manage button on the right. With A key picked, the Authentication bar that makes a token for testing sits inside it.
  2. Manage this API - who may call the API: your team, the App Identities you trust, or both. It is closed each time the window opens and opens only when a manager presses Manage.
  3. Not set up yet - a notice, only when something you could use is waiting on a set-up step (see Not set up yet).
  4. The tabs, one per kind of endpoint.

Authentication

With A key picked in the View as bar, a collapsed Authentication bar appears in it. It reads Authentication with a JWT badge and the token's state: No token, Active or Expired, with a countdown while it lasts. Opening the panel makes nothing. Expanded, it has one tab, JWT:

ControlWhat it does
Duration5m, 15m, 1h, 8h, 24h, or Custom minutes. 60 minutes until you pick
Access ScopesThe rights the token carries, from the rights you hold. Select All / Clear All. All or none means every right
Generate TokenMakes the token and shows its start. Then Copy Token, and Copy JWT on the bar

This is a team key for the REST API, the same kind the API Keys window makes; the MCP server does not take one. A key lives at most 90 days (129,600 minutes): a longer custom duration is refused, and the panel shows only the HTTP status.

Manage this API

Press Manage on the View as bar to open this section. It sets the workspace's API mode (Team, Hybrid or App Identity), the App Identities you trust, a default lifetime for job tokens, and which access rights an App Identity caller needs for the whole API, a tab or one endpoint. Only someone with the Workspace.API.Manage right can change it, and only they see the Manage button that opens it. It saves at once with Save access settings and Save the access rules, and does not wait for Deploy.

All of it is on its own page: Secure your workspace API.

View as

View as decides what the tabs list and how Try it calls:

ViewThe tabs listTry it calls
You"Everything your rights allow."As you, with your session
A keyThe endpoints whose every required right is in the key set up under AuthenticationWith that key, once generated
App IdentityWhat a person or job holding the access card you pick can reachStill as you

App Identity is offered only when the saved mode is Hybrid or App Identity. It adds:

  • Access card - "No card: endpoints that need no specific right", or one of the workspace's access cards.
  • Calling with a directory token - the scope your app asks the App Identity for, and a cURL line. The line carries both headers a call from your app needs: Authorization: Bearer <ACCESS_TOKEN_FROM_YOUR_DIRECTORY> and x-oi-workspace with the workspace's ID, with <YOUR_WORKSPACE_ID> in its place when the window cannot read it. See Call the API from your app.

The A key view says plainly: "An API key calling outside its rights is not yet refused, so treat the list as a guide."

Not set up yet

Some endpoints wait on a set-up step. A telemetry query, for example, needs your own IoT, and the provenance endpoints need a Provenance trail. Until the step is done the API Manager does not list those endpoints, so their tab, or a card in it, is not there. Above the tabs, a Not set up yet notice says why:

  • One line for each thing that is waiting, in the words of the part of OpenX that owns it, such as "Cold Data: Deploy IoT in the Data Fabric window." A line starts with the tab it would add, when the tab has a name.
  • When the window that does the set-up is in your workspace menu, the line has an Open <window name> button. Pressing it closes the API Manager and opens that window. Where there is no such window, the line has no button.
  • The notice never shows an endpoint's address.

A part you can choose not to use gets no line until you start on it. A workspace that never added a Provenance audit trail sees no Provenance line, because nothing is unfinished: the provenance endpoints are simply not listed, as for any feature that is off. Once a trail is saved in Cloud → Provenance but not deployed yet, the line reads "Provenance: your audit trail is saved but not deployed yet. Deploy to start recording." After the Deploy the line goes and the Provenance tab appears.

To clear a line, do what it says. The line goes when the step is done: the window reads the list again on the same change that refreshes the endpoint list, so the tab comes back and the line is gone. A workspace with nothing waiting shows no notice at all.

You see a line only for something you could use. If the endpoints behind it need an access right you do not hold, the line is left out, the same as the endpoints are. A notice is also left out when you cannot see the endpoint list at all, and when the API that serves your workspace does not send the list yet.

Calling a hidden endpoint anyway is not an error in your app's code: it is answered 409 with the same words, see API refusals. An AI that reaches the workspace over MCP is told the same, see call_api and get_workspace.

The tabs

The tabs come from the catalogue, so a workspace only sees a tab when it has something for it. They appear in this order:

TabWhat it holds
Cold DataA card per data connection and surface, and the download endpoints. See Cold-data export
Warm QueriesConfigured Queries (a card per saved query, with its parameters) and the generic endpoints
Live StreamThe live stream endpoint
Change FeedThe change feed endpoint
Data StoresThe data store endpoints, grouped by data store, then by database
InventoryWhat exists outside the workspace record
StatsHow each part is doing
LicensesThe license endpoints
API SourcesEach API source, with a Pull Now address that runs one poll cycle
Device ConnectivityConnection details for your data connections, and an HTTP ingestion test
ProvenanceThe provenance endpoints

Below them are two groups for hosted workbenches, Workbenches and, at the bottom, Workspace MCP: see Hosted workbenches.

API Sources, the two workbench groups and Device Connectivity are drawn by the window rather than read from the catalogue, so they show only in the You view (and in A key before a key's rights are read). Device Connectivity needs at least one data connection; API Sources needs at least one API source.

NOTE

Four tabs show their raw names in lowercase and sit last: access, communications, files and landing-zone. Their endpoints are real; only the tab labels are missing.

If Provenance is not set up, its tab says so: "Provenance is not configured for this workspace, so there are no provenance endpoints to show. Configure it under Cloud → Provenance."

Try it

Each card shows the method, the full address (https://<your host>/ox-api/...), a summary and Try it:

  1. Fill in the path and query fields. A required path field must be filled before Execute works; the window says which ("Fill in ... to execute.").
  2. For a POST or PUT, write the Request body (JSON).
  3. Click Execute. The answer shows its status, the time it took and the body.

Code Snippets gives the same call as cURL, TypeScript and Python, never with a live token. What the snippet shows depends on the workspace's saved API mode (see Secure your workspace API):

Saved modeThe snippet shows
TeamA YOUR_JWT_TOKEN placeholder
Hybrid or App IdentityWhen the tabs load: Authorization: Bearer <ACCESS_TOKEN_FROM_YOUR_DIRECTORY> and x-oi-workspace with the workspace's ID; <YOUR_WORKSPACE_ID> stands in for the ID when the window cannot read it

Execute calls as the view says (see View as), never with the snippet's placeholder; in App Identity mode it is turned away. Streaming endpoints cannot run here: "Streaming, WebSocket, and device protocol endpoints cannot be tested inline."

Hosted workbenches and fai

A mode's key is its name, so the window treats every mode alike, whatever it is called. Each workbench address names your workspace: https://openx.fathym.com/ox-api/w/<workspace id>/workbenches/<apiSlug>/<key>.

  • Workbenches - a tab per workbench, with a card per mode you turned on. A card shows the mode's health, Open for its page (.../<key>/), the Base URL (.../<key>) to copy, each route with a cURL line once the mode has published an OpenAPI catalog, and how many MCP endpoints the mode serves. A mode not deployed yet says "Not deployed yet: Deploy to get an address." A workbench with no public access shows the address other workbenches in its environment use instead.
  • Workspace MCP - a tab per MCP endpoint, for every port you marked MCP capable, named <workbench> · <key><path>. Each is laid out like the OpenX MCP Server window: the Server URL, the name a client gives it, set-ups per client (fAI, Claude Code, Claude Desktop, a browser, Cursor, VS Code and add-mcp), the rights the mode asks for, Try it and Documentation. An endpoint the public can't reach is marked "Inside the environment only" and shows a fai mcp install command to run from inside the environment. This is the workbench's own endpoint, not the OpenX MCP server.

When the root of a mode's primary port is MCP, the mode has only its Workspace MCP tab. How to mark ports and paths, and which endpoints Thinky may use: Serve MCP from a Workbench.

SIGN-IN IS STILL LANDING

Signing in to each workbench endpoint is still landing, so the Workspace MCP set-ups carry no key yet and Try it says it can't sign in. Until then, connect with a team key as Reach a Workbench over MCP shows; fai needs --global to take one.

Who may call a workbench follows the workspace's API mode: see Secure your workspace API.

Device Connectivity

Pick a Data Connection to see its Connection Details, Supported Protocols and connection status. For a connection with an HTTP endpoint, HTTP Ingestion — Try It sends a JSON body with Send POST, and Code Snippets shows the same call. Open Live Stream to watch it arrive.

What you may see

MessageWhat it means
Loading API specification...The catalogue is loading
Failed to load API specification: ...The catalogue was refused or failed, and the status follows. A 503 with API_CATALOGUE_UNAVAILABLE means try again shortly
This workspace has no APIs to show yet. Add a data source, warm query or database to the canvas, and its API appears here to try.The window's one sentence: there is no API you can see yet, because the workspace has none or your rights reach none
None of the endpoints you can see need only these rights. Pick more rights, or another card.The view's rights cover nothing you can see
This workspace API takes only App Identity tokens right now, so Try it from this page is turned away.The saved mode is App Identity; Try it uses your team session
Not set up yetA heading above the tabs: something is waiting on a set-up step, one line each (Not set up yet)

NOTE

In App Identity mode the window's own catalogue read is a team call, and that mode turns team calls away. So the tabs can fail to load with "Failed to load API specification" and a 401. The access section above the tabs still works, so an owner can switch the mode back to Team or Hybrid.

What every refusal from the API means, and what to do about it, is on API refusals.

Connect your AI

The OpenX MCP server has its own window, APIs -> OpenX MCP Server, which gives you the one-line install:

fai mcp install https://openx.fathym.com/ox-api/mcp/w/<workspace id> --name openx --global --auth "YOUR_MCP_KEY"

An MCP key works only on its workspace's own address, the one with /w/. That registers OpenX with Claude Code, Cursor, Cline, and other detected agents. Browse the tools with fai mcp preview openx. See Bring Any AI.

Next steps

On fathym.com: OpenX API Manager →

On this page