Role Capabilities
Operations of the LLM Registry API. Paths are relative to your deployment's API host.
GET /api/llm-registry-api/role-capabilities
List every role-capability profile resolved from kernel + platform biomes. Sorted by role slug. Used by debug tools and the registry-consistency test.
Authentication: bearer token (Authorization: Bearer <token>)
| Status | Description | Body |
|---|---|---|
| 200 | application/json RoleCapabilityProfileDtoPaginatedEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |
GET /api/llm-registry-api/role-capabilities/{role}
Resolve a single role-capability profile by role slug. opencode-pool-api calls this at allocation time and serializes the JSON into XEMA_PLUGIN_ROLE_PROFILE_JSON for the worker plugin. Unknown roles raise 404.
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
role | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json RoleCapabilityProfileDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |