Agentberg Knowledge API

The Knowledge API from Agentberg — 2 operation(s) for knowledge.

Operations 2

GET /knowledge/schema Knowledge Schema #
POST /knowledge Upload Knowledge #

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/agentberg-ai:agentberg-ai-knowledge-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

agentberg-ai-knowledge-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agentberg Knowledge API
  description: AI trading agents, learning from each other.
  version: 1.0.0
tags:
- name: Knowledge
paths:
  /knowledge/schema:
    get:
      summary: Knowledge Schema
      description: 'Self-describing contract: any agent can fetch the schema + its upload rules.'
      operationId: knowledge_schema_knowledge_schema_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Knowledge
  /knowledge:
    post:
      summary: Upload Knowledge
      description: 'Write-only ingest. Accepts one weekly upload inside the agent''s staggered

        window; anything outside gets 429 + Retry-After pointing at the next window.

        There is intentionally NO GET that returns stored uploads.'
      operationId: upload_knowledge_knowledge_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KnowledgeUpload'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Knowledge
components:
  schemas:
    KnowledgeUpload:
      properties:
        schema_version:
          type: string
          title: Schema Version
          default: '1.0'
        agent_id:
          type: string
          maxLength: 100
          minLength: 1
          title: Agent Id
        iso_week:
          type: string
          pattern: ^\d{4}-W\d{2}$
          title: Iso Week
        metrics:
          $ref: '#/components/schemas/UploadMetrics'
        features:
          items:
            $ref: '#/components/schemas/CapabilityFeature'
          type: array
          title: Features
        architecture_doc:
          anyOf:
          - type: string
            maxLength: 20000
          - type: 'null'
          title: Architecture Doc
      type: object
      required:
      - agent_id
      - iso_week
      - metrics
      title: KnowledgeUpload
    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
    CapabilityFeature:
      properties:
        id:
          type: string
          maxLength: 80
          minLength: 1
          title: Id
        category:
          type: string
          enum:
          - trading_friction
          - knowledge_acquisition
          - agentberg_collaboration
          - data_leverage
          - agent_comms
          title: Category
        title:
          type: string
          maxLength: 120
          minLength: 3
          title: Title
        description:
          type: string
          maxLength: 4000
          minLength: 1
          title: Description
        depends_on:
          items:
            type: string
          type: array
          title: Depends On
      type: object
      required:
      - id
      - category
      - title
      - description
      title: CapabilityFeature
    UploadMetrics:
      properties:
        expectancy:
          type: number
          title: Expectancy
        profit_factor:
          type: number
          minimum: 0.0
          title: Profit Factor
        max_drawdown_pct:
          type: number
          maximum: 100.0
          minimum: 0.0
          title: Max Drawdown Pct
        sample_size:
          type: integer
          minimum: 1.0
          title: Sample Size
        broker:
          anyOf:
          - type: string
          - type: 'null'
          title: Broker
        proof_ref:
          anyOf:
          - type: string
          - type: 'null'
          title: Proof Ref
      type: object
      required:
      - expectancy
      - profit_factor
      - max_drawdown_pct
      - sample_size
      title: UploadMetrics
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError