iblai-api-orglisted
Install: claude install-skill iblai/api
# iblai-api-org
Read and write an organization's org-wide settings from the API: settings that
all live inside one org **metadata** object — Default Agent, Help Center URL,
Chat Area Width, and the feature toggles. Use when configuring org-wide behavior.
## Auth & conventions
- **Base URL:** `https://api.iblai.app`
- **Header:** `Authorization: Api-Token $IBLAI_API_KEY` on every request.
- **Path vars:** `{org}` = `$IBLAI_ORG`, `{username}` = `$IBLAI_USERNAME`.
- **Every setting is a key inside ONE org-metadata object.** To change a
setting you **GET** the whole object, **merge** your changed key into it, and
**PUT** the whole object back. Never drop existing keys — anything you omit is
lost.
- Not connected yet? Run **`/iblai-api-login`** first to populate `IBLAI_ORG`,
`IBLAI_USERNAME`, and `IBLAI_API_KEY`.
## Reads
- **GET** `https://api.iblai.app/dm/api/core/orgs/{org}/metadata/` — read all org settings.
- **GET** `https://api.iblai.app/dm/api/search/orgs/{org}/users/{username}/mentors/` — source of valid Default Agent values.
## Writes
- **PUT** `https://api.iblai.app/dm/api/core/orgs/{org}/metadata/` — save settings (send the whole object back with your key merged in):
```json
{
"metadata": {
"…existing…": "preserved",
"<settingKey>": "boolean|string"
}
}
```
- **Default Agent** → `overall_default_mentor` (agent `unique_id` or `"none"`)
- **Help Center URL** → `help_center_url` (string)
- **Chat Area Width** → `chat_area_s