Weaviate Authz API

The authz API from Weaviate — 16 operation(s) for authz.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /authz/roles List all roles and their permissions · Weaviate Get All Roles #
Ask an LLM
“Which roles exist in Weaviate and what permissions do they have?”
“Can I see every role and its assigned permissions at once?”
Tell an agent
List all roles and their permissions.
Show every role defined in the authz system.
POST /authz/roles Create a role with permissions · Weaviate Create New Role #
Ask an LLM
“How do I define a new role with specific permissions?”
“Can I create a role that grants access to certain collections?”
Tell an agent
Create a role named {name} with permissions {permissions}.
Define a new role {name} that includes {permissions}.
POST /authz/roles/{id}/add-permissions Add permissions to an existing role · Weaviate Add Permissions To A Role #
Ask an LLM
“Can I grant a role more permissions without touching its existing ones?”
“Is it possible to expand an existing role's access?”
Tell an agent
Add permissions {permissions} to role {id}.
Grant role {id} the additional permissions {permissions}.
POST /authz/roles/{id}/remove-permissions Revoke permissions from a role · Weaviate Remove Permissions From A Role #
Ask an LLM
“Can I take away permissions from a role?”
“What happens to a role when all its permissions are removed?”
Tell an agent destructive · confirm first
Remove permissions {permissions} from role {id}.
Revoke role {id}'s access to {permissions}.
GET /authz/roles/{id} Get a role's permissions · Weaviate Get A Role #
Ask an LLM
“What permissions does a specific role have?”
“Can I fetch one role by its name?”
Tell an agent
Show role {id}.
Get the permissions assigned to role {id}.
DELETE /authz/roles/{id} Delete a role · Weaviate Delete A Role #
Ask an LLM
“How do I remove a role from the authz system?”
“Will deleting a role revoke its permissions from users?”
Tell an agent destructive · confirm first
Delete role {id}.
Remove the {id} role from authz.
POST /authz/roles/{id}/has-permission Check whether a role has a permission · Weaviate Check Whether A Role Possesses A Permission #
Ask an LLM
“Does a role have permission to read a collection?”
“Can I check a role's access to a specific action?”
Tell an agent
Check whether role {id} has permission {action}.
Test if role {id} can perform {action}.
GET /authz/roles/{id}/users List users assigned to a role (deprecated) · Weaviate Get Users Assigned To A Role #
Ask an LLM
“Which users have a given role, using the older endpoint?”
“Is the deprecated users-for-role lookup still supported?”
Tell an agent
List users assigned to role {id} via the deprecated endpoint.
Show {id} role holders with the legacy users-for-role lookup.
GET /authz/roles/{id}/user-assignments List users assigned to a role · Weaviate Get Users Assigned To A Role #
Ask an LLM
“Who has a particular role assigned to them?”
“Can I see all users with one role?”
Tell an agent
List users assigned to role {id}.
Show every user who holds role {id}.
GET /authz/roles/{id}/group-assignments List groups assigned a role · Weaviate Get Groups That Have A Specific Role Assigned #
Ask an LLM
“Which groups have a specific role assigned?”
“Can I see group assignments for a role?”
Tell an agent
List groups assigned role {id}.
Show all groups that hold role {id}.
GET /authz/users/{id}/roles List roles assigned to a user (deprecated) · Weaviate Get Roles Assigned To A User #
Ask an LLM
“What roles does a user have, using the older endpoint?”
“Is the deprecated roles-for-user lookup still available?”
Tell an agent
List roles assigned to user {id} via the deprecated endpoint.
Show {id} user's roles with the legacy roles-for-user lookup.
GET /authz/users/{id}/roles/{userType} List roles assigned to a user · Weaviate Get Roles Assigned To A User #
Ask an LLM
“Which roles does a specific user hold?”
“Can I see a user's roles by their type?”
Tell an agent
List roles assigned to {userType} user {id}.
Show the roles of user {id} of type {userType}.
POST /authz/users/{id}/assign Assign roles to a user · Weaviate Assign A Role To A User #
Ask an LLM
“How do I give a user a new role?”
“Can one user hold several roles at once?”
Tell an agent
Assign roles {roles} to {userType} user {id}.
Give user {id} of type {userType} the roles {roles}.
POST /authz/users/{id}/revoke Remove roles from a user · Weaviate Revoke A Role From A User #
Ask an LLM
“How do I take a role away from a user?”
“Can I revoke several roles from a user in one call?”
Tell an agent destructive · confirm first
Revoke roles {roles} from {userType} user {id}.
Remove role {roles} from user {id} of type {userType}.
POST /authz/groups/{id}/assign Assign roles to a group · Weaviate Assign A Role To A Group #
Ask an LLM
“How do I give a group a role?”
“Can a group be assigned roles of a specific type?”
Tell an agent
Assign roles {roles} to {groupType} group {id}.
Give group {id} of type {groupType} the roles {roles}.
POST /authz/groups/{id}/revoke Remove roles from a group · Weaviate Revoke A Role From A Group #
Ask an LLM
“How do I take a role away from a group?”
“Can I revoke several roles from a group at once?”
Tell an agent destructive · confirm first
Revoke roles {roles} from {groupType} group {id}.
Remove role {roles} from group {id} of type {groupType}.
GET /authz/groups/{id}/roles/{groupType} List roles assigned to a group · Weaviate Get Roles Assigned To A Specific Group #
Ask an LLM
“Which roles does a specific group hold?”
“Can I see a group's roles by group type?”
Tell an agent
List roles assigned to {groupType} group {id}.
Show the roles of group {id} of type {groupType}.
GET /authz/groups/{groupType} List groups of a group type · Weaviate List All Groups Of A Specific Type #
Ask an LLM
“What database groups exist?”
“Can I list only OIDC groups?”
Tell an agent
List all {groupType} groups.
Show every {groupType} group in authz.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/weaviate:weaviate-authz-api"
All apis
curl "https://apis.io/api/v1/apis?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

weaviate-authz-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Weaviate REST Authz API
  description: '# Introduction

    Weaviate is an open source, AI-native vector database that helps developers create intuitive and reliable AI-powered applications.'
  version: 1.38.0-dev
servers:
- url: http://localhost:8080
  description: Local Weaviate instance
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:


# --- truncated at 32 KB (40 KB total) ---
# Full source: https://artifacts.apis.io/weaviate/openapi/weaviate-authz-api-openapi.yml