Properties
| Name | Type | Description |
|---|---|---|
| id | string | Role id (`role_…`). |
| name | string | |
| description | stringnull | |
| is_system | boolean | Predefined roles ship with every organization and cannot be edited away. |
| seat_class | string | Whether members holding only this role count toward billable seats. |
| permissions | array | Every permission the role holds, including any `GET /permission` does not list for this organization (for example the Apps permissions while Apps are unavailable). `PATCH /role/{id}` replaces this lis |
| permission_count | integer | How many of `permissions` `GET /permission` lists for this organization: the number to show beside the role. Can be lower than `permissions.length`. |
| member_count | integer | How many members hold this role right now. `GET /member?role_id={id}` lists them; while it is above zero, `DELETE /role/{id}` needs `reassign_to` (or, on `POST /role/{id}/delete`, `reassign_to` and/or |
| pending_invite_count | integer | Pending invites issued for this role. Present only on roles you can manage. While above zero, `DELETE /role/{id}` and `POST /role/{id}/delete` need `reassign_to`, which re-points them. |
| group_mapping_count | integer | SCIM group mappings that assign this role. Present only on roles you can manage. While above zero, `DELETE /role/{id}` is refused (`409 role_mapped`) until the mappings change. |
| can_reassign_holders | boolean | Whether you may move this role's holders and pending invites to another role (`DELETE /role/{id}?reassign_to=` or `POST /role/{id}/delete`): you hold `member:manage` and do not hold this role yourself |
| created_at | string | |
| updated_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/elaichi-ai/json-schema/elaichi-ai-role-schema.json",
"title": "Role",
"x-generated": "2026-11-06",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/elaichi-ai-openapi.json#/components/schemas/Role",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Role id (`role_…`)."
},
"name": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"is_system": {
"type": "boolean",
"description": "Predefined roles ship with every organization and cannot be edited away."
},
"seat_class": {
"type": "string",
"enum": [
"billable",
"free_admin"
],
"description": "Whether members holding only this role count toward billable seats."
},
"permissions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every permission the role holds, including any `GET /permission` does not list for this organization (for example the Apps permissions while Apps are unavailable). `PATCH /role/{id}` replaces this list wholesale, so send back the entries you did not mean to remove."
},
"permission_count": {
"type": "integer",
"description": "How many of `permissions` `GET /permission` lists for this organization: the number to show beside the role. Can be lower than `permissions.length`."
},
"member_count": {
"type": "integer",
"description": "How many members hold this role right now. `GET /member?role_id={id}` lists them; while it is above zero, `DELETE /role/{id}` needs `reassign_to` (or, on `POST /role/{id}/delete`, `reassign_to` and/or a `reassignments` entry for every holder)."
},
"pending_invite_count": {
"type": "integer",
"description": "Pending invites issued for this role. Present only on roles you can manage. While above zero, `DELETE /role/{id}` and `POST /role/{id}/delete` need `reassign_to`, which re-points them."
},
"group_mapping_count": {
"type": "integer",
"description": "SCIM group mappings that assign this role. Present only on roles you can manage. While above zero, `DELETE /role/{id}` is refused (`409 role_mapped`) until the mappings change."
},
"can_reassign_holders": {
"type": "boolean",
"description": "Whether you may move this role's holders and pending invites to another role (`DELETE /role/{id}?reassign_to=` or `POST /role/{id}/delete`): you hold `member:manage` and do not hold this role yourself."
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elaichi-ai-role"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.