Fianu Labs Notes API
Fianu Notes represent a single piece of evidence. The following routes allow you to attach specific Metadata to the Note for reporting and compliance enforcement.
Fianu Notes represent a single piece of evidence. The following routes allow you to attach specific Metadata to the Note for reporting and compliance enforcement.
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-notes-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 Notes 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:
- description: Fianu Notes represent a single piece of evidence. The following routes allow you to attach specific Metadata to the Note for reporting and compliance enforcement.
name: Notes
x-displayName: Notes
paths:
/evidence/replay:
post:
description: Replay evidence notes in bulk based on filters and time range. Smaller requests are processed inline and return results immediately.
tags:
- Notes
summary: Bulk Replay Evidence
operationId: replay_bulk_evidence
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ReplayRequest'
description: Replay request parameters
required: true
responses:
'200':
description: Inline processing completed successfully
content:
application/json:
schema:
$ref: '#/components/schemas/ReplayResponse'
'202':
description: Async processing started
content:
application/json:
schema:
type: object
properties:
message:
type: string
processingMode:
type: string
replayId:
type: string
replayUrl:
type: string
status:
type: string
totalNotes:
type: integer
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
'409':
description: Job already running
content:
application/json:
schema:
type: object
/evidence/replay/{replayId}:
get:
description: 'Check the status of an asynchronous replay job.
Returns current status and results if the job is completed.'
tags:
- Notes
summary: Get Replay Job Status
operationId: get_replay_job_status
parameters:
- description: Replay ID
name: replayId
in: path
required: true
schema:
type: string
responses:
'200':
description: Job status retrieved successfully
content:
application/json:
schema:
type: object
properties:
completedAt:
type: string
format: date-time
createdAt:
type: string
format: date-time
error:
type: string
replayId:
type: string
response:
$ref: '#/components/schemas/ReplayResponse'
status:
type: string
totalNotes:
type: integer
updatedAt:
type: string
format: date-time
'404':
description: Job not found
content:
application/json:
schema:
type: object
properties:
error:
type: string
/notes/{note_uuid}/history:
get:
description: 'Returns the chronological sequence of attestations sharing the same
(asset, primary series, control) scope as the given note — i.e. every
replay made against that scope, oldest first. The attestation_controller
marks exactly one of these as live; this endpoint surfaces every entry
so the existing snapshot badge-accordion component can render the
replay sequence. Response shape matches the snapshot endpoint.'
tags:
- Notes
summary: Note Attestation History
operationId: notes_history
parameters:
- description: The live note UUID for the scope whose history should be returned. The attestation_controller resolves this to the (asset, series, control) scope and the response includes every attestation against that scope.
name: note_uuid
in: path
required: true
schema:
type: string
responses:
'200':
description: Chronological attestation history (same shape as the snapshot endpoint)
content:
application/json:
schema:
$ref: '#/components/schemas/listReportEvidenceNoteSnapshotByAssetV001'
'400':
description: Missing or invalid note_uuid
/notes/{note}/annotations:
post:
description: Create an Annotation on a Note.
tags:
- Notes
summary: Create Annotation
operationId: create_note_annotations
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/createAnnotationV100'
description: create annotation request body
required: true
responses:
'201':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/annotationV100'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/notes/{note}/replay:
put:
description: Replay a Note. This endpoint should be used for scenarios where new evidence is available from source and/or a full re-evaluation is necessary.
tags:
- Notes
summary: Replay Note Attestation
operationId: update_by_replay_note_attestation
parameters:
- description: note UUID
name: note uuid
in: path
required: true
schema:
type: string
- description: toggle asynchronous replay for long-running processes, true|false
name: fullReplay
in: query
schema:
type: string
- description: include downstream controls (chained events) in replay, true|false
name: includeAllControls
in: query
schema:
type: string
- description: force replace existing data downstream by setting xfianuforcereplace extension on cloud event, true|false
name: force
in: query
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/declarationsV100'
description: note declarations available to override during replay
required: true
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/successResponseV010'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/notes/{note}/retry:
put:
description: 'Re-evaluate an existing attestation against the latest policy and control applicable to the event type.
This is useful when a control or policy has been modified after an attestation was previously evaluated and assigned a result.'
tags:
- Notes
summary: Retry Note Attestation
operationId: update_by_retry_note_attestation
parameters:
- description: note UUID
name: note uuid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/successResponseV010'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
'406':
description: Not Accepted
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
components:
schemas:
replayRequestNote:
type: object
properties:
path:
description: path
type: string
x-go-name: Path
type:
$ref: '#/components/schemas/NoteType'
x-go-name: ReplayRequestNote
NoteType:
type: string
x-go-package: github.com/fianulabs/fior/v3/constants
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
ReplayResponse:
description: ReplayResponse contains the summary of the replay operation
type: object
properties:
details:
description: details
type: array
items:
$ref: '#/components/schemas/ReplayResponseDetail'
x-go-name: Details
failed:
description: failed
type: integer
format: int64
x-go-name: Failed
message:
description: message
type: string
x-go-name: Message
replayed:
description: replayed
type: integer
format: int64
x-go-name: Replayed
skipped:
description: skipped
type: integer
format: int64
x-go-name: Skipped
timeElapsed:
description: timeElapsed
type: string
x-go-name: TimeElapsed
totalNotes:
description: totalNotes
type: integer
format: int64
x-go-name: TotalNotes
x-go-package: github.com/fianulabs/core/internal/transport/http/v1
replayRequestEntity:
type: object
properties:
entityId:
description: entityId
type: string
x-go-name: EntityID
name:
description: name
type: string
x-go-name: Name
path:
description: path
type: string
x-go-name: Path
version:
description: version
type: string
x-go-name: Version
x-go-name: ReplayRequestEntity
x-go-package: github.com/fianulabs/core/internal/transport/http/v1
StandardEntityReferenceVersion:
type: object
properties:
semantic:
description: semantic
type: string
x-go-name: Semantic
state:
$ref: '#/components/schemas/EntityState'
status:
$ref: '#/components/schemas/EntityStatus'
timestamp:
description: timestamp
type: string
format: date-time
x-go-name: Timestamp
uuid:
description: uuid
type: string
x-go-name: UUID
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
ReplayRequestParams:
description: ReplayRequestParams holds parameters for replay operation
type: object
properties:
force:
description: swaggerignore:"true"
type: boolean
x-go-name: Force
limit:
description: limit
type: integer
format: int64
x-go-name: Limit
override:
description: swaggerignore:"true"
type: boolean
x-go-name: Override
x-go-package: github.com/fianulabs/core/internal/transport/http/v1
reportEvidenceAttestationMinIntegrationSnapshotV001:
type: object
properties:
entityId:
description: entityId
type: string
x-go-name: EntityID
name:
description: name
type: string
x-go-name: Name
type:
description: type
type: string
x-go-name: Type
x-go-name: AttestationMinIntegrationSnapshot
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v0.0.1
declarationsV100:
description: Declarations -> Note Declarations
type: object
additionalProperties:
type: string
x-go-name: Declarations
x-go-package: github.com/fianulabs/fior/v3/declarations/v1.0.0
reportEvidenceAttestationMinSnapV001:
type: object
properties:
annotations:
description: annotations
type: integer
format: int64
x-go-name: Annotations
artifact:
description: artifact
type: string
x-go-name: Artifact
asset:
description: asset
type: string
x-go-name: Asset
collections:
description: collections
type: array
items:
$ref: '#/components/schemas/StandardEntityReference'
x-go-name: Collections
display:
description: display
type: object
additionalProperties: {}
x-go-name: Display
hasHistory:
description: 'hasHistory — true when this attestation has prior replays in its
(asset, control, primary series) scope. Present only when the snapshot is
requested with includeHasHistory=true; omitted otherwise.'
type: boolean
x-go-name: HasHistory
modifiers:
description: modifiers
type: integer
format: int64
x-go-name: Modifiers
platform:
description: platform
type: string
x-go-name: Platform
policies:
$ref: '#/components/schemas/noteEvidencePolicyRefsBlockV151'
policyType:
description: policyType
type: string
x-go-name: PolicyType
result:
description: result
type: string
x-go-name: Result
sequence:
description: sequence
type: array
items:
$ref: '#/components/schemas/reportNoteEvidenceSequenceV020'
x-go-name: Sequence
series:
description: series
type: array
items:
$ref: '#/components/schemas/reportEvidenceAttestationMinSnapSeriesV001'
x-go-name: Series
status:
description: result
type: string
x-go-name: Status
timestamp:
description: timestamp — when this attestation was recorded (RFC3339). Omitted when unknown.
type: string
format: date-time
x-go-name: Timestamp
uuid:
description: uuid
type: string
x-go-name: UUID
version:
description: version
type: string
x-go-name: Version
x-go-name: AttestationMinSnapshot
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v0.0.1
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
reportEvidenceControlConfigV001:
type: object
properties:
api:
description: api
type: boolean
x-go-name: API
manual:
description: manual
type: boolean
x-go-name: Manual
x-go-name: ControlConfig
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v0.0.1
StandardEntityReference:
type: object
properties:
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/StandardEntityReferenceVersion'
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
noteEvidencePolicyRefV151:
type: object
properties:
name:
description: name
type: string
x-go-name: Name
uuid:
description: uuid
type: string
x-go-name: UUID
version:
description: version
type: string
x-go-name: Version
x-go-name: NoteEvidencePolicyRef
x-go-package: github.com/fianulabs/core/v2/external/pkg/data
successResponseV010:
type: object
properties:
message:
description: message
type: string
x-go-name: Message
result:
description: result
type: string
x-go-name: Result
status:
description: status
type: string
x-go-name: Status
x-go-name: Response
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/api/success/v0.0.1
reportEvidenceAttestationMinSnapSeriesV001:
type: object
properties:
seriesCode:
description: seriesCode
type: integer
format: int64
x-go-name: SeriesCode
seriesId:
description: seriesId
type: string
x-go-name: SeriesID
seriesName:
description: seriesName
type: string
x-go-name: SeriesName
x-go-name: AttestationMinSnapshotSeries
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v0.0.1
reportNoteEvidenceSequenceV020:
type: object
properties:
path:
description: path
type: string
x-go-name: Path
type:
description: type
type: string
x-go-name: Type
uuid:
description: uuid
type: string
x-go-name: UUID
x-go-name: NoteEvidenceSequence
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v0.0.1
listReportEvidenceNoteSnapshotByAssetV001:
type: array
items:
$ref: '#/components/schemas/reportEvidenceNoteSnapshotByAssetV001'
x-go-name: ListNoteSnapshotByAsset
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v0.0.1
createAnnotationV100:
type: object
properties:
comment:
description: comment
type: string
x-go-name: Comment
note:
description: note
type: string
x-go-name: Note
role:
description: role
type: string
x-go-name: Role
title:
description: 'title
description: custom title to display over the role'
type: string
x-go-name: Title
x-go-name: AnnotationIn
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/annotations/v1.0.0
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
annotationV100:
type: object
properties:
comment:
description: comment
type: string
x-go-name: Comment
createdAt:
description: createdAt
type: string
format: date-time
x-go-name: CreatedAt
note:
description: note
type: string
x-go-name: Note
role:
description: role
type: string
x-go-name: Role
sub:
description: sub
type: string
x-go-name: Sub
title:
description: 'title
description: custom title to display over the role'
type: string
x-go-name: Title
uuid:
description: uuid
type: string
x-go-name: UUID
x-go-name: Annotation
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/annotations/v1.0.0
reportEvidenceAttestationMinAssetV001:
type: object
properties:
name:
description: name
type: string
x-go-name: Name
uuid:
description: uuid
type: string
x-go-name: UUID
x-go-name: AttestationMinAsset
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v1.0.0
ReplayResponseDetail:
description: ReplayResponseDetail contains details of individual replay attempt
type: object
properties:
error:
description: error
type: string
x-go-name: Error
noteType:
description: noteType
type: string
x-go-name: NoteType
noteUuid:
description: noteUuid
type: string
x-go-name: NoteUUID
skipped:
description: skipped
type: boolean
x-go-name: Skipped
success:
description: success
type: boolean
x-go-name: Success
x-go-package: github.com/fianulabs/core/internal/transport/http/v1
noteEvidencePolicyRefsBlockV151:
type: object
properties:
hash:
description: hash
type: string
x-go-name: Hash
refs:
description: refs
type: array
items:
$ref: '#/components/schemas/noteEvidencePolicyRefV151'
x-go-name: Refs
x-go-name: NoteEvidencePolicyRefsBlock
x-go-package: github.com/fianulabs/core/v2/external/pkg/data
ReplayRequest:
description: ReplayRequest represents the bulk replay request structure
type: object
properties:
control:
$ref: '#/components/schemas/replayRequestEntity'
note:
$ref: '#/components/schemas/replayRequestNote'
params:
$ref: '#/components/schemas/ReplayRequestParams'
plugin:
$ref: '#/components/schemas/replayRequestEntity'
range:
description: 'Time range
range'
type: object
properties:
end:
description: end
type: string
x-go-name: End
start:
description: start
type: string
x-go-name: Start
x-go-name: Range
x-go-package: github.com/fianulabs/core/internal/transport/http/v1
reportEvidenceNoteSnapshotByAssetV001:
description: NoteSnapshotByAsset -> wraps a component snapshot result of attestations
type: object
properties:
assets:
description: assets
type: array
items:
$ref: '#/components/schemas/reportEvidenceAttestationMinAssetV001'
x-go-name: Assets
attestations:
description: attestations
type: array
items:
$ref: '#/components/schemas/reportEvidenceAttestationMinSnapV001'
x-go-name: Attestations
collection:
description: collection
type: string
x-go-name: Collection
collectionUuid:
description: collectionUuid
type: string
x-go-name: CollectionRef
commit:
description: commit
type: string
x-go-name: Commit
config:
$ref: '#/components/schemas/reportEvidenceControlConfigV001'
displayKey:
description: displayKey
type: string
x-go-name: DisplayKey
domain:
description: domain
type: string
x-go-name: Domain
domainUuid:
description: domainUuid
type: string
x-go-name: DomainRef
entity:
description: entity
type: string
x-go-name: Entity
integrations:
description: integrations
type: array
items:
$ref: '#/components/schemas/reportEvidenceAttestationMinIntegrationSnapshotV001'
x-go-name: Integrations
name:
description: name
type: string
x-go-name: Name
path:
description: path
type: string
x-go-name: Path
scope:
description: scope
type: string
x-go-name: Scope
tag:
description: tag — ref/tag name associated with the commit (commit_manager.tag)
type: string
x-go-name: Tag
uuid:
description: uuid
type: string
x-go-name: UUID
version:
description: version
type: string
x-go-name: Version
violations:
description: violations
type: integer
format: int64
x-go-name: Violations
x-go-name: NoteSnapshotByAsset
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/reporting/v0.0.1
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