Fianu Labs Repositories API
The repositories API from Fianu Labs, for repositories.
The repositories API from Fianu Labs, for repositories.
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-repositories-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 Repositories 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: Repositories
paths:
/metrics/landscape/repositories:
get:
description: Retrieve repository metrics including SCM platform details, active committers, and applied security controls. Supports filtering by SCM platform, instance, control, collection, and integration.
tags:
- Repositories
summary: Repositories (Beta)
operationId: list_repositories
parameters:
- example: git,gitlab
description: Path of the source code management platform. Multiple values can be provided as a comma-separated list.
name: scmPlatform
in: query
schema:
type: string
- example: github.hosted
description: Path of the SCM instance. Useful when an organization has multiple instances of the same platform and filtering is required for a specific one. Multiple values can be provided as a comma-separated list.
name: scmInstance
in: query
schema:
type: string
- example: unit.test.coverage,build
description: Control path. Filters repositories that are in scope for the specified control. Multiple control paths can be provided as a comma-separated list.
name: control
in: query
schema:
type: string
- example: Security,Build Pipeline
description: Collection path. Filters repositories associated with controls in the specified collection, such as Security or Build Pipeline. Multiple collection paths can be provided as a comma-separated list.
name: collection
in: query
schema:
type: string
- example: sonarqube,jenkins.hosted
description: Integration identifier. Filters repositories that have activity for a specific integration. Accepts a platform path, instance path, or tool path. Multiple integration values can be provided as a comma-separated list.
name: integration
in: query
schema:
type: string
responses:
'200':
description: List of repositories with metadata
content:
application/json:
schema:
type: array
items:
type: object
properties:
committers:
description: Top committers ranked by activity in the last 30 days
type: array
items:
type: object
properties:
commits:
type: object
properties:
last30days:
description: Number of commits in the last 30 days
type: integer
example: 56
mostRecent:
description: Date of most recent commit
type: string
format: date
example: '2025-10-06'
rank:
description: Rank among committers (1 = most active)
type: integer
example: 1
email:
description: Email address
type: string
example: lucas.harris@investmentsunlimited.net
first:
description: First name
type: string
example: Lucas
last:
description: Last name
type: string
example: Harris
controls:
description: Active controls for this repository
type: array
items:
type: object
properties:
integration:
type: object
properties:
instance:
type: object
properties:
name:
description: Instance display name
type: string
example: SonarQube Hosted
path:
description: Instance path identifier
type: string
example: sonarqube.hosted
url:
type: object
properties:
api:
description: API URL
type: string
example: https://api.sonar.investmentsunlimited.net
web:
description: Web UI URL
type: string
example: https://sonar.investmentsunlimited.net
name:
description: Integration display name
type: string
example: SonarQube
path:
description: Integration path identifier
type: string
example: sonarqube
type:
description: Integration type (platform, tool, etc.)
type: string
example: platform
name:
description: Control display name
type: string
example: Unit Test Coverage
path:
description: Control path identifier
type: string
example: unit.test.coverage
project:
description: Project name or identifier
type: string
example: client-onboarding-experience
properties:
description: Custom properties associated with the repository
type: object
additionalProperties:
oneOf:
- type: string
- type: boolean
example:
application: Wealth Management Platform
internetFacing: false
lob: Private Bank
riskTier: '1'
repository:
description: Repository name
type: string
example: login-auth-service
scm:
description: Source code management platform information
type: object
properties:
platform:
type: object
properties:
instance:
type: object
properties:
name:
description: Instance display name
type: string
example: GitHub (On-Prem)
path:
description: Instance path identifier
type: string
example: github.hosted
url:
type: object
properties:
api:
description: API URL
type: string
example: https://api.git.investmentsunlimited.net
web:
description: Web UI URL
type: string
example: https://git.investmentsunlimited.net
name:
description: Platform display name
type: string
example: GitHub
path:
description: Platform path identifier
type: string
example: git
slug:
description: Full URL to the repository
type: string
example: https://git.investmentsunlimited.net/client-onboarding-experience/login-auth-service
'500':
description: Server Error
content:
application/json:
schema:
type: object
properties:
error:
description: Error message
type: string
/token/{uuid}:
delete:
tags:
- Repositories
summary: Delete Asset Token
operationId: delete_token
parameters:
- description: uuid of token to revoke
name: uuid
in: path
required: true
schema:
type: string
responses:
'200':
description: on removed
content:
application/json:
schema:
$ref: '#/components/schemas/successResponseV010'
'400':
description: on failure
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/token/{uuid}/revoke:
patch:
tags:
- Repositories
summary: Revoke Asset Token
operationId: revoke_token
parameters:
- description: uuid of token to revoke
name: uuid
in: path
required: true
schema:
type: string
responses:
'200':
description: on revoked
content:
application/json:
schema:
$ref: '#/components/schemas/successResponseV010'
'400':
description: on failure
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/tokens/assets/{asset}:
get:
tags:
- Repositories
summary: Fetch Token for Asset
operationId: fetch_tokens_for_asset
parameters:
- description: asset uuid
name: asset
in: query
schema:
type: string
responses:
'201':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/listReportTokenV010'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/tokens/assets/{asset}/by-module:
get:
tags:
- Repositories
summary: List Tokens by Module
operationId: list_tokens_for_repositories_by_module
parameters:
- description: asset uuid
name: asset
in: query
schema:
type: string
responses:
'201':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/listReportTokenV010'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
components:
schemas:
listReportTokenV010:
type: array
items:
type: object
x-go-package: github.com/fianulabs/core/v2/server/consulta/routes
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
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
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