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>)

StatusDescriptionBody
200application/json RoleCapabilityProfileDtoPaginatedEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/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>)

ParameterInTypeRequiredDescription
rolepathstringyes
StatusDescriptionBody
200application/json RoleCapabilityProfileDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto