Fianu Labs Tickets API

Ticket-based approval workflows. List and inspect tickets, their conditions and activities, submit approval/denial activities, refresh stale approver snapshots, and stage gating tickets for deployment protection.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

GET /admin/tickets List All Tickets (Admin) #
GET /tickets List Tickets #
POST /tickets/stage/gating Stage Gating Ticket #
GET /tickets/{uuid} Get Ticket #
GET /tickets/{uuid}/activities List Ticket Activities #
POST /tickets/{uuid}/activities Submit Ticket Activity #
GET /tickets/{uuid}/conditions List Ticket Conditions #
POST /tickets/{uuid}/refresh Refresh Ticket Approvers #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fianu-labs:fianu-labs-tickets-api"
All apis
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.

Get an API 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 Specification

fianu-labs-tickets-api-openapi.yml Raw ↑
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 Tickets 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: 'Ticket-based approval workflows. List and inspect tickets, their

    conditions and activities, submit approval/denial activities,

    refresh stale approver snapshots, and stage gating tickets for

    deployment protection.'
  name: Tickets
  x-displayName: Tickets
paths:
  /admin/tickets:
    get:
      description: List all tickets without user scoping. Requires system admin authorization.
      tags:
      - Tickets
      summary: List All Tickets (Admin)
      operationId: list_all_tickets
      parameters:
      - description: filter by target entity ID
        name: targetEntityId
        in: query
        schema:
          type: string
      - description: filter by target entity type
        name: targetEntityType
        in: query
        schema:
          type: string
      - description: filter by ticket state (open, closed)
        name: state
        in: query
        schema:
          type: string
      - description: filter by ticket result (approved, rejected)
        name: result
        in: query
        schema:
          type: string
      responses:
        '200':
          description: list of all tickets
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TicketReport'
        '403':
          description: admin access required
  /tickets:
    get:
      description: List ticket-based approval workflows with optional filtering.
      tags:
      - Tickets
      summary: List Tickets
      operationId: list_tickets
      parameters:
      - description: filter by target entity ID
        name: targetEntityId
        in: query
        schema:
          type: string
      - description: filter by target entity type
        name: targetEntityType
        in: query
        schema:
          type: string
      - description: filter by ticket state (open, closed)
        name: state
        in: query
        schema:
          type: string
      - description: filter by ticket result (approved, rejected)
        name: result
        in: query
        schema:
          type: string
      - description: 'created: tickets you created. assigned: tickets you are assigned to approve. all: both, with relationship field.'
        name: view
        in: query
        schema:
          type: string
          enum:
          - created
          - assigned
          - all
          default: created
      responses:
        '200':
          description: list of tickets
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TicketReport'
        '400':
          description: bad request
  /tickets/stage/gating:
    post:
      description: 'Stage a gating ticket with artifact details before deployment.

        CI/CD pipelines call this to register an artifact so that the deployment

        protection handler can look it up by workflow run ID.'
      tags:
      - Tickets
      summary: Stage Gating Ticket
      operationId: stage_gating_ticket
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StageGatingTicketRequest'
        required: true
      responses:
        '201':
          description: gating ticket staged
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TicketReport'
        '400':
          description: bad request
  /tickets/{uuid}:
    get:
      description: Fetch a single ticket with inline conditions.
      tags:
      - Tickets
      summary: Get Ticket
      operationId: get_ticket
      parameters:
      - description: ticket UUID
        name: uuid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: ticket details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TicketReport'
        '400':
          description: bad request
  /tickets/{uuid}/activities:
    get:
      description: List activities (approvals, denials, comments) for a ticket.
      tags:
      - Tickets
      summary: List Ticket Activities
      operationId: list_ticket_activities
      parameters:
      - description: ticket UUID
        name: uuid
        in: path
        required: true
        schema:
          type: string
      - description: filter by activity type
        name: activityType
        in: query
        schema:
          type: string
      - description: filter by condition ID
        name: conditionId
        in: query
        schema:
          type: string
      - description: filter by actor
        name: actor
        in: query
        schema:
          type: string
      responses:
        '200':
          description: list of activities
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ActivityReport'
        '400':
          description: bad request
    post:
      description: Submit an activity (approval, denial, comment) on a ticket. DB triggers handle condition evaluation, ticket completion, and entity activation.
      tags:
      - Tickets
      summary: Submit Ticket Activity
      operationId: submit_ticket_activity
      parameters:
      - description: ticket UUID
        name: uuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitActivityRequest'
        required: true
      responses:
        '201':
          description: activity submitted
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: bad request
  /tickets/{uuid}/conditions:
    get:
      description: List conditions for a ticket.
      tags:
      - Tickets
      summary: List Ticket Conditions
      operationId: list_ticket_conditions
      parameters:
      - description: ticket UUID
        name: uuid
        in: path
        required: true
        schema:
          type: string
      - description: filter by condition type
        name: conditionType
        in: query
        schema:
          type: string
      - description: filter by condition status
        name: status
        in: query
        schema:
          type: string
      responses:
        '200':
          description: list of conditions
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ConditionReport'
        '400':
          description: bad request
  /tickets/{uuid}/refresh:
    post:
      description: Re-resolve the ticket's approver snapshot against current permissions and return the refreshed ticket. The UI calls this after an approval fails with code F_30004 (approver state stale).
      tags:
      - Tickets
      summary: Refresh Ticket Approvers
      operationId: refresh_ticket
      parameters:
      - description: ticket UUID
        name: uuid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: refreshed ticket
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TicketReport'
        '400':
          description: bad request
components:
  schemas:
    ConditionReport:
      type: object
      x-go-name: swagConditionReport
      x-go-package: github.com/fianulabs/core/v2/server/consulta/routes
    TicketReport:
      type: object
      x-go-name: swagTicketReport
      x-go-package: github.com/fianulabs/core/v2/server/consulta/routes
    StageGatingTicketRequest:
      type: object
      x-go-name: swagStageGatingTicketRequest
      x-go-package: github.com/fianulabs/core/v2/server/consulta/routes
    SubmitActivityRequest:
      type: object
      x-go-name: swagSubmitActivityRequest
      x-go-package: github.com/fianulabs/core/v2/server/consulta/routes
    ActivityReport:
      type: object
      x-go-name: swagActivityReport
      x-go-package: github.com/fianulabs/core/v2/server/consulta/routes
  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