Anchord AI Sources API

The Sources API from Anchord AI — 2 operation(s) for sources.

Operations 4

GET /v1/sources List all sources for the tenant #
POST /v1/sources Register a custom source #
PATCH /v1/sources/{id} Update a source (display name or status) #
DELETE /v1/sources/{id} Delete a custom source #

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/anchord-ai:anchord-ai-sources-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

anchord-ai-sources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AnchorID Sources API
  version: 1.0.0
  description: 'Anchord''s multi-tenant identity resolution + safe-write gate (v1). Read-only — never writes back to external systems. Guard/write endpoints are evaluation-only: they return a decision, the caller executes.'
servers:
- url: https://api.anchord.ai/api
  description: Production
- url: https://staging.api.anchord.ai/api
  description: Staging (testing environment)
security:
- bearerAuth: []
tags:
- name: Sources
paths:
  /v1/sources:
    get:
      tags:
      - Sources
      summary: List all sources for the tenant
      responses:
        '200':
          description: Sources list.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - request_id
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Source'
                  request_id:
                    type: string
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getV1Sources
      x-operation-id-source: derived
    post:
      tags:
      - Sources
      summary: Register a custom source
      description: Source keys must be lowercase, 2-50 chars, matching [a-z0-9][a-z0-9_:-]{1,49}. Built-in source keys (hubspot, stripe, salesforce) cannot be used.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - key
              - display_name
              properties:
                key:
                  type: string
                  pattern: ^[a-z0-9][a-z0-9_:\-]{1,49}$
                display_name:
                  type: string
                  maxLength: 100
      responses:
        '201':
          description: Source created.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - request_id
                properties:
                  data:
                    $ref: '#/components/schemas/Source'
                  request_id:
                    type: string
        '400':
          description: Bad request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error or reserved key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: postV1Sources
      x-operation-id-source: derived
  /v1/sources/{id}:
    patch:
      tags:
      - Sources
      summary: Update a source (display name or status)
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                display_name:
                  type: string
                  maxLength: 100
                status:
                  type: string
                  enum:
                  - active
                  - disabled
      responses:
        '200':
          description: Source updated.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - request_id
                properties:
                  data:
                    $ref: '#/components/schemas/Source'
                  request_id:
                    type: string
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Source not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: patchV1SourcesById
      x-operation-id-source: derived
    delete:
      tags:
      - Sources
      summary: Delete a custom source
      description: Built-in sources (hubspot, stripe, salesforce) cannot be deleted (422). Custom sources with existing records are disabled instead of deleted.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Source deleted or disabled.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Source'
                  message:
                    type: string
                  request_id:
                    type: string
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Source not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Cannot delete built-in source.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: deleteV1SourcesById
      x-operation-id-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      required:
      - error
      - request_id
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
              additionalProperties: true
        request_id:
          type: string
    Source:
      type: object
      properties:
        id:
          type: string
          format: uuid
        key:
          type: string
        display_name:
          type: string
        kind:
          type: string
          enum:
          - built_in
          - custom
        status:
          type: string
          enum:
          - active
          - disabled
        created_at:
          type: string
          format: date-time
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer