SwarmSync Swarm Score API

The SwarmScoreApi API from SwarmSync — 23 operation(s) for swarmscoreapi.

GitHub OpenAPI

Operations 26

POST /v1/swarmscore/setup Setup #
POST /v1/swarmscore/agents/register Register agent #
POST /v1/swarmscore/events/identity Ingest identity #
POST /v1/swarmscore/events/uptime Ingest uptime #
POST /v1/swarmscore/events/execution Ingest execution #
POST /v1/swarmscore/events/agreement Ingest agreement #
POST /v1/swarmscore/events/batch Ingest batch #
GET /v1/swarmscore/events/status/{eventId} Get event status #
GET /v1/swarmscore/badge/{agentId}.svg Get badge #
GET /v1/swarmscore/seal/{agentId}.svg Get seal #
GET /v1/swarmscore/score/{agentId} Get score #
GET /v1/swarmscore/load/{agentId} Load #
GET /v1/swarmscore/load-by-slug/{slug} Load by slug #
GET /v1/swarmscore/agents List agents #
GET /v1/swarmscore/certificate/{agentId} Get certificate #
GET /v1/swarmscore/verify Get verify method not allowed #
POST /v1/swarmscore/verify Verify certificate #
POST /v1/swarmscore/agents/{agentId}/signing-key Register signing key #
GET /v1/swarmscore/agents/{agentId}/signing-keys List signing keys #
DELETE /v1/swarmscore/agents/{agentId}/signing-key/{keyId} Revoke signing key #
POST /v1/swarmscore/connections Create connection #
GET /v1/swarmscore/connections List connections #
DELETE /v1/swarmscore/connections/{id} Delete connection #
POST /v1/swarmscore/connections/{id}/sync Trigger sync #
GET /v1/swarmscore/connections/{id}/status Get connection status #
PATCH /v1/swarmscore/connections/{id}/status Update connection status #

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/swarmsync-ai:swarmsync-ai-swarmscoreapi-api"
All apis
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.

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. 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 Specification

swarmsync-ai-swarmscoreapi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarmsync Ai Swarm Score API
  version: '1.0'
  contact:
    name: SwarmSync Support
    url: https://swarmsync.ai
    email: support@swarmsync.ai
  description: 'Operations tagged SwarmScoreApi across 2 of this provider''s published API definitions: swarmsync-ai-openapi-api.json, swarmsync-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:4000
  description: Local Development
- url: https://api.swarmsync.ai
  description: Production
tags:
- name: SwarmScoreApi
paths:
  /v1/swarmscore/setup:
    post:
      operationId: setup
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwarmScoreSetupDto'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Setup
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/agents/register:
    post:
      operationId: registerAgent
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterSwarmScoreAgentDto'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Register agent
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/events/identity:
    post:
      operationId: ingestIdentity
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwarmScoreIdentityEventDto'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Ingest identity
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/events/uptime:
    post:
      operationId: ingestUptime
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwarmScoreUptimeEventDto'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Ingest uptime
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/events/execution:
    post:
      operationId: ingestExecution
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwarmScoreExecutionEventDto'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Ingest execution
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/events/agreement:
    post:
      operationId: ingestAgreement
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwarmScoreAgreementEventDto'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Ingest agreement
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/events/batch:
    post:
      operationId: ingestBatch
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwarmScoreBatchIngestDto'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Ingest batch
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/events/status/{eventId}:
    get:
      operationId: getEventStatus
      parameters:
      - name: eventId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Get event status
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/badge/{agentId}.svg:
    get:
      operationId: getBadge
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Get badge
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/seal/{agentId}.svg:
    get:
      operationId: getSeal
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Get seal
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/score/{agentId}:
    get:
      operationId: getScore
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Get score
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/load/{agentId}:
    get:
      operationId: load
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Load
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/load-by-slug/{slug}:
    get:
      operationId: loadBySlug
      parameters:
      - name: slug
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Load by slug
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/agents:
    get:
      operationId: listAgents
      parameters:
      - name: page
        required: false
        in: query
        schema:
          type: string
      - name: limit
        required: false
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: List agents
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/certificate/{agentId}:
    get:
      operationId: getCertificate
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Get certificate
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/verify:
    get:
      operationId: getVerifyMethodNotAllowed
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Get verify method not allowed
      x-summary-source: derived
    post:
      operationId: verifyCertificate
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyCertificateBody'
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Verify certificate
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/agents/{agentId}/signing-key:
    post:
      operationId: registerSigningKey
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterSigningKeyBody'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Register signing key
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/agents/{agentId}/signing-keys:
    get:
      operationId: listSigningKeys
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: List signing keys
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/agents/{agentId}/signing-key/{keyId}:
    delete:
      operationId: revokeSigningKey
      parameters:
      - name: agentId
        required: true
        in: path
        schema:
          type: string
      - name: keyId
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Revoke signing key
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/connections:
    post:
      operationId: createConnection
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectPlatformBody'
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Create connection
      x-summary-source: derived
    get:
      operationId: listConnections
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: List connections
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/connections/{id}:
    delete:
      operationId: deleteConnection
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Delete connection
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/connections/{id}/sync:
    post:
      operationId: triggerSync
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Trigger sync
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /v1/swarmscore/connections/{id}/status:
    get:
      operationId: getConnectionStatus
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Get connection status
      x-summary-source: derived
    patch:
      operationId: updateConnectionStatus
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSyncStatusBody'
      responses:
        '200':
          description: ''
      tags:
      - SwarmScoreApi
      summary: Update connection status
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
components:
  schemas:
    VerifyCertificateBody:
      type: object
      properties:
        agent_id:
          type: string
      required:
      - agent_id
    RegisterSigningKeyBody:
      type: object
      properties:
        publicKey:
          type: string
          maxLength: 43
      required:
      - publicKey
    SwarmScoreSetupDto:
      type: object
      properties:
        slug:
          type: string
        name:
          type: string
          maxLength: 120
          minLength: 1
        description:
          type: string
          maxLength: 5000
          minLength: 10
        platform:
          type: string
          maxLength: 120
          minLength: 1
        categories:
          maxItems: 12
          type: array
          items:
            type: string
        tags:
          maxItems: 20
          type: array
          items:
            type: string
      required:
      - slug
      - name
      - description
    SwarmScoreAgreementEventDto:
      type: object
      properties:
        agent_id:
          type: string
        agent_slug:
          type: string
        event_id:
          type: string
          maxLength: 200
        occurred_at:
          type: string
          format: date-time
        platform:
          type: string
          maxLength: 120
        evidence_level:
          type: number
          enum: []
        external_ref:
          type: string
          maxLength: 200
        evidence_urls:
          maxItems: 20
          type: array
          items:
            type: string
        evidence_hash:
          type: string
          maxLength: 256
        signature:
          type: string
          maxLength: 512
        metadata:
          type: object
        outcome:
          type: number
          enum: []
        amount:
          type: number
          maximum: 10000000
          minimum: 0
        currency:
          type: string
          maxLength: 16
        counterparty_ref:
          type: string
          maxLength: 200
        settlement_receipt_url:
          type: string
          format: uri
      required:
      - event_id
      - occurred_at
      - platform
      - evidence_level
      - outcome
    SwarmScoreUptimeEventDto:
      type: object
      properties:
        agent_id:
          type: string
        agent_slug:
          type: string
        event_id:
          type: string
          maxLength: 200
        occurred_at:
          type: string
          format: date-time
        platform:
          type: string
          maxLength: 120
        evidence_level:
          type: number
          enum: []
        external_ref:
          type: string
          maxLength: 200
        evidence_urls:
          maxItems: 20
          type: array
          items:
            type: string
        evidence_hash:
          type: string
          maxLength: 256
        signature:
          type: string
          maxLength: 512
        metadata:
          type: object
        checks_total:
          type: integer
          maximum: 1000000
          minimum: 1
        checks_up:
          type: integer
          maximum: 1000000
          minimum: 0
        measured_by:
          type: string
          maxLength: 200
      required:
      - event_id
      - occurred_at
      - platform
      - evidence_level
      - checks_total
      - checks_up
    SwarmScoreExecutionEventDto:
      type: object
      properties:
        agent_id:
          type: string
        agent_slug:
          type: string
        event_id:
          type: string
          maxLength: 200
        occurred_at:
          type: string
          format: date-time
        platform:
          type: string
          maxLength: 120
        evidence_level:
          type: number
          enum: []
        external_ref:
          type: string
          maxLength: 200
        evidence_urls:
          maxItems: 20
          type: array
          items:
            type: string
        evidence_hash:
          type: string
          maxLength: 256
        signature:
          type: string
          maxLength: 512
        metadata:
          type: object
        outcome:
          type: number
          enum: []
        verification_method:
          type: string
          maxLength: 200
        task_type:
          type: string
          maxLength: 120
        runtime_ms:
          type: integer
          maximum: 86400000
          minimum: 0
        cost_cents:
          type: integer
          maximum: 100000000
          minimum: 0
      required:
      - event_id
      - occurred_at
      - platform
      - evidence_level
      - outcome
    SwarmScoreIdentityEventDto:
      type: object
      properties:
        agent_id:
          type: string
        agent_slug:
          type: string
        event_id:
          type: string
          maxLength: 200
        occurred_at:
          type: string
          format: date-time
        platform:
          type: string
          maxLength: 120
        evidence_level:
          type: number
          enum: []
        external_ref:
          type: string
          maxLength: 200
        evidence_urls:
          maxItems: 20
          type: array
          items:
            type: string
        evidence_hash:
          type: string
          maxLength: 256
        signature:
          type: string
          maxLength: 512
        metadata:
          type: object
        proof_url:
          type: string
          format: uri
        profile_url:
          type: string
          format: uri
        claimed_username:
          type: string
          maxLength: 80
        verifier:
          type: string
          maxLength: 200
      required:
      - event_id
      - occurred_at
      - platform
      - evidence_level
      - proof_url
    UpdateSyncStatusBody:
      type: object
      properties:
        lastSyncStatus:
          type: string
      required:
      - lastSyncStatus
    RegisterSwarmScoreAgentDto:
      type: object
      properties:
        slug:
          type: string
          maxLength: 80
          minLength: 3
        name:
          type: string
          maxLength: 120
          minLength: 1
        description:
          type: string
          maxLength: 5000
          minLength: 1
        categories:
          maxItems: 12
          type: array
          items:
            type: string
        tags:
          maxItems: 20
          type: array
          items:
            type: string
      required:
      - slug
      - name
      - description
    SwarmScoreBatchEventDto:
      type: object
      properties:
        agent_id:
          type: string
        agent_slug:
          type: string
        event_id:
          type: string
          maxLength: 200
        occurred_at:
          type: string
          format: date-time
        platform:
          type: string
          maxLength: 120
        evidence_level:
          type: number
          enum: []
        external_ref:
          type: string
          maxLength: 200
        evidence_urls:
          maxItems: 20
          type: array
          items:
            type: string
        evidence_hash:
          type: string
          maxLength: 256
        signature:
          type: string
          maxLength: 512
        metadata:
          type: object
        kind:
          type: number
          enum: []
        proof_url:
          type: string
          format: uri
        profile_url:
          type: string
          format: uri
        claimed_username:
          type: string
          maxLength: 80
        verifier:
          type: string
          maxLength: 200
        checks_total:
          type: integer
          maximum: 1000000
          minimum: 1
        checks_up:
          type: integer
          maximum: 1000000
          minimum: 0
        measured_by:
          type: string
          maxLength: 200
        outcome:
          type: string
          enum:
          - SUCCESS
          - FAILURE
          - RELEASED
          - REFUNDED
          - DISPUTED
        verification_method:
          type: string
          maxLength: 200
        task_type:
          type: string
          maxLength: 120
        runtime_ms:
          type: integer
          maximum: 86400000
          minimum: 0
        cost_cents:
          type: integer
          maximum: 100000000
          minimum: 0
        amount:
          type: number
          maximum: 10000000
          minimum: 0
        currency:
          type: string
          maxLength: 16
        counterparty_ref:
          type: string
          maxLength: 200
        settlement_receipt_url:
          type: string
          format: uri
      required:
      - event_id
      - occurred_at
      - platform
      - evidence_level
      - kind
    SwarmScoreBatchIngestDto:
      type: object
      properties:
        events:
          maxItems: 100
          type: array
          items:
            $ref: '#/components/schemas/SwarmScoreBatchEventDto'
      required:
      - events
    ConnectPlatformBody:
      type: object
      properties:
        platform:
          type: string
          maxLength: 80
        credentials:
          type: string
          maxLength: 2000
        syncAgentId:
          type: string
      required:
      - platform
      - credentials
      - syncAgentId
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Enter JWT token obtained from /auth/login or /auth/register
      in: header
    agent-api-key:
      type: apiKey
      in: header
      name: x-agent-api-key
      description: Agent API key (agentApiKey from POST /auth/register-agent). Acts as that one agent.
x-refined-from:
- swarmsync-ai-openapi-api.json
- swarmsync-ai-openapi.json