dialogbrain-com AI Filters API

The ai-filters API from dialogbrain-com — 3 operation(s) for ai-filters.

Operations 5

GET /api/ai-filters List Filters #
POST /api/ai-filters Create Filter #
PATCH /api/ai-filters/{filter_id} Update Filter #
DELETE /api/ai-filters/{filter_id} Delete Filter #
POST /api/ai-filters/{filter_id}/test Test Filter #

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/dialogbrain-com:dialogbrain-com-ai-filters-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

dialogbrain-com-ai-filters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DialogBrain v2 API Gateway AI Filters API
  description: Clean refactored API gateway with minimal vertical slice
  version: 0.1.0
tags:
- name: ai-filters
paths:
  /api/ai-filters:
    get:
      tags:
      - ai-filters
      summary: List Filters
      description: List all AI filters for the workspace.
      operationId: list_filters_api_ai_filters_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - ai-filters
      summary: Create Filter
      description: Create a new AI filter. Embeds description via Voyage-3-Lite.
      operationId: create_filter_api_ai_filters_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateFilterRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/ai-filters/{filter_id}:
    patch:
      tags:
      - ai-filters
      summary: Update Filter
      description: Update an AI filter. Re-embeds if description changed.
      operationId: update_filter_api_ai_filters__filter_id__patch
      parameters:
      - name: filter_id
        in: path
        required: true
        schema:
          type: integer
          title: Filter Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFilterRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - ai-filters
      summary: Delete Filter
      description: Delete an AI filter.
      operationId: delete_filter_api_ai_filters__filter_id__delete
      parameters:
      - name: filter_id
        in: path
        required: true
        schema:
          type: integer
          title: Filter Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/ai-filters/{filter_id}/test:
    post:
      tags:
      - ai-filters
      summary: Test Filter
      description: Test a message against a filter. Returns cosine similarity score.
      operationId: test_filter_api_ai_filters__filter_id__test_post
      parameters:
      - name: filter_id
        in: path
        required: true
        schema:
          type: integer
          title: Filter Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestFilterRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    CreateFilterRequest:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
        description:
          type: string
          maxLength: 1000
          minLength: 5
          title: Description
        threshold:
          type: number
          maximum: 1.0
          minimum: 0.1
          title: Threshold
          default: 0.5
      type: object
      required:
      - name
      - description
      title: CreateFilterRequest
    UpdateFilterRequest:
      properties:
        name:
          anyOf:
          - type: string
            maxLength: 200
            minLength: 1
          - type: 'null'
          title: Name
        description:
          anyOf:
          - type: string
            maxLength: 1000
            minLength: 5
          - type: 'null'
          title: Description
        threshold:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.1
          - type: 'null'
          title: Threshold
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
      type: object
      title: UpdateFilterRequest
    TestFilterRequest:
      properties:
        message:
          type: string
          maxLength: 5000
          minLength: 1
          title: Message
      type: object
      required:
      - message
      title: TestFilterRequest