Catalogs & Spaces
A Catalog is an isolated AI environment with its own LLM providers, its own Spaces, its own secrets and usage limits, and its own access rules. A Space is a collaborative workspace inside a catalog: it has members with roles, and can override the catalog's LLM settings.
This two-level hierarchy, Catalog → Spaces, lets a single Hrida AI Studio instance serve several business units or client organizations at once, each with its own models, API keys and users, without any cross-contamination.
Catalogs are typically enabled for enterprise deployments with multiple departments or client tenants. Contact your admin if you don't see the Catalogs section.
API Builder has its own, completely separate "API Catalog → API Space" hierarchy (see API Catalogs, Spaces & Roles) used only to govern API definitions. It shares a name and a two-level shape with this feature by convention, nothing else: membership in one grants no access in the other.
Architecture
Instance
└─ Catalog A (e.g., "Finance Department")
├─ LLM providers: Azure OpenAI (default), Anthropic (fallback)
├─ Secrets: CORE_BANKING_KEY
├─ Usage limits: 5,000 runs a month
├─ Space: "Quarterly Reports" — members: finance team
│ └─ LLM override: a different model of the default provider
└─ Space: "Helpdesk" — members: support staff
└─ Catalog B (e.g., "Engineering")
├─ LLM provider: Anthropic (Engineering API key)
└─ Space: "Code Review" — members: all engineers
The Catalogs List
Admin → Agent Catalogs lists every catalog with its type, number of spaces, default LLM provider, status and creation date. Search by name, slug or description.
New Catalog asks for:
- Name.
- Slug: filled in from the name; lowercase letters, digits and hyphens.
- Type: see the catalog's settings.
- Description.
Deleting a catalog deletes all its spaces and their settings, so it asks you to type the catalog's name to confirm.
A Catalog's Page
A catalog's page has six tabs: Overview, LLM Providers, Spaces, Consumer Orgs, Secrets and Usage & limits.
- The open tab is part of the address (for example
?tab=llm), so a reload or a shared link opens it. - Leaving a tab with unsaved changes asks first.
- Every delete and every removal asks first.
- On a phone, the tab row scrolls sideways.
Overview and settings
The Overview tab starts with a summary. Click a card to open its tab:
- the catalog's type;
- its LLM providers: the default one with its first model, and the fallback;
- spaces, and members in all spaces;
- this month: runs and cost, and the share of the cost limit when one is set.
Below the summary are the catalog's settings:
| Setting | Description |
|---|---|
| Name | Human-readable label for the catalog |
| Slug | URL-safe unique identifier (e.g., finance-dept), fixed when the catalog is created |
| Description | Optional, shown under the catalog's name |
| Type | Standard: workflows run once they are published. Sandbox: developers can also run draft workflows |
| Status | Active or Suspended. It labels the catalog and does not block runs or access |
The catalog's execution environment (where code-running tools of its workflows run, such as a Hrida Terminal) is not shown on these pages.
LLM providers
Each catalog has its own LLM providers. API keys are encrypted with the instance's HRIDAAI_SECRET_KEY before storage and are never returned.
| Field | Description |
|---|---|
| Type | OpenAI (and OpenAI-compatible endpoints), Anthropic, Gemini, Ollama or Local |
| Label | The name shown in pickers. Left empty, it is the type's name |
| Base URL | Filled with the type's usual address. An address you typed is kept when you change the type |
| API key | Leave blank to keep the stored key, but only while the type and address stay the same: change the address and enter the key again, so a stored key is never sent to a new address |
| Allowed model IDs | Type a model ID and press Enter. Runs use the first one unless a space or a workflow node chooses another |
Default and fallback providers
- Default: the provider runs use when nothing more specific is set. If no provider is marked, runs use the first provider with a key that isn't the fallback.
- Fallback: where runs switch when their provider is down (server errors, rate limits, timeouts, connection errors). Runs that switch use the fallback's first allowed model. At most one provider can be the fallback, and Studio refuses to save the list unless it:
- isn't the default provider;
- has a different address from the default, so the two aren't down at the same time;
- has an API key (not needed for Ollama and Local);
- has at least one allowed model ID.
How runs switch, and what counts as down: LLM fallback provider. When a run's node is answered by the fallback, the run shows a warning saying so.
When a run switches, its prompts are sent to the fallback provider. Mark as fallback only a provider you may send that data to.
Testing a provider
Test checks a provider as the form has it, saved or not. It asks the provider for its model list, or sends a one-token request when an OpenAI-compatible endpoint has no model list. The result is one of:
| Result | Meaning |
|---|---|
| ✓ Reachable in N ms. It offers N models. | The address and key work |
| ✗ The API key was refused. / The API key may not do this. | 401 / 403 |
| ✗ Nothing was found at this address: check the base URL. | 404 |
| ✗ The provider is rate limiting this key. | 429 |
| ✗ No answer within 10 seconds. / Could not connect to this address. | Timeout, or no connection |
| ✗ The provider answered with an error (HTTP N). | Any other error |
Not offered by this provider: … lists allowed model IDs that the provider doesn't list, so a typo shows up before a run fails on it. With the key field blank, a saved provider is tested with its stored key, if its address hasn't changed.
Provider health
Each saved provider shows its state from recent calls on this server, read from its circuit breaker. Refresh status updates it.
| Badge | Meaning |
|---|---|
| Healthy | No recent failure |
| Failing: N recent errors | Calls failed lately; the provider is still called |
| Down: runs use the fallback | The circuit is open: calls skip this provider and go to the fallback until a retry after the cooldown succeeds |
| Down: runs fail until it recovers | The circuit is open and there is no fallback (or this is the fallback) |
Spaces
A space is a collaborative area inside a catalog. Every space has:
- Members: users assigned to the space with a role;
- LLM settings (optional): a provider, a model and an API key for the space, taking precedence over the catalog default;
- Node LLM config: per-workflow-node configuration for spaces that run agent workflows.
Space roles
| Role | In the API | What members can do |
|---|---|---|
| Space admin | space_admin | Manage members and settings of the space |
| Lifecycle manager | lifecycle_manager | Review, approve and publish workflows |
| Agent developer | agent_developer | Build and test workflows |
| Viewer | viewer | See workflows and runs; change nothing |
Managing a space
The Spaces tab lists each space with its slug, type and number of members:
- New Space asks for a name, a slug (lowercase letters, digits and hyphens), a description and a type. A Sandbox space lets developers run draft workflows.
- Delete asks first; members lose access to the space.
- Manage opens the space with three sections, each saved on its own:
Details: the space's name, description and type.
Members:
- Search for a user, choose a role and click Add.
- Change a member's role from the list; a message confirms the new role.
- Removing a member asks first.
- What the roles allow explains each role.
Members must already have a Hrida AI Studio account.
LLM: a line states what the space's runs actually use, for example Runs in this space use Hrida (the catalog default) with HridaAI-mini (set for this space). The settings are:
| Setting | Description |
|---|---|
| Provider | Catalog default, or one of the catalog's providers |
| Model | Chosen from that provider's allowed model IDs. Empty: the provider's first model |
| API key for this space | Optional: the space's own key for the same provider. It is stored encrypted and never returned. Left blank, the stored key is kept. Choosing another provider removes it, and Remove this space's key returns to the provider's own key |
Reset to catalog default clears all three.
Consumer Organizations
The Consumer Orgs tab lists the internal and external organizations that use this catalog's published agents. Each has a name, a type (Internal or External), a contact email, a description and a status.
- Edit changes the details.
- Suspend asks first, then marks the organization as suspended. Activate marks it active again.
- Delete asks first.
Secrets
The Secrets tab holds values, such as API keys, that a catalog's workflows need. An agent node uses a secret in its system prompt as ${NAME}; the value is filled in when a run starts. Click a secret's ${NAME} badge to copy it.
- Names may contain letters, digits and underscores only, such as
CORE_BANKING_KEY, so that prompts can use them. - Values are encrypted and can't be read back, on this page or through the API. Replace value sets a new one.
- Delete asks first. Prompts that use the secret then get no value.
- Database passwords belong here too: name the secret in a data source. Such a secret shows Data source: name. It is used for that database only, it is never filled into a prompt, and it can't be deleted while the data source uses it.
Data Sources
The Data sources tab holds the catalog's database connections. Chat models, automations, agents and Hrida Terminal query them by name, and the password stays a secret of this catalog. See Data Sources.
Usage & Limits
The Usage & limits tab shows this calendar month's runs, tokens and cost in the catalog, each against its limit. A meter turns amber from the warning level and red at the limit.
Monthly limits apply to all runs in the catalog:
| Setting | Description |
|---|---|
| Runs, Tokens, Cost (USD) | The monthly limits. Empty: no limit |
| At the limit | Refuse new runs: a run started at or over a limit fails with Quota exceeded. Keep running: runs continue, and the server logs a warning |
| Warn from (% of a limit) | The meters turn amber from here; the server also logs a warning when tokens pass it. Default 80% |
These limits are per catalog. For limits per user, group or model, see Usage Limits.
LLM Provider Resolution
Every feature that calls an LLM resolves which provider, model and API key to use through the same priority chain:
- Agent Builder workflow nodes
- the Agent Skill Test panel
- the Inbox "ask agent" action
1. Node node.config.llm per-node override in a workflow graph
2. Space space llm override scoped to one Space
3. Catalog catalog.llm_providers[] the catalog's default provider
4. Global Admin → Models connections instance-wide fallback
Each level only applies if the one above it doesn't specify a value. A node with no LLM override falls through to its space, then to its catalog's default provider, then to the global connections configured in Admin → Models. Resolution stops at the first level that supplies a provider. With no model chosen, runs use the chosen provider's first allowed model.
The chain picks the provider a call starts with. When that provider is down, a workflow run's call can switch to the catalog's fallback provider: see LLM fallback provider.
Catalog- and space-level resolution only runs when a resource (a skill, a workflow node, etc.) is actually scoped to a catalog and a space. A resource with no catalog/space association (for example, an Agent Skill created outside an active space) skips straight to the global tier — there is no catalog/space context to resolve against.
Checking what will actually resolve
A space's Manage → LLM section says what its runs use. Through the API:
GET /api/v1/catalogs/{catalog_id}/spaces/{space_id}/llm-config/effective
The response includes a resolution_source map:
provider_idsays which tier supplied the provider:node,space,catalogorglobal.model_idsays where the model came from:node,space, orprovider(the chosen provider's first allowed model).
Troubleshooting "No LLM provider configured"
This error means none of the four tiers resolved to a provider. Checklist:
- Does the resource (skill, workflow) have a
catalog_id/space_id? If not, only the global tier is checked. - If it does, does that catalog have at least one provider with an API key in LLM Providers? Use Test to check it.
- Does the space's LLM setting point at a provider that still exists on the catalog?
- If none of the above apply, does Admin → Models have at least one enabled connection?
Access Control
| Who | What they see |
|---|---|
| Instance admin | All catalogs and all spaces |
| Catalog admin | All spaces in their catalog |
| Space member | Only the spaces they belong to |
| No membership | The catalog is invisible |
API
Catalog endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v1/catalogs/ | List accessible catalogs (for admins, with space_count) |
POST | /api/v1/catalogs/ | Create a catalog (admin only); catalog_type is standard or sandbox |
GET | /api/v1/catalogs/{id} | Get catalog details |
PATCH | /api/v1/catalogs/{id} | Update a catalog (admin only). LLM providers are not changed here: use PUT …/llm-providers |
DELETE | /api/v1/catalogs/{id} | Delete a catalog and its spaces (admin only) |
Space endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v1/catalogs/{id}/spaces | List spaces in a catalog |
POST | /api/v1/catalogs/{id}/spaces | Create a space |
GET | /api/v1/catalogs/{id}/spaces/{sid} | Get space details |
PATCH | /api/v1/catalogs/{id}/spaces/{sid} | Update a space's name, description or type. LLM settings are not changed here: use PUT …/llm-config |
DELETE | /api/v1/catalogs/{id}/spaces/{sid} | Delete a space |
GET | /api/v1/catalogs/{id}/spaces/{sid}/members | List space members |
POST | /api/v1/catalogs/{id}/spaces/{sid}/members | Add a member |
PATCH | /api/v1/catalogs/{id}/spaces/{sid}/members/{uid} | Update member role |
DELETE | /api/v1/catalogs/{id}/spaces/{sid}/members/{uid} | Remove a member |
LLM configuration
| Method | Path | Description |
|---|---|---|
GET | /api/v1/catalogs/{id}/llm-providers | List the catalog's LLM providers (with is_default, is_fallback, has_key; never the key) |
PUT | /api/v1/catalogs/{id}/llm-providers | Replace the catalog's providers: at most one is_default and one is_fallback. A provider sent with an empty api_key keeps its stored key while its type and address stay the same |
POST | /api/v1/catalogs/{id}/llm-providers/test | Test a provider as given (id, provider, base_url, api_key, allowed_model_ids); returns ok, code, message, status, latency_ms, models and missing_models |
GET | /api/v1/catalogs/{id}/llm-providers/status | Each provider's health: state (healthy, failing or down), failures, retry_in_seconds |
GET | /api/v1/catalogs/{id}/spaces/{sid}/llm-config | Get the space's LLM settings (provider_id, default_model_id, has_key_override) |
PUT | /api/v1/catalogs/{id}/spaces/{sid}/llm-config | Set them. An empty api_key_override keeps the stored key while the provider stays the same; clear_api_key_override: true removes it |
GET | /api/v1/catalogs/{id}/spaces/{sid}/llm-config/effective | Resolve the full node → space → catalog → global chain; response includes resolution_source |
Consumer organizations, secrets, usage
| Method | Path | Description |
|---|---|---|
GET, POST | /api/v1/catalogs/{id}/consumer-orgs | List, or add, consumer organizations |
PATCH, DELETE | /api/v1/catalogs/{id}/consumer-orgs/{org_id} | Update (including status), or delete, one |
GET | /api/v1/catalogs/{id}/secrets | List secret names (never values) |
POST | /api/v1/catalogs/{id}/secrets | Create a secret or replace its value: {"name": "CORE_BANKING_KEY", "value": "…", "description": "…"} |
DELETE | /api/v1/catalogs/{id}/secrets/{name} | Delete a secret |
GET, PUT | /api/v1/catalogs/{id}/quota | Get, or set, the monthly limits (max_runs_per_month, max_tokens_per_month, max_cost_usd_per_month, enforcement: hard or soft, alert_threshold: 0–1) |
GET | /api/v1/catalogs/{id}/usage | This month's runs, tokens and cost, with the share of each limit |
Security Notes
- LLM provider API keys and a space's own API key are encrypted at rest (Fernet, keyed from
HRIDAAI_SECRET_KEY) and never returned through the API: responses say only whether one is set (has_key,has_key_override). - A stored key is reused only for the same provider type and address, so changing a provider's address asks for its key again.
- Secret values are encrypted and never returned.
- The
slugof a catalog is fixed after creation to avoid breaking references. - Deleting a catalog removes all its spaces and member assignments. This can't be undone, so the admin page asks you to type the catalog's name.