Unisson knowledge-base API

The knowledge-base API from Unisson — 15 operation(s) for knowledge-base.

Operations 27

GET /api/v1/knowledge-base/workflow-tools List Workflow Tools #
GET /api/v1/knowledge-base/features List Features #
GET /api/v1/knowledge-base/features/{feature_id} Get Feature #
PATCH /api/v1/knowledge-base/features/{feature_id} Update Feature #
DELETE /api/v1/knowledge-base/features/{feature_id} Delete Feature #
GET /api/v1/knowledge-base/workflows List Workflows #
GET /api/v1/knowledge-base/workflows/{workflow_id} Get Workflow #
PATCH /api/v1/knowledge-base/workflows/{workflow_id} Update Workflow #
DELETE /api/v1/knowledge-base/workflows/{workflow_id} Delete Workflow #
GET /api/v1/knowledge-base/summary Get Summary #
POST /api/v1/knowledge-base/draft-workflows/generate Generate Draft Workflow Endpoint #
GET /api/v1/knowledge-base/draft-workflows List Draft Workflows #
POST /api/v1/knowledge-base/draft-workflows Create Draft Workflow #
GET /api/v1/knowledge-base/draft-workflows/{draft_id} Get Draft Workflow #
PATCH /api/v1/knowledge-base/draft-workflows/{draft_id} Update Draft Workflow #
DELETE /api/v1/knowledge-base/draft-workflows/{draft_id} Delete Draft Workflow #
GET /api/v1/knowledge-base/company-knowledge List Company Knowledge #
POST /api/v1/knowledge-base/company-knowledge Create Company Knowledge #
GET /api/v1/knowledge-base/company-knowledge/{entry_id} Get Company Knowledge #
PATCH /api/v1/knowledge-base/company-knowledge/{entry_id} Update Company Knowledge #
DELETE /api/v1/knowledge-base/company-knowledge/{entry_id} Delete Company Knowledge #
POST /api/v1/knowledge-base/company-knowledge/import/file Import Company Knowledge From File #
POST /api/v1/knowledge-base/company-knowledge/import/google-doc Import Company Knowledge From Google Doc #
GET /api/v1/knowledge-base/agent-insights List Agent Insights #
GET /api/v1/knowledge-base/agent-insights/{insight_id} Get Agent Insight #
PATCH /api/v1/knowledge-base/agent-insights/{insight_id} Update Agent Insight #
DELETE /api/v1/knowledge-base/agent-insights/{insight_id} Delete Agent Insight #

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/unisson-knowledge-base-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

unisson-knowledge-base-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Unisson agent-evals Knowledge Base API
  version: 1.0.0
servers:
- url: https://api.unisson.ai
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: knowledge-base
paths:
  /api/v1/knowledge-base/workflow-tools:
    get:
      tags:
      - knowledge-base
      summary: List Workflow Tools
      description: Return the catalog of tools that can be assigned to workflows.
      operationId: list_workflow_tools_api_v1_knowledge_base_workflow_tools_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/knowledge-base/features:
    get:
      tags:
      - knowledge-base
      summary: List Features
      description: List all extracted features for the organization.
      operationId: list_features_api_v1_knowledge_base_features_get
      security:
      - HTTPBearer: []
      parameters:
      - name: product_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: Filter by product
          title: Product Id
        description: Filter by product
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 100
            minimum: 1
          - type: 'null'
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KBFeatureResponse'
                title: Response List Features Api V1 Knowledge Base Features Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/features/{feature_id}:
    get:
      tags:
      - knowledge-base
      summary: Get Feature
      description: Get a specific feature by ID.
      operationId: get_feature_api_v1_knowledge_base_features__feature_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: feature_id
        in: path
        required: true
        schema:
          type: string
          title: Feature Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBFeatureResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - knowledge-base
      summary: Update Feature
      description: Update a feature.
      operationId: update_feature_api_v1_knowledge_base_features__feature_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: feature_id
        in: path
        required: true
        schema:
          type: string
          title: Feature Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBFeatureUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBFeatureResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - knowledge-base
      summary: Delete Feature
      description: Delete a specific feature (soft delete).
      operationId: delete_feature_api_v1_knowledge_base_features__feature_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: feature_id
        in: path
        required: true
        schema:
          type: string
          title: Feature Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/workflows:
    get:
      tags:
      - knowledge-base
      summary: List Workflows
      description: List all extracted workflows for the organization.
      operationId: list_workflows_api_v1_knowledge_base_workflows_get
      security:
      - HTTPBearer: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 100
            minimum: 1
          - type: 'null'
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KBWorkflowResponse'
                title: Response List Workflows Api V1 Knowledge Base Workflows Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/workflows/{workflow_id}:
    get:
      tags:
      - knowledge-base
      summary: Get Workflow
      description: Get a specific workflow by ID.
      operationId: get_workflow_api_v1_knowledge_base_workflows__workflow_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: workflow_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBWorkflowResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - knowledge-base
      summary: Update Workflow
      description: Update a workflow (name, description, additional_info, inputs).
      operationId: update_workflow_api_v1_knowledge_base_workflows__workflow_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: workflow_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workflow Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBWorkflowUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBWorkflowResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - knowledge-base
      summary: Delete Workflow
      description: 'Delete a specific workflow (soft delete).


        Also soft-deletes associated GeneratedAPI and NetworkRecordings.'
      operationId: delete_workflow_api_v1_knowledge_base_workflows__workflow_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: workflow_id
        in: path
        required: true
        schema:
          type: string
          title: Workflow Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/summary:
    get:
      tags:
      - knowledge-base
      summary: Get Summary
      description: Get a summary of the knowledge base.
      operationId: get_summary_api_v1_knowledge_base_summary_get
      security:
      - HTTPBearer: []
      parameters:
      - name: product_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: Filter counts by product
          title: Product Id
        description: Filter counts by product
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBSummary'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/draft-workflows/generate:
    post:
      tags:
      - knowledge-base
      summary: Generate Draft Workflow Endpoint
      description: Generate a draft workflow from a user description using LLM.
      operationId: generate_draft_workflow_endpoint_api_v1_knowledge_base_draft_workflows_generate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateDraftWorkflowRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateDraftWorkflowResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/knowledge-base/draft-workflows:
    get:
      tags:
      - knowledge-base
      summary: List Draft Workflows
      description: List all draft workflows for the organization.
      operationId: list_draft_workflows_api_v1_knowledge_base_draft_workflows_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/KBDraftWorkflowResponse'
                type: array
                title: Response List Draft Workflows Api V1 Knowledge Base Draft Workflows Get
      security:
      - HTTPBearer: []
    post:
      tags:
      - knowledge-base
      summary: Create Draft Workflow
      description: 'Create a new draft workflow.


        Generates an LLM-based description automatically based on the workflow''s

        name and blocks.'
      operationId: create_draft_workflow_api_v1_knowledge_base_draft_workflows_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBDraftWorkflowCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBDraftWorkflowResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/knowledge-base/draft-workflows/{draft_id}:
    get:
      tags:
      - knowledge-base
      summary: Get Draft Workflow
      description: Get a specific draft workflow by ID.
      operationId: get_draft_workflow_api_v1_knowledge_base_draft_workflows__draft_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: draft_id
        in: path
        required: true
        schema:
          type: string
          title: Draft Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBDraftWorkflowResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - knowledge-base
      summary: Update Draft Workflow
      description: 'Update a draft workflow.


        When name or blocks are updated, a new LLM-based description is generated

        automatically to reflect the workflow''s purpose.'
      operationId: update_draft_workflow_api_v1_knowledge_base_draft_workflows__draft_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: draft_id
        in: path
        required: true
        schema:
          type: string
          title: Draft Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBDraftWorkflowUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBDraftWorkflowResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - knowledge-base
      summary: Delete Draft Workflow
      description: Delete a draft workflow (soft delete).
      operationId: delete_draft_workflow_api_v1_knowledge_base_draft_workflows__draft_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: draft_id
        in: path
        required: true
        schema:
          type: string
          title: Draft Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/company-knowledge:
    get:
      tags:
      - knowledge-base
      summary: List Company Knowledge
      description: List all company knowledge entries for the organization.
      operationId: list_company_knowledge_api_v1_knowledge_base_company_knowledge_get
      security:
      - HTTPBearer: []
      parameters:
      - name: product_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: Filter by product
          title: Product Id
        description: Filter by product
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KBCompanyKnowledgeResponse'
                title: Response List Company Knowledge Api V1 Knowledge Base Company Knowledge Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - knowledge-base
      summary: Create Company Knowledge
      description: Create a new company knowledge entry.
      operationId: create_company_knowledge_api_v1_knowledge_base_company_knowledge_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBCompanyKnowledgeCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCompanyKnowledgeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/company-knowledge/{entry_id}:
    get:
      tags:
      - knowledge-base
      summary: Get Company Knowledge
      description: Get a specific company knowledge entry by ID.
      operationId: get_company_knowledge_api_v1_knowledge_base_company_knowledge__entry_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: entry_id
        in: path
        required: true
        schema:
          type: string
          title: Entry Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCompanyKnowledgeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - knowledge-base
      summary: Update Company Knowledge
      description: Update a company knowledge entry (title, description).
      operationId: update_company_knowledge_api_v1_knowledge_base_company_knowledge__entry_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: entry_id
        in: path
        required: true
        schema:
          type: string
          title: Entry Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBCompanyKnowledgeUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBCompanyKnowledgeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - knowledge-base
      summary: Delete Company Knowledge
      description: Delete a company knowledge entry (soft delete).
      operationId: delete_company_knowledge_api_v1_knowledge_base_company_knowledge__entry_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: entry_id
        in: path
        required: true
        schema:
          type: string
          title: Entry Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/company-knowledge/import/file:
    post:
      tags:
      - knowledge-base
      summary: Import Company Knowledge From File
      description: 'Import company knowledge entries by uploading a file.


        Supports .txt, .md, .pdf, .docx files. The file content is parsed

        through an LLM to extract company knowledge entries.'
      operationId: import_company_knowledge_from_file_api_v1_knowledge_base_company_knowledge_import_file_post
      security:
      - HTTPBearer: []
      parameters:
      - name: product_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
          description: Product to assign imported entries to
          title: Product Id
        description: Product to assign imported entries to
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_import_company_knowledge_from_file_api_v1_knowledge_base_company_knowledge_import_file_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KBCompanyKnowledgeResponse'
                title: Response Import Company Knowledge From File Api V1 Knowledge Base Company Knowledge Import File Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/company-knowledge/import/google-doc:
    post:
      tags:
      - knowledge-base
      summary: Import Company Knowledge From Google Doc
      description: 'Import company knowledge entries from a Google Doc.


        Fetches the document content from Google Drive and parses it

        through an LLM to extract company knowledge entries.'
      operationId: import_company_knowledge_from_google_doc_api_v1_knowledge_base_company_knowledge_import_google_doc_post
      security:
      - HTTPBearer: []
      parameters:
      - name: file_id
        in: query
        required: true
        schema:
          type: string
          description: Google Drive file ID
          title: File Id
        description: Google Drive file ID
      - name: product_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
          description: Product to assign imported entries to
          title: Product Id
        description: Product to assign imported entries to
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KBCompanyKnowledgeResponse'
                title: Response Import Company Knowledge From Google Doc Api V1 Knowledge Base Company Knowledge Import Google Doc Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/agent-insights:
    get:
      tags:
      - knowledge-base
      summary: List Agent Insights
      description: List all agent insights for the organization.
      operationId: list_agent_insights_api_v1_knowledge_base_agent_insights_get
      security:
      - HTTPBearer: []
      parameters:
      - name: product_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          description: Filter by product
          title: Product Id
        description: Filter by product
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KBAgentInsightResponse'
                title: Response List Agent Insights Api V1 Knowledge Base Agent Insights Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/knowledge-base/agent-insights/{insight_id}:
    get:
      tags:
      - knowledge-base
      summary: Get Agent Insight
      description: Get a specific agent insight by ID.
      operationId: get_agent_insight_api_v1_knowledge_base_agent_insights__insight_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: insight_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Insight Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBAgentInsightResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - knowledge-base
      summary: Update Agent Insight
      description: Update an agent insight (title, description, product_domain, category, is_pinned).
      operationId: update_agent_insight_api_v1_knowledge_base_agent_insights__insight_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: insight_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Insight Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBAgentInsightUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KBAgentInsightResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - knowledge-base
      summary: Delete Agent Insight
      description: Delete an agent insight (soft delete).
      operationId: delete_agent_insight_api_v1_knowledge_base_agent_insights__insight_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: insight_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Insight Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    KBWorkflowResponse:
      properties:
        name:
          type: string
          maxLength: 255
          title: Name
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        starting_url:
          anyOf:
          - type: string
            maxLength: 2048
          - type: 'null'
          title: Starting Url
        steps:
          items:
            $ref: '#/components/schemas/WorkflowStep'
          type: array
          title: Steps
          default: []
        additional_info:
          anyOf:
          - type: string
          - type: 'null'
          title: Additional Info
        inputs:
          items:
            $ref: '#/components/schemas/WorkflowInput'
          type: array
          title: Inputs
          default: []
        linked_workflows:
          anyOf:
          - items:
              $ref: '#/components/schemas/LinkedWorkflow'
            type: array
          - type: 'null'
          title: Linked Workflows
        tools:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tools
        output_schema:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Output Schema
        task_type:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Task Type
          description: API exposure slug from app.core.task_types. When set, the workflow is callable via POST /external/runs with this task_type. Unique per organization.
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        discovered_by_run_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Discovered By Run Id
        run_count:
          type: integer
          title: Run Count
          default: 0
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        has_api_mode:
          type: boolean
          title: Has Api Mode
          default: false
        api_mode_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Api Mode Status
        api_mode_input_schema:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Api Mode Input Schema
        api_mode_output_schema:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Api Mode Output Schema
      type: object
      required:
      - name
      - id
      - organization_id
      - created_at
      - updated_at
      title: KBWorkflowResponse
      description: Schema for KB workflow response.
    KBCompanyKnowledgeResponse:
      properties:
        title:
          type: string
          maxLength: 255
          title: Title
        description:
          type: string
          title: Description
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        product_id:
          type: string
          format: uuid
          title: Product Id
        is_pinned:
          type: boolean
          title: Is Pinned
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - title
      - description
      - id
      - organization_id
      - product_id
      - is_pinned
      - created_at
      - updated_at
      title: KBCompanyKnowledgeResponse
      description: Schema for company knowledge response.
    KBSummary:
      properties:
        features_count:
          type: integer
          title: Features Count
        workflows_count:
          type: integer
          title: Workflows Count
        explorations_count:
          type: integer
          title: Explorations Count
          default: 0
        company_knowledge_count:
          type: integer
          title: Company Knowledge Count
          default: 0
        agent_insights_count:
          type: integer
          title: Agent Insights Count
          default: 0
      type: object
      required:
      - features_count
      - workflows_count
      title: KBSummary
      description: Summary of KB contents.
    WorkflowStep:
      properties:
        step_number:
          type: integer
          title: Step Number
        action:
          type: string
          title: Action
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
        skips_to_step:
          anyOf:
          - type: integer
          - type: 'null'
          title: Skips To Step
        notes:
          anyOf:
          - type: string
          - type: 'null'
          title: Notes
        step_type:
          type: string
          enum:
          - cua
          - chat
          title: Step Type
          default: cua
        chat_tool:
          anyOf:
          - type: string
          - type: 'null'
          title: Chat Tool
        chat_args:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Chat Args
      t

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/unisson/refs/heads/main/openapi/unisson-knowledge-base-api-openapi.yml