Overfit Graph Configs API

Operations regarding graph configurations. Configs are the /run/ of a graph, they contain the state of the graph and the history of the graph.

GitHub OpenAPI

Operations 5

GET /graph_config/{graph_id} Get Graph Matchings By Graph Id #
GET /graph_config/{graph_config_id}/history Get Graph Config History #
GET /graph_config/{graph_config_id}/state Get Graph Config State #
GET /graph_config/{graph_config_id}/transition_history Get Graph Config Transition History #
GET /graph_config/{graph_config_id}/latest_action Get Graph Matchings By Config Id Id #

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/overfit-de:overfit-de-graph-configs-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

overfit-de-graph-configs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'Overfit Insights: Revolutionizing Data Retrieval Graph…'
  description: '### Brought to you by _Overfit_


    **Overfit** is a sophisticated API server designed to enhance contextual information retrieval and workflow management. At its core, it provides a robust framework for handling contextualized requests and complex workflow orchestration.


    ### **Key Components of Overfit**


    #### **1. Insights Engine**

    The Insights Engine stands as the cornerstone of Overfit, delivering context-aware information processing through its innovative architecture. Sources serve as the fundamental building blocks, providing the contextual data that forms the knowledge foundation of the system. These Sources work in harmony with Questions - natural language queries that interface with our semantic search system, enabling precise and context-aware information retrieval through seamless LLM integration.


    #### **2. Graph System**

    The Graph System represents our approach to workflow orchestration, operating on two distinct levels. At its foundation lies the Graph Definition, where users craft their workflow structure through nodes and edges. This blueprint transforms into a Graph Configuration during execution, encompassing essential runtime elements such as chat history, graph state dictionary, and transition history, along with comprehensive runtime analytics.


    #### **3. Agent Framework**

    While Overfit maintains a fully implemented agent framework, we embrace a "less is more" philosophy in this domain. The system supports agent-based automation for specific use cases, but emphasizes direct insight retrieval as the primary means of interaction, offering a more streamlined and efficient approach to information processing.


    #### **4. Enterprise-Grade Security**

    Security stands as a foundational pillar of Overfit, implemented through a comprehensive OIDC authentication system utilizing JWT token management. Our integration with Keycloak ensures robust access control and security measures, providing enterprise-grade protection for all system interactions.


    ---

    Overfit | No human should be forced to do work that a machine can do.

    For more support write to us at mhermelschmidt@okns.de

    © 2024 Michael Hermelschmidt'
  contact:
    name: Michael Hermelschmidt
    email: mail@okns.de
  version: 1.7.1
tags:
- name: graph_configs
  description: Operations regarding graph configurations. Configs are the /run/ of a graph, they contain the state of the graph and the history of the graph.
paths:
  /graph_config/{graph_id}:
    get:
      tags:
      - graph_configs
      summary: Get Graph Matchings By Graph Id
      description: Get all graph configurations for a graph, they will be returned as matchings only showing the last match
      operationId: get_graph_matchings_by_graph_id_graph_config__graph_id__get
      security:
      - OpenIdConnect: []
      - APIKeyHeader: []
      parameters:
      - name: graph_id
        in: path
        required: true
        schema:
          type: string
          title: Graph Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GraphConfigData'
                title: Response Get Graph Matchings By Graph Id Graph Config  Graph Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /graph_config/{graph_config_id}/history:
    get:
      tags:
      - graph_configs
      summary: Get Graph Config History
      description: 'Get the user chat history identified by the graph_config_id.

        Choosable history_type between

        ''user'': LLM history, as seed for the user.

        ''interaction'': In and output of the interactions (interaction Nodes)

        ''all'': All messages in the chat history, shown nor not shown, inclusive all the messages by "side"-nodes.

        Default is ''interaction''.'
      operationId: get_graph_config_history_graph_config__graph_config_id__history_get
      security:
      - OpenIdConnect: []
      - APIKeyHeader: []
      parameters:
      - name: graph_config_id
        in: path
        required: true
        schema:
          type: string
          title: Graph Config Id
      - name: history_type
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - all
            - user
            - interaction
            type: string
          - type: 'null'
          default: interaction
          title: History Type
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MetisMessageEntry'
                title: Response Get Graph Config History Graph Config  Graph Config Id  History Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /graph_config/{graph_config_id}/state:
    get:
      tags:
      - graph_configs
      summary: Get Graph Config State
      description: Get the state dict of the graph configuration identified by the graph_config_id.
      operationId: get_graph_config_state_graph_config__graph_config_id__state_get
      security:
      - OpenIdConnect: []
      - APIKeyHeader: []
      parameters:
      - name: graph_config_id
        in: path
        required: true
        schema:
          type: string
          title: Graph Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Graph Config State Graph Config  Graph Config Id  State Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /graph_config/{graph_config_id}/transition_history:
    get:
      tags:
      - graph_configs
      summary: Get Graph Config Transition History
      description: Get the transition history of the graph configuration identified by the graph_config_id.
      operationId: get_graph_config_transition_history_graph_config__graph_config_id__transition_history_get
      security:
      - OpenIdConnect: []
      - APIKeyHeader: []
      parameters:
      - name: graph_config_id
        in: path
        required: true
        schema:
          type: string
          title: Graph Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                title: Response Get Graph Config Transition History Graph Config  Graph Config Id  Transition History Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /graph_config/{graph_config_id}/latest_action:
    get:
      tags:
      - graph_configs
      summary: Get Graph Matchings By Config Id Id
      description: Get the latest action of the graph configuration identified by the graph_config_id.
      operationId: get_graph_matchings_by_config_id_id_graph_config__graph_config_id__latest_action_get
      security:
      - OpenIdConnect: []
      - APIKeyHeader: []
      parameters:
      - name: graph_config_id
        in: path
        required: true
        schema:
          type: string
          title: Graph Config Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GraphConfigData'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MessageRole:
      type: string
      enum:
      - system
      - user
      - assistant
      - function
      title: MessageRole
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GraphConfigDecisionRequired:
      properties:
        type:
          type: string
          const: GraphDecisionRequired
          title: Type
          default: GraphDecisionRequired
        graph_id:
          type: string
          title: Graph Id
        graph_config_id:
          type: string
          title: Graph Config Id
        node_id:
          type: string
          title: Node Id
        node_config_id:
          type: string
          title: Node Config Id
        chat_history:
          items:
            $ref: '#/components/schemas/MetisMessageEntry'
          type: array
          title: Chat History
        question:
          anyOf:
          - type: string
          - type: 'null'
          title: Question
        possibilities:
          items:
            type: string
          type: array
          title: Possibilities
      type: object
      required:
      - graph_id
      - graph_config_id
      - node_id
      - node_config_id
      - chat_history
      - question
      - possibilities
      title: GraphConfigDecisionRequired
    GraphConfigTokenRequried:
      properties:
        type:
          type: string
          const: GraphTokenPermissionRequired
          title: Type
          default: GraphTokenPermissionRequired
        graph_id:
          type: string
          title: Graph Id
        graph_config_id:
          type: string
          title: Graph Config Id
        node_id:
          type: string
          title: Node Id
        node_config_id:
          type: string
          title: Node Config Id
        chat_history:
          items:
            $ref: '#/components/schemas/MetisMessageEntry'
          type: array
          title: Chat History
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
        url:
          type: string
          title: Url
      type: object
      required:
      - graph_id
      - graph_config_id
      - node_id
      - node_config_id
      - chat_history
      - message
      - url
      title: GraphConfigTokenRequried
    GraphConfigData:
      properties:
        graph_id:
          type: string
          title: Graph Id
        config_id:
          type: string
          title: Config Id
        latest_node:
          anyOf:
          - $ref: '#/components/schemas/GraphConfigDecisionRequired'
          - $ref: '#/components/schemas/GraphConfigFinished'
          - $ref: '#/components/schemas/GraphConfigWrittenInputRequired'
          - $ref: '#/components/schemas/GraphConfigTokenRequried'
          title: Latest Node
        time:
          type: string
          format: date-time
          title: Time
        state:
          anyOf:
          - type: string
          - type: 'null'
          title: State
        is_aithra:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Aithra
          default: false
        sub:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Sub
      type: object
      required:
      - graph_id
      - config_id
      - latest_node
      - time
      title: GraphConfigData
    GraphConfigWrittenInputRequired:
      properties:
        type:
          type: string
          const: GraphWrittenInputRequired
          title: Type
          default: GraphWrittenInputRequired
        graph_id:
          type: string
          title: Graph Id
        graph_config_id:
          type: string
          title: Graph Config Id
        node_id:
          type: string
          title: Node Id
        node_config_id:
          type: string
          title: Node Config Id
        chat_history:
          items:
            $ref: '#/components/schemas/MetisMessageEntry'
          type: array
          title: Chat History
        question:
          anyOf:
          - type: string
          - type: 'null'
          title: Question
      type: object
      required:
      - graph_id
      - graph_config_id
      - node_id
      - node_config_id
      - chat_history
      - question
      title: GraphConfigWrittenInputRequired
    GraphConfigFinished:
      properties:
        type:
          type: string
          const: GraphFinished
          title: Type
          default: GraphFinished
        graph_id:
          type: string
          title: Graph Id
        graph_config_id:
          type: string
          title: Graph Config Id
        node_id:
          type: string
          title: Node Id
        node_config_id:
          type: string
          title: Node Config Id
        chat_history:
          items:
            $ref: '#/components/schemas/MetisMessageEntry'
          type: array
          title: Chat History
        output_string:
          type: string
          title: Output String
      type: object
      required:
      - graph_id
      - graph_config_id
      - node_id
      - node_config_id
      - chat_history
      - output_string
      title: GraphConfigFinished
    MetisMessageEntry:
      properties:
        role:
          $ref: '#/components/schemas/MessageRole'
          default: system
        content:
          anyOf:
          - type: string
          - type: 'null'
          title: Content
          default: ''
        is_considered:
          type: boolean
          title: Is Considered
          default: false
        is_user_visible:
          type: boolean
          title: Is User Visible
          default: false
        is_interaction:
          type: boolean
          title: Is Interaction
          default: false
      type: object
      title: MetisMessageEntry
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    OpenIdConnect:
      type: openIdConnect
      openIdConnectUrl: https://auth.okns.de/realms/overfit-products/.well-known/openid-configuration
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key