Marketplace API — bRRAIn Docs
Read the public Marketplace catalog, and list, install, update and uninstall extensions for your organization.
Marketplace API
The Marketplace has two HTTP interfaces:
- The public catalog at
https://marketplace.brrain.io/api. Read-only and open: no sign-in needed. - Extension management at
https://console.brrain.io/api/orgs/{org_id}/extensions. Lists, installs, updates, enables, disables and uninstalls extensions for one organization. This is the interface the Console's Manage extensions page uses.
Extension management accepts a signed-in Console session only. API keys are not accepted on these routes. To manage extensions without writing code, use the Console. See Marketplace install.
All responses are JSON.
Public catalog
Base URL: https://marketplace.brrain.io
List listings
GET /api/listings?category={category_slug}&vendor={vendor_slug}
Returns every listing in the catalog, sorted by slug. Both query parameters are optional filters:
category: only listings in this category.vendor: only listings from this vendor.surface: by default you get the listings offered in the Console storefront.idsreturns only the listings offered in Nexus, andallreturns both.
Listings that were rejected or unlisted are never returned. Listings still in certification are returned with their cert_status.
{
"listings": [
{
"id": "ext_firstparty_llmops",
"slug": "brrain-llmops",
"name": "bRRAIn LLMOps",
"vendor_slug": "mhj",
"category_slug": "foundation",
"description": "…",
"support_contact": "support@brrain.io",
"highlights": ["…"],
"faq": [{ "question": "…", "answer": "…" }],
"pricing": { "model": "free", "amount_cents": 0 },
"versions": [
{ "version": "2.0.22", "manifest_url": "https://…", "published_at": "2026-11-24T22:48:36Z" }
],
"cert_status": "approved",
"created_at": "…",
"updated_at": "…",
"banner_url": "/assets/brrain-llmops/banner.png",
"logo_url": "/assets/brrain-llmops/logo.png"
}
],
"items": [ … ]
}
items repeats listings.
Listing fields:
| Field | Meaning |
|---|---|
slug |
The listing's identifier in the catalog. |
vendor_slug, category_slug |
The publisher and the category. |
pricing.model |
free, flat, per-seat or usage. pricing.amount_cents is the price in US cents and pricing.period is monthly, annual or one-time when set. |
versions |
Published versions, newest first. Can be null when none are recorded. |
cert_status |
pending, under-review or approved. |
endpoints |
When present, the external endpoints the extension calls. Each has a url, a purpose and an auth_model. |
screenshots, install_instructions |
Present when the publisher supplied them. |
banner_url, logo_url |
Paths relative to https://marketplace.brrain.io. |
Get a listing
GET /api/listings/{slug}
Returns one listing, with the fields above. A slug that does not exist, or a listing that was rejected or unlisted, returns 404. Listings offered only in Nexus also return 404 unless you add ?surface=ids or ?surface=all.
List a listing's versions
GET /api/listings/{slug}/versions
{
"versions": [
{ "version": "2.0.22", "manifest_url": "https://…", "published_at": "2026-11-24T22:48:36Z" }
]
}
Newest first. Deprecated versions are left out unless you add ?include_deprecated=1. When they are included, they carry "deprecated": true. A version can also carry a changelog.
Get one version
GET /api/listings/{slug}/versions/{version}
Returns one version object, or 404.
Search
GET /api/search?q={text}
Searches listings and vendors. GET /api/listings/search?q={text} is the same endpoint. The optional surface parameter works as it does on List listings.
{
"query": "llm",
"listings": [ … ],
"vendors": [ … ],
"took_ms": 0
}
Results are ordered by relevance. An empty q returns empty arrays.
Categories
GET /api/categories
GET /api/categories/{slug}
The list returns { "categories": [ … ] }. Each category has a slug, a name, a description and, for bRRAIn's own categories, "first_party": true. An unknown slug returns 404.
Vendors
GET /api/vendors
GET /api/vendors/{slug}
The list returns { "vendors": [ … ] }. Each vendor has a slug, a name, a description, a contact_email or contact_url, a cert_status and first_party. A vendor that does not exist or is not public returns 404.
Extension management
Base URL: https://console.brrain.io
Before you call
- Sign in to the Console. Every route here needs the session your browser receives when you sign in. A request without one gets
401. - Find your organization ID.
GET /api/orgs/activereturns the organization you are working in. Its ID isorg.id. You must be a member of the organization named in the path, or you get403. - Find the extension ID. Extension management identifies an extension by its extension ID, such as
llmops,document-portaloragent-orchestrator. This is not the same as the catalog slug (brrain-llmops).GET https://console.brrain.io/extensions/catalogneeds no sign-in and lists every installable extension version as{ "manifests": [ { "id": "llmops", "version": "2.0.22", "name": "LLMOps", … } ] }.
Permissions
Writes need a permission on your role in that organization. These are the permissions in the Console's role editor:
| Route | Permission |
|---|---|
| List installed | None beyond membership |
| Install | Install marketplace extensions (marketplace.install) |
| Update | Upgrade extensions (marketplace.upgrade) |
| Disable, Enable | Enable / disable extensions (marketplace.enable) |
| Uninstall | Uninstall marketplace extensions (marketplace.uninstall) |
A role without the permission gets 403 with "error_description": "role lacks permission: marketplace.install" (or whichever permission the route needs). See Custom roles & groups.
The installation object
{
"org_id": "your-org",
"extension_id": "llmops",
"version": "2.0.22",
"sha256": "…",
"status": "enabled",
"installed_at": "2026-11-24T23:02:11Z",
"updated_at": "2026-11-24T23:02:11Z",
"installed_by": "…"
}
status is enabled (installed and shown in the Console sidebar), disabled (installed but hidden, with its data and settings kept) or error (the last lifecycle step failed). last_error, present only when status is error, says why. sha256 is the digest of the installed version's package, present when one is recorded.
List installed extensions
GET /api/orgs/{org_id}/extensions
{
"installations": [
{
"installation": { "extension_id": "llmops", "version": "2.0.22", "status": "enabled", … },
"manifest": { "id": "llmops", "name": "LLMOps", "version": "2.0.22", "slot_label": "LLMOps", "permissions": [ … ], … }
}
],
"subject": "…",
"org_id": "your-org"
}
Each entry pairs the installation with the manifest of its installed version. If that version's manifest is no longer in the catalog, manifest comes back empty so that you can still uninstall the extension.
Install an extension
POST /api/orgs/{org_id}/extensions
Content-Type: application/json
{
"extension_id": "llmops",
"version": "2.0.22"
}
version is optional. Leave it out to install the latest published version. Your organization's brain pod installs and starts the extension. If the pod refuses, nothing is installed, and any version that was installed before is kept.
Returns 201 with the installation object. If the Console recorded the install but could not confirm every step with your pod, you get 201 with { "installation": { … }, "lifecycle_warning": "…" } instead.
Sidi installs only through its consent screen in the Console.
| Status | error |
Meaning |
|---|---|---|
400 |
invalid_body |
The body is not valid JSON, or extension_id is missing. |
400 |
lint_violation |
The extension's package failed the Console's safety checks. |
404 |
not_found |
Unknown organization, extension or version. |
409 |
consent_required |
The extension installs only through the Console (Sidi). |
409 |
agent_auth_required |
This deployment cannot install the extension right now. |
422 |
pod_refused |
Your brain pod refused the install. error_description gives its reason. |
500 |
install_failed |
The install failed. Try again or contact support. |
Update to a version
POST /api/orgs/{org_id}/extensions/{extension_id}/update
Content-Type: application/json
{
"version": "2.0.22"
}
Moves the installation to the version you name, newer or older. Before the running version is stopped, the Console checks that the target version's package is published. If it is not, the request fails and the current install is kept.
Returns 200 with the installation object, or { "installation": { … }, "lifecycle_warning": "…" }.
| Status | error |
Meaning |
|---|---|---|
400 |
invalid_body |
version is missing. |
400 |
lint_violation |
The target version failed the Console's safety checks. |
404 |
not_found |
The extension is not installed, or that version does not exist. |
422 |
artifact_not_published |
That version's package is not published. Nothing was changed. |
500 |
update_failed |
The update failed. |
Disable or enable
POST /api/orgs/{org_id}/extensions/{extension_id}/disable
POST /api/orgs/{org_id}/extensions/{extension_id}/enable
No body. Disabling hides the extension from the Console sidebar and keeps its data and settings. Enabling shows it again. Returns 200 with the installation object. Errors: 404 not_found if the extension is not installed, 500 transition_failed otherwise.
Uninstall
DELETE /api/orgs/{org_id}/extensions/{extension_id}
Stops the extension on your pod, removes it, and deletes your organization's installation record. Returns 200 with { "ok": true }, or { "ok": true, "lifecycle_warning": "…" } if a pod step needs attention.
| Status | error |
Meaning |
|---|---|---|
404 |
not_found |
The extension is not installed. |
409 |
lifecycle_refused |
Your pod refused to retire the extension. The installation is kept, so you can try again. |
500 |
uninstall_failed |
The uninstall failed. |
Uninstalling does not cancel a paid subscription. See Marketplace billing & licensing.
Errors
Extension management errors have this shape:
{ "error": "not_found", "error_description": "installation not found" }
Errors on every route:
| Status | error |
Meaning |
|---|---|---|
401 |
unauthenticated or unauthorized |
No signed-in Console session. |
403 |
forbidden |
You are not a member of the organization, or your role lacks the permission. |
The public catalog returns a plain 404 Not Found for anything it cannot find.
Not available through the API
These have no public API today. Use the pages linked here instead.
- Subscriptions and billing for paid extensions: Marketplace billing & licensing.
- Publishing an extension as a vendor: Submitting an extension.
- Event notifications for installs and uninstalls: there are no extension webhook events.
Where to next
- Marketplace install: the same operations in the Console.
- Browsing extensions: what each part of a listing means.
- Custom roles & groups: granting the permissions above.