Fianu Labs Agent API
The agent API from Fianu Labs, for agent.
Operations 5
GET
/agent/notes/attestations/{uuid}/findings/{finding_id}/summarize
Get cached finding summary (or generate if absent)
#
The agent API from Fianu Labs, for agent.
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-agent-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 Agent 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: Agent
paths:
/agent/analyze-ticket/{uuid}:
post:
description: 'Analyze an approval ticket using LLM context rules and produce a decision
with justification. The agent fetches the ticket, target entity, LLM context
rule pods, and policy history, then uses the Anthropic LLM to produce a
structured analysis. Based on confidence thresholds, the agent may
autonomously approve/deny or post an advisory comment.'
tags:
- Agent
summary: Analyze Ticket
operationId: analyze_ticket
parameters:
- description: Ticket UUID to analyze
name: uuid
in: path
required: true
schema:
type: string
responses:
'200':
description: Analysis result with decision, confidence, and justification
content:
application/json:
schema:
$ref: '#/components/schemas/AnalysisResult'
'400':
description: bad request
'404':
description: ticket not found
'500':
description: internal error
/agent/confirm-action/{token}:
post:
description: 'Execute a previously recommended approval or denial. The token is a one-time-use
opaque identifier returned by the analyze-ticket endpoint. Tokens expire after
10 minutes and cannot be replayed.'
tags:
- Agent
summary: Confirm Agent Action
operationId: confirm_action
parameters:
- description: One-time confirmation token from analysis result
name: token
in: path
required: true
schema:
type: string
responses:
'200':
description: Action executed successfully
content:
application/json:
schema:
$ref: '#/components/schemas/ConfirmActionResponse'
'400':
description: invalid, expired, or already-used token
'500':
description: internal error
/agent/import-framework:
post:
description: 'Ingest a compliance framework document (Excel, CSV, or structured text) and
map each requirement to existing Fianu controls or design new controls. Returns
a mapping report with confidence scores for human review. New controls are
created in draft mode (opening approval tickets) only when explicitly approved.'
tags:
- Agent
summary: Import Compliance Framework
operationId: import_framework
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ImportFrameworkRequest'
required: true
responses:
'200':
description: Framework mapping report
content:
application/json:
schema:
$ref: '#/components/schemas/MappingReport'
'400':
description: bad request or unparseable document
'500':
description: internal error
/agent/notes/attestations/{uuid}/findings/{finding_id}/summarize:
get:
description: 'Returns the AI-generated natural-language summary for a single
finding extracted from an attestation. If a summary has been
generated previously and is still cached, it is returned with
cached=true. Otherwise a fresh summary is generated, cached, and
returned with cached=false.'
tags:
- Agent
summary: Get cached finding summary (or generate if absent)
operationId: summarize_finding_get
parameters:
- description: Attestation note UUID
name: uuid
in: path
required: true
schema:
type: string
- description: Finding identifier (matches Finding.ID or Finding.MatchKey, URL-encoded if it contains slashes)
name: finding_id
in: path
required: true
schema:
type: string
responses:
'200':
description: Summary response
content:
application/json:
schema:
$ref: '#/components/schemas/SummaryResponse'
'400':
description: missing or invalid identifier
'404':
description: note or finding not found
post:
description: 'Forces a fresh AI summary for a single finding extracted from an
attestation. The previous cache entry is overwritten with the new
text. Returns cached=false.'
tags:
- Agent
summary: Regenerate finding summary
operationId: summarize_finding_regenerate
parameters:
- name: uuid
in: path
required: true
schema:
type: string
- name: finding_id
in: path
required: true
schema:
type: string
responses:
'200':
description: Summary response
content:
application/json:
schema:
$ref: '#/components/schemas/SummaryResponse'
components:
schemas:
ImpactSummary:
type: object
title: ImpactSummary describes the compliance impact of a change.
properties:
affectedScope:
description: affectedScope - asset type and index
type: string
x-go-name: AffectedScope
controlCriticality:
description: controlCriticality - critical, standard, or non-critical
type: string
x-go-name: ControlCriticality
riskDirection:
description: riskDirection - relaxing, tightening, or neutral
type: string
x-go-name: RiskDirection
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
Ref:
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/policies
controlMeasureV100:
type: object
properties:
children:
description: 'children
description: child measures'
type: array
items:
type: object
description: (recursive reference to controlMeasureV100)
x-go-name: Children
description:
description: 'description
description: measure description'
type: string
x-go-name: Description
lineItemException:
$ref: '#/components/schemas/controlMeasureLineItemExceptionV100'
name:
description: 'name
description: measure name'
type: string
x-go-name: Name
node_id:
description: 'node_id
description: node identifier'
type: string
x-go-name: NodeId
type:
description: 'type
description: measure type'
type: string
x-go-name: Type
value:
description: 'value
description: measure value'
x-go-name: Value
x-go-name: Measure
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
MappingReport:
type: object
title: MappingReport is the response body for framework import.
properties:
framework:
description: framework - name of the imported framework
type: string
x-go-name: Framework
mappings:
description: mappings - per-requirement mapping results
type: array
items:
$ref: '#/components/schemas/RequirementMapping'
x-go-name: Mappings
summary:
$ref: '#/components/schemas/MappingSummary'
totalRequirements:
description: totalRequirements - count of parsed requirements
type: integer
format: int64
x-go-name: TotalRequirements
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
SummaryResponse:
type: object
title: SummaryResponse is the response body for evidence summarization endpoints.
properties:
nextSteps:
description: 'nextSteps - ordered, structured remediation/investigation actions the
model recommends. Empty when the context contains nothing actionable.'
type: array
items:
$ref: '#/components/schemas/SummaryNextStep'
x-go-name: NextSteps
summary:
description: summary - the AI-generated natural-language summary
type: string
x-go-name: Summary
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
RuleResult:
type: object
title: RuleResult describes how a single LLM context rule influenced the decision.
properties:
result:
description: result - how the rule influenced the decision
type: string
x-go-name: Result
ruleText:
description: ruleText - the matched rule from the pod content
type: string
x-go-name: RuleText
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
controlMeasuresV100:
type: array
items:
$ref: '#/components/schemas/controlMeasureV100'
x-go-name: Measures
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v2.0.0
controlMeasureLineItemExceptionExpirationV100:
type: object
properties:
required:
description: required
type: boolean
x-go-name: Required
x-go-name: Expiration
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v2.0.0
SummaryNextStep:
type: object
title: SummaryNextStep is a single recommended action.
properties:
action:
description: action - imperative one-liner (e.g. "Rotate the credential")
type: string
x-go-name: Action
details:
description: details - optional 1-2 sentence elaboration
type: string
x-go-name: Details
priority:
description: 'priority - one of "high", "medium", or "low"; omitted when the model
cannot infer a meaningful priority from the context'
type: string
x-go-name: Priority
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
ControlResource:
type: string
x-go-package: github.com/fianulabs/core/v2/external/pkg/variables
ConfirmActionResponse:
type: object
title: ConfirmActionResponse is the response body for confirming a pending agent action.
properties:
action:
description: action - the action that was executed (approve or deny)
type: string
x-go-name: Action
executed:
description: executed - whether the action was successfully submitted
type: boolean
x-go-name: Executed
ticketUuid:
description: ticketUuid - the ticket the action was applied to
type: string
x-go-name: TicketUUID
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
AnalysisResult:
type: object
title: AnalysisResult is the response body for ticket analysis.
properties:
activityPosted:
description: activityPosted - whether an activity was posted to the ticket
type: boolean
x-go-name: ActivityPosted
confidence:
description: confidence - 0.0 to 1.0
type: number
format: double
x-go-name: Confidence
confirmationToken:
description: confirmationToken - one-time token to confirm the recommended action (empty if no action recommended)
type: string
x-go-name: ConfirmationToken
decision:
description: decision - approve, deny, escalate, or comment
type: string
x-go-name: Decision
impact:
$ref: '#/components/schemas/ImpactSummary'
justification:
description: justification - human-readable reasoning
type: string
x-go-name: Justification
recommendedAction:
description: 'recommendedAction - agent confidence tier: "autonomous" (>=0.90, high confidence), "autonomous_notify" (>=0.75), "advisory" (>=0.50, review recommended), "escalate" (<0.50, human required). A confirmationToken is only provided for non-escalate tiers.'
type: string
x-go-name: RecommendedAction
rulesApplied:
description: rulesApplied - LLM context rules that influenced the decision
type: array
items:
$ref: '#/components/schemas/RuleResult'
x-go-name: RulesApplied
ticketUuid:
description: ticketUuid - the analyzed ticket
type: string
x-go-name: TicketUUID
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
Status:
type: string
title: Status provides runtime information about the network such as the number of allocated IPs.
properties:
IPAM:
$ref: '#/components/schemas/IPAMStatus'
x-go-package: github.com/fianulabs/core/v2/external/pkg/variables
controlPolicyTemplateV100:
type: object
properties:
measures:
$ref: '#/components/schemas/controlMeasuresV100'
updatedAt:
description: updatedAt
type: string
x-go-name: UpdatedAt
version:
description: version
type: string
x-go-name: Version
x-go-name: PolicyTemplate
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v2.0.0
RequirementMapping:
type: object
title: RequirementMapping maps a single framework requirement to Fianu.
properties:
classification:
description: classification - automated, manual, hybrid, or informational
type: string
x-go-name: Classification
confidence:
description: confidence - overall mapping confidence 0.0 to 1.0
type: number
format: double
x-go-name: Confidence
existingMatch:
description: existingMatch - entity key of matched existing control (null if none)
type: string
x-go-name: ExistingMatch
matchConfidence:
description: matchConfidence - confidence of existing control match (null if no match)
type: number
format: double
x-go-name: MatchConfidence
notes:
description: notes - additional context or warnings
type: string
x-go-name: Notes
requirementId:
description: requirementId - framework requirement ID (e.g., "CC-7.1")
type: string
x-go-name: RequirementID
suggestedControl:
$ref: '#/components/schemas/controlV100'
title:
description: title - requirement title
type: string
x-go-name: Title
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
Case:
description: Case represents a control evaluation case
type: object
properties:
detail:
type: array
items:
type: integer
format: uint8
x-go-name: Detail
digest:
type: string
x-go-name: Digest
enabled:
type: boolean
x-go-name: Enabled
id:
type: string
x-go-name: UUID
key:
$ref: '#/components/schemas/ControlResource'
label:
type: string
x-go-name: Label
repositoryIsSynced:
type: boolean
x-go-name: RepositoryIsSynced
repositorySHA:
type: string
x-go-name: RepositorySHA
repositorySyncCommit:
type: string
x-go-name: RepositorySyncCommit
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
Tags:
type: object
additionalProperties:
type: string
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v3
controlSourceV100:
type: object
properties:
collection:
description: collection
type: string
x-go-name: Collection
source:
description: source
type: string
x-go-name: Source
uuid:
description: uuid
type: string
x-go-name: Uuid
x-go-name: Source
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v2.0.0
Results:
description: Results represents control results
type: object
properties:
fail:
description: failingControls
type: integer
format: int64
x-go-name: FailingControls
inProgress:
description: inProgressControls
type: integer
format: int64
x-go-name: InProgressControls
notFound:
description: notFoundControls
type: integer
format: int64
x-go-name: NotFoundControls
notRequired:
description: notRequiredControls
type: integer
format: int64
x-go-name: NotRequiredControls
pass:
description: passingControls
type: integer
format: int64
x-go-name: PassingControls
total:
description: totalControls
type: integer
format: int64
x-go-name: TotalControls
warn:
description: warnControls
type: integer
format: int64
x-go-name: WarnControls
additionalProperties:
type: boolean
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v0.0.1
ImportOptions:
type: object
title: ImportOptions configures framework import behavior.
properties:
confidenceThreshold:
description: confidenceThreshold - minimum confidence for auto-creating controls (default 0.80)
type: number
format: double
x-go-name: ConfidenceThreshold
dryRun:
description: dryRun - if true, produce mapping report without creating controls
type: boolean
x-go-name: DryRun
targetDomain:
description: targetDomain - override domain placement for all controls
type: string
x-go-name: TargetDomain
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
fianuRolesV010:
type: object
properties:
altManager:
$ref: '#/components/schemas/Proprietor'
manager:
$ref: '#/components/schemas/Proprietor'
owner:
$ref: '#/components/schemas/Proprietor'
x-go-name: Roles
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu
MappingSummary:
type: object
title: MappingSummary provides aggregate counts for the mapping report.
properties:
automated:
description: automated - requirements mapped to automated controls
type: integer
format: int64
x-go-name: Automated
hybrid:
description: hybrid - requirements with both automated and manual components
type: integer
format: int64
x-go-name: Hybrid
informational:
description: informational - documentation-only requirements
type: integer
format: int64
x-go-name: Informational
manual:
description: manual - requirements requiring manual attestation
type: integer
format: int64
x-go-name: Manual
matchedExisting:
description: matchedExisting - requirements matched to existing controls
type: integer
format: int64
x-go-name: MatchedExisting
newControls:
description: newControls - new controls designed
type: integer
format: int64
x-go-name: NewControls
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
controlDocumentationV100:
type: object
properties:
title:
description: 'title
description: documentation title'
type: string
x-go-name: Title
url:
description: 'url
description: documentation URL'
type: string
x-go-name: URL
x-go-name: Documentation
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/entities
SubnetStatuses:
type: object
additionalProperties:
type: object
x-go-package: github.com/moby/moby/api/types/network
reportControlRelationV100:
type: object
properties:
collection:
$ref: '#/components/schemas/Ref'
collectionName:
description: collectionName
type: string
x-go-name: CollectionName
domain:
$ref: '#/components/schemas/Ref'
domainName:
description: domainName
type: string
x-go-name: DomainName
isPrimary:
description: isPrimary
type: boolean
x-go-name: IsPrimary
x-go-name: ControlRelation
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v3
controlMeasureLineItemExceptionV100:
type: object
properties:
enabled:
description: eanbled
type: boolean
x-go-name: Enabled
expiration:
$ref: '#/components/schemas/controlMeasureLineItemExceptionExpirationV100'
type:
description: type
x-go-name: Type
x-go-name: LineItemException
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v1.0.0
ImportFrameworkRequest:
type: object
title: ImportFrameworkRequest is the request body for framework import.
properties:
document:
description: document - base64-encoded framework document content
type: string
x-go-name: Document
documentType:
description: 'documentType - file format: xlsx, csv, or text'
type: string
x-go-name: DocumentType
frameworkName:
description: frameworkName - name of the compliance framework (e.g., "NIST 800-53")
type: string
x-go-name: FrameworkName
options:
$ref: '#/components/schemas/ImportOptions'
x-go-package: github.com/fianulabs/core/v2/external/transport/http/v1
controlV100:
type: object
required:
- version
- displayKey
properties:
badgeName:
description: badgeName
type: string
x-go-name: BadgeName
badgeTags:
$ref: '#/components/schemas/Tags'
description:
description: description
type: string
x-go-name: Description
displayKey:
description: the entity display key
type: string
x-go-name: DisplayKey
example: BUILD
documentation:
description: documentation
type: array
items:
$ref: '#/components/schemas/controlDocumentationV100'
x-go-name: Docs
entityVersion:
description: version
type: string
x-go-name: EntityVersion
evaluation:
description: evaluation
type: array
items:
$ref: '#/components/schemas/Case'
x-go-name: Evaluation
fianuVersion:
description: fianuVersion
type: string
x-go-name: FianuVersion
fullName:
description: fullName
type: string
x-go-name: FullName
id:
description: id
type: string
x-go-name: ID
manualAttestations:
description: manualAttestations
type: array
items:
type: string
x-go-name: ManualAttestations
manualEvidence:
description: manualEvidence
type: array
items:
type: string
x-go-name: ManualEvidence
path:
description: path
type: string
x-go-name: Path
policyTemplate:
$ref: '#/components/schemas/controlPolicyTemplateV100'
relations:
description: relations
type: array
items:
$ref: '#/components/schemas/reportControlRelationV100'
x-go-name: ControlRelations
results:
$ref: '#/components/schemas/Results'
retries:
description: retries
type: boolean
x-go-name: Retries
roles:
$ref: '#/components/schemas/fianuRolesV010'
scope:
description: scope
type: string
x-go-name: Scope
sources:
description: sources
type: array
items:
$ref: '#/components/schemas/controlSourceV100'
x-go-name: Sources
state:
$ref: '#/components/schemas/State'
status:
$ref: '#/components/schemas/Status'
timestamp:
description: timestamp
type: string
format: date-time
x-go-name: Timestamp
type:
description: type
type: string
x-go-name: Type
uuid:
description: uuid
type: string
x-go-name: UUID
version:
description: the entity version (semver)
type: string
x-go-name: Version
example: 1.0.0
x-go-name: Control
x-go-package: github.com/fianulabs/core/v2/external/db/types/fianu/controls/v1.0.0
State:
type: string
x-go-package: github.com/fianulabs/core/v2/external/pkg/variables
IPAMStatus:
description: IPAMStatus IPAM status
type: object
properties:
Subnets:
$ref: '#/components/schemas/SubnetStatuses'
x-go-package: github.com/moby/moby/api/types/network
Proprietor:
type: object
properties:
firstName:
type: string
x-go-name: FirstName
lastName:
type: string
x-go-name: LastName
relationship:
type: string
x-go-name: Relationship
username:
type: string
x-go-name: Username
value:
type: string
x-go-name: Value
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