Overfit Insights API
Manage insights. Create, update, delete, or retrieve insight details.
Manage insights. Create, update, delete, or retrieve insight details.
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/overfit-de:overfit-de-insights-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:
title: 'Overfit : Revolutionizing Data Retrieval Insights API'
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: Insights
description: Manage insights. Create, update, delete, or retrieve insight details.
paths:
/insight:
get:
tags:
- Insights
summary: Get Insights
description: Get all insights for a given user. User is identified by the token.
operationId: get_insights_insight_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/Insight'
type: array
title: Response Get Insights Insight Get
security:
- OpenIdConnect: []
- APIKeyHeader: []
post:
tags:
- Insights
summary: Create Insight
description: Create a new insight. Accepts InsightCreate Schema as input.
operationId: create_insight_insight_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/InsightCreate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Insight'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- OpenIdConnect: []
- APIKeyHeader: []
/insight/{insight_id}:
patch:
tags:
- Insights
summary: Update Insight
description: Update a insight. Accepts InsightUpdate Schema as input.
operationId: update_insight_insight__insight_id__patch
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: insight_id
in: path
required: true
schema:
type: string
title: Insight Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InsightUpdate'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Insight'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Insights
summary: Delete Insight
description: Delete a insight. Accepts Insight ID (ins_) as input.
operationId: delete_insight_insight__insight_id__delete
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: insight_id
in: path
required: true
schema:
type: string
title: Insight Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Insights
summary: Get Insight
description: Get a insight by its ID. Accepts Insight ID (ins_) as input.
operationId: get_insight_insight__insight_id__get
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: insight_id
in: path
required: true
schema:
type: string
title: Insight Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Insight'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/insight/{insight_id}/share/:
post:
tags:
- Insights
summary: Share Insight
description: 'Adds user to share of the insight via V2 company access.
Token/api-key providing user must be owner of the insight.'
operationId: share_insight_insight__insight_id__share__post
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: insight_id
in: path
required: true
schema:
type: string
title: Insight Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Share'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Insights
summary: Unshare Insight
description: 'Removes user from share of the insight via V2 company access.
Token/api-key providing user must be owner of the insight.'
operationId: unshare_insight_insight__insight_id__share__delete
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: insight_id
in: path
required: true
schema:
type: string
title: Insight Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Share'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Insights
summary: Get Shared Users
description: 'Get shared users (company members) of the insight owner.
Token/api-key providing user must be owner of the insight.
Returns in InsightShare format for backward compatibility.'
operationId: get_shared_users_insight__insight_id__share__get
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: insight_id
in: path
required: true
schema:
type: string
title: Insight Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/InsightShare'
title: Response Get Shared Users Insight Insight Id Share Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
Source:
properties:
id:
type: string
title: Id
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
insight_id:
type: string
title: Insight Id
time_created:
type: string
format: date-time
title: Time Created
source_type:
$ref: '#/components/schemas/SourceTypes'
public:
type: boolean
title: Public
default: false
keywords:
anyOf:
- type: string
- type: 'null'
title: Keywords
path:
type: string
title: Path
length:
type: integer
title: Length
type: object
required:
- id
- insight_id
- time_created
- source_type
- path
- length
title: Source
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
InsightUpdate:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
generative_model:
anyOf:
- type: string
- type: 'null'
title: Generative Model
temperature:
anyOf:
- type: number
- type: 'null'
title: Temperature
text_qa_template:
anyOf:
- type: string
- type: 'null'
title: Text Qa Template
top_k:
anyOf:
- type: integer
- type: 'null'
title: Top K
additionalProperties: false
type: object
title: InsightUpdate
InsightShare:
properties:
sub:
type: string
format: uuid
title: Sub
time_created:
type: string
format: date-time
title: Time Created
type: object
required:
- sub
- time_created
title: InsightShare
SourceTypes:
type: string
enum:
- WEBSITE
- REMOTE_DOCUMENT
- SEARCH
- DOCUMENT_UPLOAD
title: SourceTypes
InsightCreate:
properties:
name:
type: string
maxLength: 255
minLength: 1
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
embedding_model:
type: string
title: Embedding Model
default: text-embedding-3-small
generative_model:
type: string
title: Generative Model
default: gpt-4o-mini
temperature:
type: number
title: Temperature
default: 0.3
text_qa_template:
anyOf:
- type: string
- type: 'null'
title: Text Qa Template
top_k:
type: integer
title: Top K
default: 5
public:
anyOf:
- type: boolean
- type: 'null'
title: Public
insight_params:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Insight Params
additionalProperties: false
type: object
required:
- name
title: InsightCreate
examples:
- description: RAG over EU regulation documents
embedding_model: text-embedding-3-small
generative_model: gpt-4o-mini
name: EU Regulation Insight
temperature: 0.3
top_k: 5
Insight:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
embedding_model:
type: string
title: Embedding Model
generative_model:
type: string
title: Generative Model
temperature:
type: number
title: Temperature
text_qa_template:
anyOf:
- type: string
- type: 'null'
title: Text Qa Template
top_k:
type: integer
title: Top K
default: 5
vector_store_id:
type: string
title: Vector Store Id
time_created:
type: string
format: date-time
title: Time Created
sub:
type: string
format: uuid
title: Sub
sources:
items:
$ref: '#/components/schemas/Source'
type: array
title: Sources
default: []
type: object
required:
- id
- name
- embedding_model
- generative_model
- temperature
- vector_store_id
- time_created
- sub
title: Insight
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
Share:
properties:
sub_to_share:
type: string
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
title: Sub To Share
description: UUID string that must match the standard UUID format
examples:
- 75588808-58dc-48fd-9bf8-6ad1deffa1d5
type: object
required:
- sub_to_share
title: Share
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