SwarmSync Service Accounts API

The Service Accounts API from SwarmSync — 5 operation(s) for service accounts.

GitHub OpenAPI

Operations 8

POST /api/v1/service-accounts Create #
GET /api/v1/service-accounts List #
GET /api/v1/service-accounts/{id} Get #
PATCH /api/v1/service-accounts/{id} Update #
DELETE /api/v1/service-accounts/{id} Revoke #
POST /api/v1/service-accounts/{id}/rotate Rotate #
POST /api/v1/service-accounts/{id}/expire Expire #
POST /api/v1/service-accounts/agents/self-register Self register #

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-service-accounts-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-service-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swarmsync Ai Service Accounts API
  version: '1.0'
  contact:
    name: SwarmSync Support
    url: https://swarmsync.ai
    email: support@swarmsync.ai
  description: 'Operations tagged ServiceAccounts 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: Service Accounts
paths:
  /api/v1/service-accounts:
    post:
      operationId: create
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - Service Accounts
      summary: Create
      x-summary-source: derived
    get:
      operationId: list
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Service Accounts
      summary: List
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /api/v1/service-accounts/{id}:
    get:
      operationId: get
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Service Accounts
      summary: Get
      x-summary-source: derived
    patch:
      operationId: update
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateServiceAccountDto'
      responses:
        '200':
          description: ''
      tags:
      - Service Accounts
      summary: Update
      x-summary-source: derived
    delete:
      operationId: revoke
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Service Accounts
      summary: Revoke
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /api/v1/service-accounts/{id}/rotate:
    post:
      operationId: rotate
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Service Accounts
      summary: Rotate
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /api/v1/service-accounts/{id}/expire:
    post:
      operationId: expire
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Service Accounts
      summary: Expire
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
  /api/v1/service-accounts/agents/self-register:
    post:
      operationId: selfRegister
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublicAgentServiceAccountDto'
      responses:
        '201':
          description: ''
      tags:
      - Service Accounts
      summary: Self register
      x-summary-source: derived
    servers:
    - url: http://localhost:4000
      description: Local Development
    - url: https://api.swarmsync.ai
      description: Production
components:
  schemas:
    PublicAgentServiceAccountDto:
      type: object
      properties:
        name:
          type: string
          maxLength: 100
          minLength: 1
        description:
          type: string
          maxLength: 500
        agentId:
          type: string
        agentSlug:
          type: string
        organizationSlug:
          type: string
    UpdateServiceAccountDto:
      type: object
      properties:
        name:
          type: string
          maxLength: 100
          minLength: 1
        scopes:
          minItems: 1
          maxItems: 32
          type: array
          items:
            type: string
        expiresAt:
          type: string
          format: date-time
  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