Fianu Labs Templates API
The templates API from Fianu Labs, for templates.
The templates API from Fianu Labs, for templates.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/fianu-labs:fianu-labs-templates-api"
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.
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: 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 Templates 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: Templates
paths:
/entities/create/template:
post:
description: Create a new report template with layout content, configuration, and output format options.
tags:
- Templates
summary: Create Report Template
operationId: create_template
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/reportTemplateEntity'
description: Report template to create
required: true
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/reportTemplateEntity'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/entities/templates:
get:
description: Retrieve a list of report templates with optional filters for status, state, and entity ID.
tags:
- Templates
summary: List Report Templates
operationId: list_templates
parameters:
- description: Filter by entity status (active, inactive)
name: status
in: query
schema:
type: string
- description: Filter by entity state (draft, published)
name: state
in: query
schema:
type: string
- description: Filter by entity ID
name: entityId
in: query
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/reportTemplateEntity'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/entities/templates/{entity_id}:
get:
description: Retrieve a single report template by its entity ID, with optional status filter.
tags:
- Templates
summary: Fetch Report Template
operationId: fetch_template
parameters:
- description: Report template entity UUID or identifier
name: entity_key
in: path
required: true
schema:
type: string
- description: Filter by version status
name: status
in: query
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/reportTemplateEntity'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
components:
schemas:
git:
type: object
properties:
branch:
description: branch
type: string
x-go-name: Branch
content:
description: content
type: array
items:
type: integer
format: uint8
x-go-name: Content
contentPath:
description: contentPath
type: string
x-go-name: ContentPath
ref:
description: ref
type: string
x-go-name: Ref
x-go-name: Git
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu
EntityVisibility:
description: 'Public entities are user-managed and surfaced through the dashboard.
Private entities are system-managed (auto-converted from inline
PolicyAssetGroup.expressions[], or the per-asset-type default catch-all
indexes). They are filtered out of list reads unless the caller passes
IncludeHidden=true.'
type: string
title: CREATE TYPE entity_visibility AS ENUM ('public', 'private');
x-go-package: github.com/fianulabs/core/v2/external/db/variables
standardSpec:
description: StandardSpec represents the specification format and version
type: object
properties:
format:
$ref: '#/components/schemas/SpecFormat'
version:
$ref: '#/components/schemas/SpecVersion'
x-go-name: StandardSpec
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
standardURI:
description: StandardURI represents URI information
type: object
properties:
path:
description: path - URI path
type: string
x-go-name: Path
utility:
$ref: '#/components/schemas/UtilityType'
x-go-name: StandardURI
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
SubjectType:
description: 'SubjectType discriminates between user-direct grants and team-mediated
grants on an entity. A team grant cascades to every transitive member
of the team via the OpenFGA `team#member` userset.'
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu
EntityStatus:
type: string
title: create type entity_status as enum ('draft', 'staging', 'active', 'inactive', 'archived');
x-go-package: github.com/fianulabs/core/v2/external/db/variables
EntityType:
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/variables
reportTemplateEntity:
description: A report template entity using the standard entity spec.
allOf:
- $ref: '#/components/schemas/standardEntityBase'
- type: object
properties:
detail:
$ref: '#/components/schemas/ReportTemplateDetail'
x-go-package: github.com/fianulabs/core/internal/transport/http/v1
SpecVersion:
description: SpecVersion represents the specification version
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
ManagerType:
description: ManagerType represents who manages this entity
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
standardGroup:
description: StandardGroup represents control group information
type: object
properties:
name:
description: name - group display name
type: string
x-go-name: Name
path:
description: path - group identifier
type: string
x-go-name: Path
uuid:
description: uuid - group UUID
type: string
x-go-name: UUID
x-go-name: StandardGroup
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
fianuRoles:
type: array
items:
$ref: '#/components/schemas/fianuRole'
x-go-name: RolesV2
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu
fianuRole:
type: object
properties:
email:
description: email - denormalized user email (user subjects only).
type: string
x-go-name: Email
firstName:
description: firstName - denormalized given name (user subjects only).
type: string
x-go-name: FirstName
lastName:
description: lastName - denormalized family name (user subjects only).
type: string
x-go-name: LastName
roles:
description: roles - the role names granted to this subject on the entity.
type: array
items:
type: string
x-go-name: Roles
sub:
description: 'sub - user subject claim (populated only when subjectType == "user").
Retained for back-compat; new readers should prefer SubjectID.'
type: string
x-go-name: Sub
subjectId:
description: 'subjectId - principal identifier. Mirrors Sub when subjectType ==
"user"; holds the team UUID when subjectType == "team".'
type: string
x-go-name: SubjectID
subjectName:
description: 'subjectName - display name of the principal. Equals Username for
users; equals team.name for teams.'
type: string
x-go-name: SubjectName
subjectPath:
description: 'subjectPath - human-readable identifier of the principal (team
slug / identifier). Empty for users.'
type: string
x-go-name: SubjectPath
subjectType:
$ref: '#/components/schemas/SubjectType'
username:
description: username - denormalized user name (user subjects only).
type: string
x-go-name: Username
x-go-name: Role
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu
standardProducer:
description: StandardProducer represents the producer information
type: object
properties:
name:
description: name - producer name
type: string
x-go-name: Name
platform:
$ref: '#/components/schemas/standardPlatform'
type:
$ref: '#/components/schemas/ProducerType'
uri:
$ref: '#/components/schemas/standardURI'
uuid:
description: uuid - producer entity ID
type: string
x-go-name: UUID
version:
description: version - producer version
type: string
x-go-name: Version
x-go-name: StandardProducer
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
EntityState:
type: string
title: create type entity_state as enum ('draft', 'published', 'staging', 'rejected');
x-go-package: github.com/fianulabs/core/v2/external/db/variables
standardMetadata:
description: StandardMetadata represents metadata about the entity
type: object
properties:
aiGenerated:
description: aiGenerated - true when this entity was produced by the Fianu agent (provenance; survives activation)
type: boolean
x-go-name: AIGenerated
author:
$ref: '#/components/schemas/standardAuthor'
creator:
$ref: '#/components/schemas/standardCreator'
group:
$ref: '#/components/schemas/standardGroup'
manager:
$ref: '#/components/schemas/standardManager'
producer:
$ref: '#/components/schemas/standardProducer'
x-go-name: StandardMetadata
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
standardPlatform:
description: StandardPlatform represents platform information
type: object
properties:
name:
description: name - platform name
type: string
x-go-name: Name
uuid:
description: uuid - platform entity ID
type: string
x-go-name: UUID
version:
description: version - platform version
type: string
x-go-name: Version
x-go-name: StandardPlatform
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
fianuXEntityVersion:
description: XEntityVersion -> standard embedded entity version reference in other
type: object
properties:
semantic:
description: semantic
type: string
x-go-name: Semantic
status:
$ref: '#/components/schemas/EntityStatus'
uuid:
description: uuid
type: string
x-go-name: UUID
x-go-name: XEntityVersion
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu
standardReferenceAttribute:
description: Reusable by any entity type that supports reference attributes.
type: object
title: StandardReferenceAttribute represents a row in entity_reference_attributes.
properties:
index:
description: index
type: integer
format: int64
x-go-name: Index
name:
description: name
type: string
x-go-name: Name
type:
description: type
type: string
x-go-name: Type
value:
description: value
type: string
x-go-name: Value
x-go-name: StandardReferenceAttribute
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
UtilityType:
description: UtilityType represents the type of URI utility
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
SpecFormat:
description: SpecFormat represents the specification format
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
standardAuthor:
description: StandardAuthor represents who authored/last modified this entity
type: object
properties:
authoredAt:
description: authoredAt - when the entity was last authored/modified
type: string
format: date-time
x-go-name: AuthoredAt
email:
description: email - author's email
type: string
x-go-name: Email
name:
description: name - author's name
type: string
x-go-name: Name
uuid:
description: uuid - author's user UUID
type: string
x-go-name: UUID
x-go-name: StandardAuthor
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
ProducerType:
description: ProducerType represents the type of producer
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
ReportTemplateDetail:
description: 'ReportTemplateDetail holds template-specific fields stored in the
templates version data table.'
type: object
properties:
description:
description: Description is an optional human-readable description of the report template.
type: string
x-go-name: Description
layoutConfig:
description: 'LayoutConfig defines which control templates to include, section ordering,
header/footer block templates, and grouping rules for the report layout.'
type: object
x-go-name: LayoutConfig
outputFormats:
description: 'OutputFormats lists supported output formats for this report template.
Defaults to ["pdf", "html", "json"].'
type: array
items:
type: string
x-go-name: OutputFormats
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
standardCreator:
description: StandardCreator represents who created this entity
type: object
properties:
createdAt:
description: createdAt - when the entity was created
type: string
format: date-time
x-go-name: CreatedAt
email:
description: email - creator's email
type: string
x-go-name: Email
name:
description: name - creator's name
type: string
x-go-name: Name
uuid:
description: uuid - creator's user UUID
type: string
x-go-name: UUID
x-go-name: StandardCreator
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
standardManager:
description: StandardManager represents who manages this entity
type: object
properties:
libraryName:
description: libraryName - name of the library if type is library (future use)
type: string
x-go-name: LibraryName
libraryUuid:
description: libraryUuid - UUID of the library if type is library (future use)
type: string
x-go-name: LibraryUUID
type:
$ref: '#/components/schemas/ManagerType'
x-go-name: StandardManager
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
standardEntityBase:
description: 'Common fields on every StandardEntity[T] instance. The `detail` field is
polymorphic and provided by the embedding schema via allOf.'
type: object
properties:
asset:
description: Asset UUID (optional)
type: string
attributes:
description: Satellite reference attributes for this entity version
type: array
items:
$ref: '#/components/schemas/standardReferenceAttribute'
children:
type: array
items:
$ref: '#/components/schemas/fianuXEntity'
git:
$ref: '#/components/schemas/git'
metadata:
$ref: '#/components/schemas/standardMetadata'
name:
description: Entity name
type: string
parents:
type: array
items:
$ref: '#/components/schemas/fianuXEntity'
path:
description: Entity path
type: string
roles:
$ref: '#/components/schemas/fianuRoles'
spec:
$ref: '#/components/schemas/standardSpec'
type:
$ref: '#/components/schemas/EntityType'
uuid:
description: Entity UUID
type: string
version:
$ref: '#/components/schemas/standardVersion'
visibility:
$ref: '#/components/schemas/EntityVisibility'
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
standardVersion:
description: StandardVersion represents version information with semantic versioning
type: object
properties:
semantic:
description: semantic - semantic version number (e.g., "2.1.0")
type: string
x-go-name: Semantic
state:
$ref: '#/components/schemas/EntityState'
status:
$ref: '#/components/schemas/EntityStatus'
timestamp:
description: timestamp - when this version was created
type: string
format: date-time
x-go-name: Timestamp
uuid:
description: uuid - unique identifier for this version
type: string
x-go-name: UUID
x-go-name: StandardVersion
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
fianuXEntity:
description: XEntity -> standard embedded entity reference in other
type: object
properties:
metadata:
description: metadata - additional per-entity metadata (counts, flags, etc.)
type: object
additionalProperties: {}
x-go-name: Metadata
name:
description: name
type: string
x-go-name: Name
path:
description: path
type: string
x-go-name: Path
type:
$ref: '#/components/schemas/EntityType'
uuid:
description: uuid
type: string
x-go-name: UUID
version:
$ref: '#/components/schemas/fianuXEntityVersion'
x-go-name: XEntity
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