Cognee Permissions API

Permission management for multi-user access control.

Operations 19

POST /api/v1/permissions/datasets/{principal_id} Give Datasets Permission To Principal #
DELETE /api/v1/permissions/datasets/{principal_id} Revoke Datasets Permission From Principal #
GET /api/v1/permissions/principals/{principal_id}/datasets Get Principal Datasets #
POST /api/v1/permissions/roles Create Role #
DELETE /api/v1/permissions/roles/{role_id} Delete Role Endpoint #
POST /api/v1/permissions/users/{user_id}/roles Add User To Role #
DELETE /api/v1/permissions/users/{user_id}/roles Remove User From Role Endpoint #
POST /api/v1/permissions/users/{user_id}/tenants Add User To Tenant #
DELETE /api/v1/permissions/tenants/{tenant_id}/users/{user_id} Remove User From Tenant Endpoint #
POST /api/v1/permissions/tenants Create Tenant #
POST /api/v1/permissions/tenants/select Select Tenant #
GET /api/v1/permissions/tenants/{tenant_id}/roles Get Tenant Roles #
GET /api/v1/permissions/tenants/{tenant_id}/roles/{role_id}/users Get Users In Role #
GET /api/v1/permissions/tenants/{tenant_id}/roles/users/{user_id} Get User Roles #
GET /api/v1/permissions/tenants/{tenant_id}/users Get Users In Tenant #
GET /api/v1/permissions/tenants/me Get My Tenants #
GET /api/v1/permissions/tenants/{tenant_id}/capabilities/me Get My Capabilities In Tenant #
POST /api/v1/permissions/capabilities/{principal_id} Give Capability To Principal #
DELETE /api/v1/permissions/capabilities/{principal_id} Revoke Capability From Principal #

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/cognee:cognee-permissions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.

OpenAPI Specification

cognee-permissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cognee Permissions API
  description: Cognee API with Bearer token and Cookie auth
  version: 1.0.0
servers:
- url: https://{tenant}.aws.cognee.ai
  description: 'Cognee Cloud: your tenant pod, named in the platform.cognee.ai dashboard'
  variables:
    tenant:
      default: your-tenant
      description: Your tenant name, shown in the Cognee Cloud dashboard
- url: http://localhost:8000
  description: 'Self-hosted: a locally running cognee server'
security:
- BearerAuth: []
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cognee/refs/heads/main/openapi/cognee-permissions-api-openapi.yml