Fianu Labs Pods API
The pods API from Fianu Labs, for pods.
The pods API from Fianu Labs, for pods.
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-pods-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 Pods 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: Pods
paths:
/pods/entities/batch:
put:
description: 'Write pods for MANY entities (controls/gates) in one call — each item names
its own entity_id (unlike PUT /pods/entities/{entity_id}/batch, which takes
one entity from the path). Powers the admin aggregate matrix, where one save
toggles a capability across many entities. An item with a value upserts; an
item with a null/omitted value deletes that pod, so one save can both set and
clear. Items are independent — a bad item reports ok:false while its siblings
still commit (partial success, always 200). A malformed body is a 400.'
tags:
- Pods
summary: Batch Set Entity Pods Across Entities
operationId: batch_set_entity_pods_across_entities
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/batchPodItem'
description: Array of pod items, each carrying its own entityId
required: true
responses:
'200':
description: Per-item outcomes
content:
application/json:
schema:
$ref: '#/components/schemas/batchPodResponse'
'400':
description: Malformed batch body
/pods/entities/{entity_id}:
get:
description: List all pods bound to a specific entity, optionally filtered by pod type.
tags:
- Pods
summary: List Entity Pods
operationId: list_entity_pods
parameters:
- description: Entity ID
name: entity_id
in: path
required: true
schema:
type: string
- description: Filter by pod type
name: type
in: query
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/entityPod'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/pods/entities/{entity_id}/batch:
put:
description: Write multiple pods for one entity (control/gate) in a single call. Each item goes through the same per-pod path as the single endpoint (including gate-check-rule handling); items are independent, so a bad item reports ok:false while its siblings still commit (partial success, always 200). A malformed body is a 400.
tags:
- Pods
summary: Batch Set Entity Pods
operationId: batch_set_entity_pods
parameters:
- description: Entity id
name: entity_id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/batchPodItem'
description: Array of pod items to write
required: true
responses:
'200':
description: Per-item outcomes
content:
application/json:
schema:
$ref: '#/components/schemas/batchPodResponse'
'400':
description: Malformed batch body
/pods/entities/{entity_id}/{type}/{key}:
get:
description: Fetch a single entity-bound pod by entity ID, type, and key.
tags:
- Pods
summary: Get Entity Pod
operationId: get_entity_pod
parameters:
- description: Entity ID
name: entity_id
in: path
required: true
schema:
type: string
- description: Pod type
name: type
in: path
required: true
schema:
type: string
- description: Pod key
name: key
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/entityPod'
'404':
description: Pod Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
put:
description: Create or update an entity-bound pod.
tags:
- Pods
summary: Set Entity Pod
operationId: set_entity_pod
parameters:
- description: Entity ID
name: entity_id
in: path
required: true
schema:
type: string
- description: Pod type
name: type
in: path
required: true
schema:
type: string
- description: Pod key
name: key
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/pod'
description: Pod payload (binding fields entity_id/type/key are taken from the URL).
required: true
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/entityPod'
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
delete:
description: Remove an entity-bound pod.
tags:
- Pods
summary: Delete Entity Pod
operationId: delete_entity_pod
parameters:
- description: Entity ID
name: entity_id
in: path
required: true
schema:
type: string
- description: Pod type
name: type
in: path
required: true
schema:
type: string
- description: Pod key
name: key
in: path
required: true
schema:
type: string
responses:
'204':
description: Deleted
'400':
description: Client Error
content:
application/json:
schema:
$ref: '#/components/schemas/errorV010'
/pods/users/{user_id}/upcoming-releases:
get:
description: Returns release-asset rows that include any of the user's recently-viewed assets, filtered to active+open by default.
tags:
- Pods
summary: List Upcoming Releases
operationId: list_user_upcoming_releases
responses:
'200':
description: Upcoming releases list
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/upcomingRelease'
'400':
description: Client Error
components:
schemas:
batchPodResponse:
description: 'BatchPodResponse wraps the per-item outcomes of a batch write, in request
order.'
type: object
properties:
results:
description: results — one entry per submitted item, in order
type: array
items:
$ref: '#/components/schemas/batchPodResult'
x-go-name: Results
x-go-name: BatchPodResponse
x-go-package: github.com/fianulabs/core/v2/external/transport/pods
pod:
description: 'Required fields use direct types; optional fields use pointers.
Note: TenantID is omitted — it is set automatically by the set_tenant_id trigger.'
type: object
title: Pod is the primary DTO for insert and upsert operations on a tenant pod.
properties:
aggregation:
type: object
x-go-name: Aggregation
badgeLayout:
description: Display fields
type: object
x-go-name: BadgeLayout
channel:
description: Notification fields
type: string
x-go-name: Channel
criteria:
type: object
x-go-name: Criteria
description:
type: string
x-go-name: Description
enabled:
type: boolean
x-go-name: Enabled
favorites:
type: array
items:
$ref: '#/components/schemas/favoriteItem'
x-go-name: Favorites
featureFlag:
description: Feature flag fields
type: string
x-go-name: FeatureFlag
featureFlagEnabled:
type: boolean
x-go-name: FeatureFlagEnabled
isPublic:
type: boolean
x-go-name: IsPublic
key:
type: string
x-go-name: Key
metrics:
type: object
x-go-name: Metrics
name:
type: string
x-go-name: Name
pinned:
type: array
items:
$ref: '#/components/schemas/pinnedItem'
x-go-name: Pinned
podType:
type: string
x-go-name: PodType
priority:
type: integer
format: int64
x-go-name: Priority
recipients:
type: array
items:
type: string
x-go-name: Recipients
sourcePodId:
type: string
x-go-name: SourcePodID
template:
type: object
x-go-name: Template
uuid:
type: string
x-go-name: UUID
value:
type: object
x-go-name: Value
x-go-name: Pod
x-go-package: github.com/fianulabs/core/v2/external/db/pods
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
upcomingRelease:
type: object
title: UpcomingRelease is the API DTO for an upcoming release row.
properties:
createdAt:
description: createdAt — RFC3339 timestamp
type: string
x-go-name: CreatedAt
description:
description: description
type: string
x-go-name: Description
identifier:
description: identifier
type: string
x-go-name: Identifier
lastModified:
description: lastModified — RFC3339 timestamp
type: string
x-go-name: LastModified
name:
description: name
type: string
x-go-name: Name
state:
description: state — current asset_state (e.g. open, closed)
type: string
x-go-name: State
status:
description: status — current asset_status (e.g. active, archived)
type: string
x-go-name: Status
subtitle:
description: subtitle
type: string
x-go-name: Subtitle
uuid:
description: uuid
type: string
x-go-name: UUID
x-go-name: UpcomingRelease
x-go-package: github.com/fianulabs/core/v2/external/db/users
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
batchPodItem:
description: 'EntityID is used ONLY by the cross-entity batch (PUT /pods/entities/batch),
where each item names its own target entity instead of taking one from the
path; the path-scoped batches ignore it. On that endpoint a null/omitted
Value means "delete this pod" (so one matrix save can both set and clear).'
type: object
title: 'BatchPodItem is one pod write inside a batch request. The scope
(tenant/entity/asset) comes from the endpoint path; each item carries only
the pod_type, its key (defaults to "config" when omitted — the notification
convention), and the value to store.'
properties:
entityId:
description: 'entityId — cross-entity batch only: the entity to write this pod on'
type: string
x-go-name: EntityID
key:
description: key — the pod key; defaults to "config" when omitted
type: string
x-go-name: Key
type:
description: type — the pod_type bucket to write (e.g. notification_attestation_failure)
type: string
x-go-name: Type
value:
description: 'value — the pod value (e.g. a NotificationConfig); null/omitted on the
cross-entity batch deletes the pod'
type: object
x-go-name: Value
x-go-name: BatchPodItem
x-go-package: github.com/fianulabs/core/v2/external/transport/pods
entityPod:
type: object
title: EntityPodItem extends PodItem with entity binding.
properties:
aggregation:
type: object
x-go-name: Aggregation
badgeLayout:
type: object
x-go-name: BadgeLayout
channel:
type: string
x-go-name: Channel
content:
type: string
x-go-name: Content
criteria:
type: object
x-go-name: Criteria
description:
type: string
x-go-name: Description
enabled:
type: boolean
x-go-name: Enabled
entities:
description: 'Entities are the references for every entity ID in the pod''s "entities"-
typed config fields (capability pods only), resolved in-query. The UI joins
each config field''s IDs against this list by uuid. Omitted otherwise.'
type: array
items:
$ref: '#/components/schemas/StandardEntityReference'
x-go-name: Entities
entityId:
type: string
x-go-name: EntityID
favorites:
type: object
x-go-name: Favorites
featureFlag:
type: string
x-go-name: FeatureFlag
featureFlagEnabled:
type: boolean
x-go-name: FeatureFlagEnabled
isPublic:
type: boolean
x-go-name: IsPublic
key:
type: string
x-go-name: Key
metrics:
type: object
x-go-name: Metrics
name:
type: string
x-go-name: Name
pinned:
type: object
x-go-name: Pinned
podType:
type: string
x-go-name: PodType
priority:
type: integer
format: int64
x-go-name: Priority
recipients:
type: array
items:
type: string
x-go-name: Recipients
sourcePodId:
type: string
x-go-name: SourcePodID
template:
type: object
x-go-name: Template
tenantId:
type: string
x-go-name: TenantID
timestamp:
type: string
x-go-name: Timestamp
updatedAt:
type: string
x-go-name: UpdatedAt
uuid:
type: string
x-go-name: UUID
value:
type: object
x-go-name: Value
versionUuid:
type: string
x-go-name: VersionUUID
x-go-name: EntityPodItem
x-go-package: github.com/fianulabs/core/v2/external/db/pods
pinnedItem:
type: object
title: PinnedItem represents an element in the pods.pinned JSONB array.
properties:
displayName:
type: string
x-go-name: DisplayName
pillar:
type: string
x-go-name: Pillar
uuid:
type: string
x-go-name: UUID
x-go-name: PinnedItem
x-go-package: github.com/fianulabs/core/v2/external/db/pods
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
batchPodResult:
description: 'BatchPodResult reports the outcome of one item in a batch write. Partial
success is expected: OK is false with a populated Error when that item failed
while its siblings still committed (each item is an independent write).'
type: object
properties:
entityId:
description: entityId — echoes the item's entity (cross-entity batch only)
type: string
x-go-name: EntityID
error:
description: error — failure reason when ok is false
type: string
x-go-name: Error
key:
description: key — echoes the item's resolved key
type: string
x-go-name: Key
ok:
description: ok — true when the item was written
type: boolean
x-go-name: OK
type:
description: type — echoes the item's pod_type
type: string
x-go-name: Type
x-go-name: BatchPodResult
x-go-package: github.com/fianulabs/core/v2/external/transport/pods
favoriteItem:
type: object
title: FavoriteItem represents an element in the pods.favorites JSONB array.
properties:
displayName:
type: string
x-go-name: DisplayName
pillar:
type: string
x-go-name: Pillar
uuid:
type: string
x-go-name: UUID
x-go-name: FavoriteItem
x-go-package: github.com/fianulabs/core/v2/external/db/pods
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
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
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