Fianu Labs Permissions API

The permissions API from Fianu Labs, for permissions.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /users/{user_sub}/assets/permissions List User Asset Permissions #
GET /users/{user_sub}/entities/permissions List User Entity Permissions #
GET /users/{user_sub}/permissions List User Permissions #
PATCH /users/{user_sub}/permissions/{resource_level}/{resource_category}/{resource_key} Update User Permissions #
PATCH /users/{user_sub}/system/permissions/{resource_level}/{resource_category}/{resource_key} Update User System Permissions #

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/fianu-labs:fianu-labs-permissions-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

fianu-labs-permissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Fianu Labs offers powerful APIs that simplify and automate governance processes.


    With our flexible and customizable APIs, you can easily create, manage, and monitor governance policies, access real-time data and analytics, and automate repetitive tasks.


    Let us help you streamline your governance processes and achieve your business objectives.'
  title: Fianu Permissions API
  contact:
    name: Fianu Labs
    url: https://fianu.io
    email: support@fianu.io
  version: 1.0.0
servers:
- url: https://app.fianu.io/api
security:
- BearerToken: []
tags:
- name: Permissions
paths:
  /users/{user_sub}/assets/permissions:
    get:
      description: Retrieve all assets the authenticated user has permissions on, enriched with asset details and roles
      tags:
      - Permissions
      summary: List User Asset Permissions
      operationId: list_user_asset_permissions
      parameters:
      - description: User subject identifier
        name: user_sub
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of assets with user roles
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    description:
                      type: string
                    identifier:
                      type: string
                    lineage:
                      type: array
                      items:
                        type: object
                    name:
                      type: string
                    project:
                      type: string
                    repository:
                      type: string
                    roles:
                      type: array
                      items:
                        type: string
                    status:
                      type: string
                    type:
                      type: string
                    uuid:
                      type: string
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
  /users/{user_sub}/entities/permissions:
    get:
      description: Retrieve all entities the authenticated user has permissions on, enriched with entity details and roles
      tags:
      - Permissions
      summary: List User Entity Permissions
      operationId: list_user_entity_permissions
      parameters:
      - description: User subject identifier
        name: user_sub
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of entities with user roles
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                    path:
                      type: string
                    roles:
                      type: array
                      items:
                        type: string
                    type:
                      type: string
                    uuid:
                      type: string
                    version:
                      type: object
                      properties:
                        semantic:
                          type: string
                        status:
                          type: string
                        uuid:
                          type: string
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
  /users/{user_sub}/permissions:
    get:
      description: Retrieve all permissions for a specific user across all resources
      tags:
      - Permissions
      summary: List User Permissions
      operationId: list_user_permissions
      parameters:
      - description: User subject identifier
        name: user_sub
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of user permissions
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    object:
                      type: string
                    relation:
                      type: string
                    user:
                      type: string
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
  /users/{user_sub}/permissions/{resource_level}/{resource_category}/{resource_key}:
    patch:
      description: Update permissions for a specific user on a given resource
      tags:
      - Permissions
      summary: Update User Permissions
      operationId: update_user_permissions
      parameters:
      - description: User subject identifier
        name: user_sub
        in: path
        required: true
        schema:
          type: string
      - description: Resource level (e.g., asset)
        name: resource_level
        in: path
        required: true
        schema:
          type: string
      - description: Resource identifier
        name: resource_key
        in: path
        required: true
        schema:
          type: string
      - description: Resource category (e.g., assets|entities|evidence)
        name: resource_category
        in: path
        required: true
        schema:
          type: string
      requestBody:
        $ref: '#/components/requestBodies/assignUserPermissions'
      responses:
        '200':
          description: Successfully updated permissions
          content:
            application/json:
              schema:
                type: object
                properties:
                  assigned:
                    type: array
                    items:
                      type: object
                  message:
                    type: string
                  removed:
                    type: array
                    items:
                      type: object
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
  /users/{user_sub}/system/permissions/{resource_level}/{resource_category}/{resource_key}:
    patch:
      description: Update permissions for a specific user on a given resource
      tags:
      - Permissions
      summary: Update User System Permissions
      operationId: update_user_permissions_scopes
      parameters:
      - description: User subject identifier
        name: user_sub
        in: path
        required: true
        schema:
          type: string
      - description: Resource level (e.g., product|feature|asset)
        name: resource_level
        in: path
        required: true
        schema:
          type: string
      - description: Resource identifier
        name: resource_key
        in: path
        required: true
        schema:
          type: string
      - description: Resource category (e.g., assets|entities|evidence)
        name: resource_category
        in: path
        required: true
        schema:
          type: string
      requestBody:
        $ref: '#/components/requestBodies/assignUserPermissions'
      responses:
        '200':
          description: Successfully updated permissions
          content:
            application/json:
              schema:
                type: object
                properties:
                  assigned:
                    type: array
                    items:
                      type: object
                  message:
                    type: string
                  removed:
                    type: array
                    items:
                      type: object
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
components:
  schemas:
    Roles:
      description: Roles
      type: string
      x-go-package: github.com/fianulabs/core/v2/external/pkg/variables
    permission:
      type: object
      properties:
        role:
          $ref: '#/components/schemas/Roles'
      x-go-name: UserPermission
      x-go-package: github.com/fianulabs/core/v2/external/pkg/auth/fga
    assignUserPermissions:
      type: object
      properties:
        assign:
          description: assign
          type: array
          items:
            $ref: '#/components/schemas/permission'
          x-go-name: Assign
        remove:
          description: remove
          type: array
          items:
            $ref: '#/components/schemas/permission'
          x-go-name: Remove
        resource:
          $ref: '#/components/schemas/resourceRef'
        user:
          $ref: '#/components/schemas/userRef'
      x-go-name: AssignUserPermissions
      x-go-package: github.com/fianulabs/core/v2/external/pkg/auth/fga
    AuthorizationLevel:
      description: Authorization Levels
      type: string
      x-go-package: github.com/fianulabs/core/v2/external/pkg/variables
    AuthorizationCategory:
      type: string
      x-go-package: github.com/fianulabs/core/v2/external/pkg/variables
    userRef:
      type: object
      properties:
        email:
          description: email
          type: string
          x-go-name: Email
        sub:
          description: sub
          type: string
          x-go-name: Sub
        username:
          description: username
          type: string
          x-go-name: Username
      x-go-name: UserRef
      x-go-package: github.com/fianulabs/core/v2/external/pkg/auth/fga
    resourceRef:
      type: object
      properties:
        authorizationCategory:
          $ref: '#/components/schemas/AuthorizationCategory'
        authorizationKey:
          description: 'authorizationKey

            description: the unique key stored in the permissions model representing this resource'
          type: string
          x-go-name: AuthorizationKey
        authorizationType:
          description: 'authorizationType

            description: the authorization resource type, provides context if set to validate against the level or auto-determine the level'
          type: string
          x-go-name: AuthorizationType
        authorizationVersion:
          description: 'authorizationVersion

            description: an optional field, the version of the authorization resource, used to resolve the resource - unique with the resource key, to target a specific version of a resource'
          type: string
          x-go-name: AuthorizationVersion
        level:
          $ref: '#/components/schemas/AuthorizationLevel'
      x-go-name: ResourceRef
      x-go-package: github.com/fianulabs/core/v2/external/pkg/auth/fga
    errorV010:
      type: object
      properties:
        code:
          description: code
          type: string
          x-go-name: Code
        dataTypeName:
          description: dataTypeName
          type: string
          x-go-name: DataTypeName
        detail:
          description: detail
          type: string
          x-go-name: Detail
        eventing:
          description: eventing
          type: boolean
          x-go-name: Eventing
        file:
          description: file
          type: string
          x-go-name: File
        hint:
          description: hint
          type: string
          x-go-name: Hint
        message:
          description: message
          type: string
          x-go-name: Message
        service:
          description: service
          type: string
          x-go-name: Service
        severity:
          description: severity
          type: string
          x-go-name: Severity
        source:
          description: source
          type: string
          x-go-name: Source
        type:
          description: type
          type: string
          x-go-name: Type
        uuid:
          description: uuid
          type: string
          x-go-name: Uuid
      x-go-name: Error
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/api/error/v0.0.1
  requestBodies:
    assignUserPermissions:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/assignUserPermissions'
      description: Permission update request body
      required: true
  securitySchemes:
    BearerToken:
      description: JWT Bearer Token Auth
      type: apiKey
      name: Authentication
      in: header
externalDocs:
  description: Fianu Labs Documentation
  url: https://docs.fianu.io
x-tagGroups:
- name: Authentication
  tags:
  - access_tokens
- name: Console
  tags:
  - collections
  - controls
  - domains
  - policies
  - environments
  - targets
  - gates
  - indexes
- description: 'Every event that occurs throughout the software development lifecycle produces evidence. A Note represents a single piece of evidence. There are four types of Notes: Origin, Occurrence, Transaction, and Attestation. Each type varies in its traits and utility, but all Notes are digitally signed and stored in an immutable ledger where they can be queried on demand. If a query returns a Note that does not match its signature, it is considered untrusted and its evidence invalid. The following routes allow you to retrieve/display evidence Notes.'
  name: Evidence
  tags:
  - evaluation
  - ledger
  - signatures
  - evidence
  - deployments
  - notes
  - events
  - metrics
- name: Gating
  tags:
  - gating_check
  - gating_enforce
- description: Integrations represent third-party tools and platforms that generate evidence for attestations. Integrations are designed to manage the third-party’s toolchain relationship with Fianu.
  name: Integrations
  tags:
  - platforms
  - plugins
  - instances
  - platform_types
  - tools
- name: Assets
  tags:
  - assets
  - accounts
  - modules
  - abstract_assets
- name: Inventory
  tags:
  - statistics
  - sources
- description: Notification catalog, effective configuration, delivery channel integrations, and the user inbox.
  name: Notifications
  tags:
  - notifications
- description: Team management, approval workflows, and account-level administration.
  name: Administration
  tags:
  - team
  - teams
  - users
  - tickets
- name: Server
  tags:
  - settings