Docs

LOGICBASIS / INFRASTRUCTURE

Infrastructure

The technical foundations and implementation of LogicBasis.

A.S.0 API

The A.S.0 API provides the cognitive execution of A.S.0 for external applications.

Developers can integrate A.S.0 into their own systems without having to manage its internal Core definition or model configuration.

Usage

The interface can be used in applications that require structured processing of thoughts, questions and decisions.

ApplicationUsage
Custom conversational interfacesA.S.0 as a cognitive counterpart within a custom-developed application
Decision-making processesClarification, structuring and contextual assessment of decision-related questions
Work environmentsProcessing and organising thoughts and unresolved questions

The integrating system is responsible for application design, user management and the storage of conversation data.

Technical Specification

PropertySpecification
SystemA.S.0
ModelGPT-4.1-mini
Planned modelGPT-6 Luna
ProtocolHTTPS
Data formatJSON
Language versionsGerman / English
Model configurationServer-side

The transition to GPT-6 Luna is scheduled for January 2027. The model used in production is determined by the relevant server configuration.

The public API does not provide a model selection option.

API-Key

API access is authenticated using a LogicBasis API key.

An API key is created in the personal account under Settings at app.logicbasis.ch.

One API key can be managed per account. The key is displayed only once when created and can subsequently be renewed or deactivated.

Open LogicBasis App ↗

Access to the API requires the appropriate entitlement. The API add-on can be activated when subscribing to a Room plan or at a later date.

Authentication

The key is sent in the HTTP header with each request.

HTTP
Authorization: Bearer YOUR_LOGICBASIS_API_KEY

The API key determines the associated plan and available request allowance.

Keys must not be stored or transmitted in publicly accessible client-side code. API integration should be handled by a server-side application.

Base URL

URL
https://app.logicbasis.ch

Endpoints

LanguageMethodEndpoint
GermanPOST/api/chat
EnglishPOST/api/chat-en

The language version is determined by the endpoint used.

Request Parameters

FieldTypeRequiredDescription
messagestringYesInput text for A.S.0

Request Example

HTTP / JSON
POST https://app.logicbasis.ch/api/chat
Authorization: Bearer YOUR_LOGICBASIS_API_KEY
Content-Type: application/json

{
  "message": "Ich möchte eine Entscheidung besser verstehen."
}

Response

FieldTypeDescription
replystringReturned response text
JSON
{
  "reply": "..."
}

The response is generated by A.S.0. Its content and length may vary depending on the input and plan.

Context

Each external request is processed without automatically carrying over conversation history.

Required context can be provided within message. A separate message array or persistent external session management is not currently provided.

JavaScript / Server

The following example shows a server-side request to the German-language A.S.0 API.

JavaScript
async function sendToAS0(message) {
  const response = await fetch(
    "https://app.logicbasis.ch/api/chat",
    {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.LOGICBASIS_API_KEY}`,
        "Content-Type": "application/json"
      },
      body: JSON.stringify({ message })
    }
  );

  const data = await response.json();

  if (!response.ok) {
    throw new Error(data.reply || `HTTP ${response.status}`);
  }

  return data.reply;
}

Environment

Environment
LOGICBASIS_API_KEY=YOUR_LOGICBASIS_API_KEY

The function accepts a message string and returns the value of reply.

For the English-language version, use /api/chat-en.

The example requires a server-side JavaScript environment with fetch() and process.env.

Plans

PlanRoom / MonthAPI / MonthTotal / MonthRequests / Month
StandardCHF 24.90CHF 20.00CHF 44.901'000
PlusCHF 49.90CHF 20.00CHF 69.905'000
EnterpriseCustomCustomOn requestCustom

API access is provided as an add-on to the corresponding Room plan.

Request allowances are reset on the 1st of each month.

Execution Limits

PlanMax. Output Tokens
Standard520
Plus900

Output limits are managed server-side and do not guarantee a particular response length.

Enterprise

Higher monthly request allowances can be agreed for Enterprise.

Pricing, capacity and access conditions are determined individually.

Enquiries: contact@logicbasis.ch

HTTP Status

CodeDescription
200Request answered by the API route
401Invalid API key
403Invalid API plan
429Monthly request allowance reached
503Access validation or request reservation failed

Error Response

Access validation error messages are returned in the reply field.

{
  "reply": "Ungültiger API-Key."
}

Current Limitations

The current implementation may return certain validation and execution errors with HTTP 200. The HTTP status alone therefore does not always confirm successful model execution.

Accepted requests count towards the monthly allowance before model execution.

Market Documentation

The technical interfaces of LogicBasis Market are documented separately.

Open Market Docs ↗