Kagura AI Resource Management Grants API

Owner-provisioned management grants

GitHub OpenAPI

Operations 3

POST /api/v1/resource-management-grants Create Grant #
GET /api/v1/resource-management-grants List Grants #
DELETE /api/v1/resource-management-grants/{grant_id} Revoke Grant #

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/kagura-ai-com:kagura-ai-com-resource-management-grants-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

kagura-ai-com-resource-management-grants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kagura Memory Cloud Resource Management Grants API
  description: Universal AI Memory Platform - Remote MCP Server + Web Management
  version: 0.158.1
tags:
- name: resource-management-grants
  description: Owner-provisioned management grants
paths:
  /api/v1/resource-management-grants:
    post:
      tags:
      - resource-management-grants
      summary: Create Grant
      description: Explicitly delegate one approved target; token authority is separately acknowledged.
      operationId: create_grant_api_v1_resource_management_grants_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GrantCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Create Grant Api V1 Resource Management Grants Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - resource-management-grants
      summary: List Grants
      description: List workspace grants without secret material.
      operationId: list_grants_api_v1_resource_management_grants_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
                title: Response List Grants Api V1 Resource Management Grants Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/resource-management-grants/{grant_id}:
    delete:
      tags:
      - resource-management-grants
      summary: Revoke Grant
      description: Serialize revocation with in-flight operations; external tokens remain independent.
      operationId: revoke_grant_api_v1_resource_management_grants__grant_id__delete
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Grant Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GrantCreate:
      properties:
        resource_pk:
          type: string
          format: uuid
          title: Resource Pk
        context_id:
          type: string
          format: uuid
          title: Context Id
        endpoint_id:
          type: string
          format: uuid
          title: Endpoint Id
        operations:
          items:
            type: string
            enum:
            - schema:read
            - events:upsert
            - events:delete
            - tokens:read
            - tokens:create
            - tokens:update
            - tokens:revoke
          type: array
          maxItems: 7
          minItems: 1
          title: Operations
        approved_fields:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: Approved Fields
        ttl_days:
          type: integer
          maximum: 90.0
          minimum: 1.0
          title: Ttl Days
          default: 30
        quota_events_per_hour:
          type: integer
          maximum: 10000.0
          minimum: 1.0
          title: Quota Events Per Hour
          default: 1000
        max_active_tokens:
          type: integer
          maximum: 100.0
          minimum: 1.0
          title: Max Active Tokens
          default: 3
        acknowledge_full_resource_token_authority:
          type: boolean
          title: Acknowledge Full Resource Token Authority
          default: false
      additionalProperties: false
      type: object
      required:
      - resource_pk
      - context_id
      - endpoint_id
      - operations
      - approved_fields
      title: GrantCreate