Fianu Labs Policy Exceptions API

The policy_exceptions API from Fianu Labs, for policy_exceptions.

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 1

GET /entities/exceptions/{entity_key}/preview/assets Preview Policy Exception Assets #

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-policy-exceptions-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-policy-exceptions-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 Policy Exceptions 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: policy_exceptions
paths:
  /entities/exceptions/{entity_key}/preview/assets:
    get:
      description: 'Returns one page of the lean asset projection (uuid/type/name/key/subtitle/status)

        that would be in scope for a policy exception, plus pagination metadata with the

        true total match count. Mirrors the response envelope of POST /indexes/preview.'
      tags:
      - policy_exceptions
      summary: Preview Policy Exception Assets
      operationId: preview_policy_exception_assets
      parameters:
      - description: Unique entity key identifier for the policy exception
        name: entity_key
        in: path
        required: true
        schema:
          type: string
      - description: 1-based page number. Defaults to 1.
        name: page
        in: query
        schema:
          type: string
          default: 1
          minimum: 1
      - description: Maximum items per page. Defaults to 100, clamped to 1000.
        name: limit
        in: query
        schema:
          type: string
          default: 100
          maximum: 1000
          minimum: 1
      - description: Optional case-insensitive substring filter on asset name and identifier (same contract as /api/assets ?search=).
        name: search
        in: query
        schema:
          type: string
      - description: Optional policy exception version pin.
        name: version
        in: query
        schema:
          type: string
      - description: 'Optional 0-based array position into the exception''s variations. When set, the

          preview narrows to that single variation BEFORE compute so pagination''s

          totalCount reflects the filtered scope. Out-of-range returns an empty

          items array. Mutually exclusive with variationName and variationIndexId.

          '
        name: variationIndex
        in: query
        schema:
          type: string
          minimum: 0
      - description: 'Optional case-sensitive match against the variation''s criteria.name.

          Narrows the preview to every variation whose criteria.name equals

          this value. Mutually exclusive with variationIndex and variationIndexId.

          '
        name: variationName
        in: query
        schema:
          type: string
      - description: 'Optional index entity_id (UUID). Narrows the preview to every variation

          whose criteria.indexes[] references this index. Mutually exclusive with

          variationIndex and variationName.

          '
        name: variationIndexId
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Matched assets for the requested page plus pagination metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/previewResponse'
        '400':
          description: Client Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
        '404':
          description: Policy Exception Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errorV010'
components:
  schemas:
    previewResponse:
      description: 'The same shape is returned by GET /policies/:entity_key/preview/assets so

        the UI can render either preview through one code path.'
      type: object
      title: 'PreviewResponse is the unified preview envelope: matched members for the

        requested page, plus pagination metadata with the true total count of

        matches (computed from the in-memory match set, no extra COUNT query).'
      properties:
        items:
          description: items - matched members on this page, sorted by assetUuid.
          type: array
          items:
            $ref: '#/components/schemas/indexMemberDetail'
          x-go-name: Items
        pagination:
          $ref: '#/components/schemas/pagination'
      x-go-name: PreviewResponse
      x-go-package: github.com/fianulabs/core/v2/external/transport/indexes
    indexAttribution:
      description: 'Mirrors the {id, name, path} shape of fianu.XEntity but drops the

        version/metadata fields the policy-preview UI doesn''t need.'
      type: object
      title: 'IndexAttribution is the lean nested reference attached to each

        IndexMemberDetail on the policy-preview path. It tells the UI which

        index(es) contributed a given asset — the union across every

        variation that matched it, deduped by UUID and sorted.'
      properties:
        id:
          type: string
          x-go-name: UUID
        name:
          type: string
          x-go-name: Name
        path:
          type: string
          x-go-name: Path
      x-go-name: IndexAttribution
      x-go-package: github.com/fianulabs/core/v2/external/db/indexes
    indexMemberDetail:
      description: 'IndexUUID is omitempty so Preview responses (which don''t have a

        persisted index) don''t surface an empty placeholder. Members read

        from an actual index_members row continue to populate it.


        Name/Identifier/Subtitle/AbstractAssetPath are omitempty because

        they''re enriched only on the Preview path (which has the full asset

        row from the assets DAL); the member-read path returns them blank

        and they drop out of JSON.


        Indexes is omitempty because only the policy-preview path populates

        it (the policy can span multiple variations / multiple linked

        indexes; each output row carries the union of indexes that

        contributed). Single-index reads (GET /api/indexes/:key/members)

        and POST /indexes/preview leave it nil and the flat IndexUUID field

        is the attribution surface there.'
      type: object
      title: IndexMemberDetail is the API-facing DTO for an index_members row.
      properties:
        abstractAssetPath:
          type: string
          x-go-name: AbstractAssetPath
        assetStatus:
          type: string
          x-go-name: AssetStatus
        assetType:
          type: string
          x-go-name: AssetType
        assetUuid:
          type: string
          x-go-name: AssetUUID
        identifier:
          type: string
          x-go-name: Identifier
        indexUuid:
          type: string
          x-go-name: IndexUUID
        indexes:
          type: array
          items:
            $ref: '#/components/schemas/indexAttribution'
          x-go-name: Indexes
        name:
          type: string
          x-go-name: Name
        subtitle:
          type: string
          x-go-name: Subtitle
        timestamp:
          type: string
          x-go-name: Timestamp
      x-go-name: IndexMemberDetail
      x-go-package: github.com/fianulabs/core/v2/external/db/indexes
    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
    pagination:
      type: object
      properties:
        items:
          type: array
          items: {}
          x-go-name: Items
        pageIndex:
          type: integer
          format: int64
          x-go-name: PageIndex
        pageSize:
          type: integer
          format: int64
          x-go-name: PageSize
        total:
          type: integer
          format: int64
          x-go-name: Total
      x-go-name: Pagination
      x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu
  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