Overfit Aithra API
Operations regarding the Aithra graphs (get,create). They still occure on graph operations but non-aithra graphs dont appear on this operations.
Operations regarding the Aithra graphs (get,create). They still occure on graph operations but non-aithra graphs dont appear on this operations.
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-aithra-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 Insights: Revolutionizing Data Retrieval Aithra 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: aithra
description: Operations regarding the Aithra graphs (get,create). They still occure on graph operations but non-aithra graphs dont appear on this operations.
paths:
/aithra:
get:
tags:
- aithra
summary: Get Aithras
description: Get all Aithra_graphs.
operationId: get_aithras_aithra_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/AithraGraph'
type: array
title: Response Get Aithras Aithra Get
security:
- OpenIdConnect: []
- APIKeyHeader: []
post:
tags:
- aithra
summary: Create Aithra
description: 'Create a new AithraGraph.
- aithra_linkedin_interactive : LinkedIn post pipeline
- aithra_letter_generator : full letter pipeline (research + synergy + letter)
- aithra_letter_generator_proof_check : proof-check variant
- aithra_dataset_facts : facts-only research pipeline (research/scrape/contacts, no synergy/letter)
Start with POST /aithra/{id}. For auto mode pass ?url=...&prompt=... on the start request.'
operationId: create_aithra_aithra_post
requestBody:
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/AithraLinkedInInteractiveCreate'
- $ref: '#/components/schemas/AithraLetterGeneratorCreate'
- $ref: '#/components/schemas/AithraLetterGeneratorProofCheckCreate'
- $ref: '#/components/schemas/AithraDatasetFactsCreate'
title: Create Schema
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AithraGraph'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- OpenIdConnect: []
- APIKeyHeader: []
/aithra/{aithra_id}:
patch:
tags:
- aithra
summary: Update Aithra
description: 'Update the AithraGraph. The aithra_id is the same.
You will get a new graph_id, the old one will be deleted.'
operationId: update_aithra_aithra__aithra_id__patch
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: aithra_id
in: path
required: true
schema:
type: string
title: Aithra Id
requestBody:
required: true
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/AithraLinkedInInteractiveCreate'
- $ref: '#/components/schemas/AithraLetterGeneratorCreate'
- $ref: '#/components/schemas/AithraDatasetFactsCreate'
title: Update Schema
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AithraGraph'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- aithra
summary: Delete Aithra
description: Delete the aithra graph and the corresponding graph.
operationId: delete_aithra_aithra__aithra_id__delete
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: aithra_id
in: path
required: true
schema:
type: string
title: Aithra Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- aithra
summary: Get Aithra
description: Get a AithraGraph by its aithra_id (ait_)
operationId: get_aithra_aithra__aithra_id__get
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: aithra_id
in: path
required: true
schema:
type: string
title: Aithra Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AithraGraph'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- aithra
summary: Aithra Start
description: 'Start a aithra graph.
This starts from the predefined starting node. This will create a new configuration so it instanciates a complete new workflow and does not remember any prior runs.
For letter_generator type, provide company_data with the company information.
For linkedin types, optionally provide url and prompt to run in auto mode (skips manual input).'
operationId: aithra_start_aithra__aithra_id__post
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: aithra_id
in: path
required: true
schema:
type: string
title: Aithra Id
- name: url
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Url
- name: prompt
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Prompt
requestBody:
content:
application/json:
schema:
anyOf:
- type: object
additionalProperties: true
- type: 'null'
title: Company Data
responses:
'200':
description: Successful Response
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/GraphConfigFinished'
- $ref: '#/components/schemas/GraphConfigDecisionRequired'
- $ref: '#/components/schemas/GraphConfigWrittenInputRequired'
- $ref: '#/components/schemas/GraphConfigTokenRequried'
title: Response Aithra Start Aithra Aithra Id Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/aithra/{aithra_id}/graph_config:
get:
tags:
- aithra
summary: Get Aithra Configs
description: Get all graph configurations from aithra for the user identified by the token or api_key.
operationId: get_aithra_configs_aithra__aithra_id__graph_config_get
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: aithra_id
in: path
required: true
schema:
type: string
title: Aithra Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/GraphConfigData'
title: Response Get Aithra Configs Aithra Aithra Id Graph Config Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/aithra/{aithra_id}/start_and_run:
post:
tags:
- aithra
summary: Aithra Start And Run
description: 'Start and run aithra graph to completion for letter_generator type.
This endpoint creates a new configuration, starts it, sends the company data, and waits for completion.
Returns the complete results including the generated letter and all process data.
Company data should include: company_name, company_street, company_zip, company_city,
and optionally: company_website, branche, description'
operationId: aithra_start_and_run_aithra__aithra_id__start_and_run_post
security:
- OpenIdConnect: []
- APIKeyHeader: []
parameters:
- name: aithra_id
in: path
required: true
schema:
type: string
title: Aithra Id
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: true
title: Company Data
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Aithra Start And Run Aithra Aithra Id Start And Run Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
MessageRole:
type: string
enum:
- system
- user
- assistant
- function
title: MessageRole
AithraGraph:
properties:
id:
type: string
title: Id
graph_id:
type: string
title: Graph Id
type:
type: string
enum:
- aithra_linkedin_interactive
- aithra_linkedin_url
- aithra_linkedin_auto
- aithra_twitter
- aithra_email
- aithra_letter_generator
- aithra_letter_generator_proof_check
- aithra_dataset_facts
title: Type
sub:
type: string
title: Sub
create_json:
anyOf:
- $ref: '#/components/schemas/AithraLinkedInInteractiveCreate'
- $ref: '#/components/schemas/AithraEmailCreate'
- $ref: '#/components/schemas/AithraLetterGeneratorCreate'
- $ref: '#/components/schemas/AithraLetterGeneratorProofCheckCreate'
- $ref: '#/components/schemas/AithraDatasetFactsCreate'
title: Create Json
time_created:
type: string
format: date-time
title: Time Created
type: object
required:
- id
- graph_id
- type
- sub
- create_json
- time_created
title: AithraGraph
AithraEmailCreate:
properties:
type:
type: string
const: aithra_email
title: Type
email:
type: string
pattern: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
title: Email
system_prompt:
anyOf:
- type: string
- type: 'null'
title: System Prompt
user_prompt:
anyOf:
- type: string
- type: 'null'
title: User Prompt
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
type: object
required:
- type
- email
title: AithraEmailCreate
AithraDatasetFactsCreate:
properties:
type:
type: string
const: aithra_dataset_facts
title: Type
default: aithra_dataset_facts
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
llm_provider:
anyOf:
- type: string
- type: 'null'
title: Llm Provider
default: mistral
type: object
title: AithraDatasetFactsCreate
description: 'Facts-only Aithra: research/scrape/contact extraction without
synergy analysis, letter generation, QA grading, or letter-DB persistence.
Consumed by the `dataset` entity to fill Tier A company facts; the lens
layer (scoring/synergy/perspective) is owned downstream, not here.
Default llm_provider is mistral.'
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
AithraLinkedInInteractiveCreate:
properties:
type:
type: string
const: aithra_linkedin_interactive
title: Type
default: aithra_linkedin_interactive
linkedin_urn:
anyOf:
- type: string
pattern: ^urn:li:(organization|person):[a-zA-Z0-9_-]+$
- type: 'null'
title: Linkedin Urn
client:
type: string
enum:
- consumer
- business
title: Client
default: consumer
system_prompt:
anyOf:
- type: string
- type: 'null'
title: System Prompt
user_prompt:
anyOf:
- type: string
- type: 'null'
title: User Prompt
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
language:
anyOf:
- type: string
- type: 'null'
title: Language
default: en
type: object
title: AithraLinkedInInteractiveCreate
AithraLetterGeneratorProofCheckCreate:
properties:
type:
type: string
const: aithra_letter_generator_proof_check
title: Type
default: aithra_letter_generator_proof_check
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
type: object
title: AithraLetterGeneratorProofCheckCreate
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
AithraLetterGeneratorCreate:
properties:
type:
type: string
const: aithra_letter_generator
title: Type
default: aithra_letter_generator
name:
anyOf:
- type: string
- type: 'null'
title: Name
description:
anyOf:
- type: string
- type: 'null'
title: Description
llm_provider:
anyOf:
- type: string
- type: 'null'
title: Llm Provider
type: object
title: AithraLetterGeneratorCreate
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