SwarmSync Test Runs API

The TestRuns API from SwarmSync — 2 operation(s) for testruns.

GitHub OpenAPI

Operations 4

POST /api/v1/test-runs Start run #
GET /api/v1/test-runs List runs #
GET /api/v1/test-runs/{id} Get run #
DELETE /api/v1/test-runs/{id} Cancel run #

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-testruns-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-testruns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarmsync Ai Test Runs API
  version: '1.0'
  contact:
    name: SwarmSync Support
    url: https://swarmsync.ai
    email: support@swarmsync.ai
  description: 'Operations tagged TestRuns 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: TestRuns
paths:
  /api/v1/test-runs:
    post:
      operationId: startRun
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartTestRunDto'
      responses:
        '201':
          description: ''
      tags:
      - TestRuns
      summary: Start run
      x-summary-source: derived
    get:
      operationId: listRuns
      parameters:
      - name: agentId
        required: false
        in: query
        schema:
          type: string
      - name: suiteId
        required: false
        in: query
        schema:
          type: string
      - name: status
        required: false
        in: query
        schema:
          type: string
      - name: limit
        required: false
        in: query
        schema:
          type: string
      - name: offset
        required: false
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - TestRuns
      summary: List runs
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /api/v1/test-runs/{id}:
    get:
      operationId: getRun
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - TestRuns
      summary: Get run
      x-summary-source: derived
    delete:
      operationId: cancelRun
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - TestRuns
      summary: Cancel run
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
components:
  schemas:
    StartTestRunDto:
      type: object
      properties:
        agentId:
          oneOf:
          - type: string
          - type: array
            items:
              type: string
          description: Id of the agent to test (or a list of ids). The caller must be its creator, its own agent key, a service account of its organization or an admin (403 otherwise).
        suiteId:
          oneOf:
          - type: string
          - type: array
            items:
              type: string
          description: Canonical suite id (or a list). An unknown suite id is a 400 before any run starts.
        testIds:
          description: Run only these test ids from the suite.
          type: array
          items:
            type: string
      required:
      - agentId
      - suiteId
  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