Last updated October 13, 2026
On this page
Boards API
The Boards API is the HTTP interface external plugins use to push nodes, edges, and insights onto boards. The code plugin and custom integrations call it. The code plugin's /ground grounds documents through a different interface.
This reference is for building an integration. To use an existing plugin, see the plugins guide.
Base URL: https://<your-instance>/api/code-plugin (cloud default: https://platform.provenmap.com/api/code-plugin)
Authentication
Every plugin endpoint requires two headers:
An app's governing binding gets its credential from the code plugin's /login, which writes it to .provenmap/credentials.json. For a reference Code Plugin binding, open the board hub's Bindings card, choose Binding actions → Copy credentials on its row, and then Generate new secret. Each click issues a fresh credential and shows it once. Existing credentials keep working until you revoke them.
To get them programmatically, call:
This request needs a user session, not the plugin headers. Its sibling, GET …/credentials, returns the same addressing fields with the secret masked, and never issues a credential.
Endpoints
Push elements
Pushes nodes and edges. Set mode to merge to upsert, or to replace to clear the board first.
Node fields:
Edge fields:
Get archetypes
Returns the valid archetypeName values.
Get elements
Returns the board's current nodes and edges.
List boards
Lists the parent and child boards in the workspace.
Create child boards
Creates layer boards for drill-down navigation. The call skips any board that already exists.
Get insight skills
Lists the available insight skills, without their instructions and references.
One skill in full:
Push insights
Pushes the results of a plugin's analysis as insights.
Error codes
Common error responses
Integration checklist
Before you rely on an integration, check each item:
- A Code Plugin source exists in the workspace Sources catalog
- The source is bound to a target board, on the correct branch
- You've copied the credentials (
X-CodePlugin-Token+X-CodePlugin-Secret) -
GET /archetypesreturns the archetype list -
POST /pushwith a test node returnssuccess: true - The node appears on the board in the UI
-
GET /elements?boardSlug=...returns the pushed node
Never hardcode credentials. Store X-CodePlugin-Token and X-CodePlugin-Secret in environment variables or in a gitignored config file.



