SHIP AI Agents API

The agents API from SHIP AI — 3 operation(s) for agents.

GitHub OpenAPI

Operations 6

GET /agents/catalog Read-only catalog: roles, harnesses + models, built-in agents, default sandbox… #
GET /agents List the caller's org agents #
POST /agents Create an agent config #
GET /agents/{agentId} Fetch an agent by id #
PATCH /agents/{agentId} Update an agent config #
DELETE /agents/{agentId} Delete an agent config #

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/letsship-ai:letsship-ai-agents-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

letsship-ai-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SHIP Agents API
  version: v1
  description: 'The SHIP product API: start and steer missions, and manage the projects, credentials and agents they run with.'
servers:
- url: https://api.letsship.ai/v1
tags:
- name: Agents
paths:
  /agents/catalog:
    get:
      x-audience: public
      tags:
      - Agents
      summary: 'Read-only catalog: roles, harnesses + models, built-in agents, default sandbox…'
      responses:
        '200':
          description: Catalog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentCatalog'
      operationId: getAgentsCatalog
      x-operation-id-source: derived
  /agents:
    get:
      x-audience: public
      tags:
      - Agents
      summary: List the caller's org agents
      responses:
        '200':
          description: Agents
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAgentsResponse'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getAgents
      x-operation-id-source: derived
    post:
      x-audience: public
      tags:
      - Agents
      summary: Create an agent config
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAgentRequest'
      responses:
        '200':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No org for caller
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: An inline sandbox's name is taken
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: An inline sandbox can't be used
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Sandbox builds unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postAgents
      x-operation-id-source: derived
  /agents/{agentId}:
    get:
      x-audience: public
      tags:
      - Agents
      summary: Fetch an agent by id
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: agentId
        in: path
      responses:
        '200':
          description: Agent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getAgentsByAgentId
      x-operation-id-source: derived
    patch:
      x-audience: public
      tags:
      - Agents
      summary: Update an agent config
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: agentId
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAgentRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Agent'
        '400':
          description: Invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchAgentsByAgentId
      x-operation-id-source: derived
    delete:
      x-audience: public
      tags:
      - Agents
      summary: Delete an agent config
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: agentId
        in: path
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAgentResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteAgentsByAgentId
      x-operation-id-source: derived
components:
  schemas:
    CatalogHarness:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/HarnessId'
        label:
          type: string
        executable:
          type: boolean
        models:
          type: array
          items:
            $ref: '#/components/schemas/CatalogModel'
      required:
      - id
      - label
      - executable
      - models
    AgentSandboxSelection:
      oneOf:
      - type: object
        properties:
          kind:
            type: string
            enum:
            - existing
          templateId:
            type: string
            minLength: 1
        required:
        - kind
        - templateId
      - type: object
        properties:
          kind:
            type: string
            enum:
            - new
          template:
            $ref: '#/components/schemas/NewSandboxTemplateInput'
        required:
        - kind
        - template
    DeleteAgentResponse:
      type: object
      properties:
        ok:
          type: boolean
        id:
          type: string
      required:
      - ok
      - id
    SandboxTier:
      type: string
      enum:
      - standard-1
      - standard-2
      - standard-3
      - standard-4
    CatalogBuiltinAgent:
      type: object
      properties:
        key:
          type: string
        name:
          type: string
        role:
          $ref: '#/components/schemas/AgentRoleKey'
        harness:
          $ref: '#/components/schemas/HarnessId'
        model:
          type: string
        userPrompt:
          type: string
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
        skillRepos:
          type: array
          items:
            type: string
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
        sandboxTemplateKey:
          type: string
      required:
      - key
      - name
      - role
      - harness
      - model
      - userPrompt
      - skillRepos
      - sandboxTemplateKey
    AgentRoleKey:
      type: string
      enum:
      - researcher
      - planner
      - builder
      - reviewer
      - deployer
      - tester
    CatalogModel:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
      required:
      - id
      - label
    Agent:
      type: object
      properties:
        id:
          type: string
        orgId:
          type: string
        name:
          type: string
        role:
          $ref: '#/components/schemas/AgentRoleKey'
        harness:
          $ref: '#/components/schemas/HarnessId'
        model:
          type: string
        effort:
          type:
          - string
          - 'null'
        sandboxTemplateId:
          type: string
        userPrompt:
          type:
          - string
          - 'null'
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
        skillRepos:
          type: array
          items:
            type: string
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
        isBuiltin:
          type: boolean
        createdAt:
          type: integer
        updatedAt:
          type: integer
      required:
      - id
      - orgId
      - name
      - role
      - harness
      - model
      - effort
      - sandboxTemplateId
      - userPrompt
      - skillRepos
      - isBuiltin
      - createdAt
      - updatedAt
    CreateAgentRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        role:
          $ref: '#/components/schemas/AgentRoleKey'
        harness:
          $ref: '#/components/schemas/HarnessId'
        model:
          type: string
          minLength: 1
        effort:
          type: string
          minLength: 1
        sandbox:
          $ref: '#/components/schemas/AgentSandboxSelection'
        userPrompt:
          type: string
          maxLength: 20000
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
        skillRepos:
          type: array
          items:
            type: string
            format: uri
          maxItems: 50
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
      required:
      - name
      - role
      - harness
      - model
      - sandbox
    CatalogRole:
      type: object
      properties:
        key:
          $ref: '#/components/schemas/AgentRoleKey'
        name:
          type: string
        roleLabel:
          type: string
        blurb:
          type: string
      required:
      - key
      - name
      - roleLabel
      - blurb
    SandboxInstanceTypeId:
      type: string
      enum:
      - lite
      - basic
      - standard-1
      - standard-2
      - standard-3
      - standard-4
    CatalogInstanceType:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/SandboxInstanceTypeId'
        label:
          type: string
        vcpu:
          type: string
        memory:
          type: string
        disk:
          type: string
      required:
      - id
      - label
      - vcpu
      - memory
      - disk
    UpdateAgentRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        role:
          $ref: '#/components/schemas/AgentRoleKey'
        harness:
          $ref: '#/components/schemas/HarnessId'
        model:
          type: string
          minLength: 1
        effort:
          type:
          - string
          - 'null'
          minLength: 1
        sandboxTemplateId:
          type: string
          minLength: 1
        userPrompt:
          type:
          - string
          - 'null'
          maxLength: 20000
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
        skillRepos:
          type: array
          items:
            type: string
            format: uri
          maxItems: 50
          description: 'Deprecated: not read by the pipeline; agent instructions and skills are configured in the target repo.'
    NewSandboxTemplateInput:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        dockerfile:
          type: string
          minLength: 1
          maxLength: 100000
        size:
          $ref: '#/components/schemas/SandboxSize'
        instanceType:
          $ref: '#/components/schemas/SandboxInstanceTypeId'
      required:
      - name
      - dockerfile
    Error:
      type: object
      properties:
        category:
          type: string
          enum:
          - auth
          - rate_limit
          - timeout
          - validation
          - infrastructure
          - agent
          - unknown
          example: validation
        title:
          type: string
          example: Invalid request
        description:
          type: string
          example: The 'projectId' parameter must be a UUID.
        retryable:
          type: boolean
          example: false
        code:
          type: string
          example: credits_exhausted
      required:
      - category
      - title
      - description
      - retryable
    ListAgentsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Agent'
        nextCursor:
          type:
          - string
          - 'null'
      required:
      - data
      - nextCursor
    SandboxSize:
      anyOf:
      - $ref: '#/components/schemas/SandboxTier'
      - type: object
        properties:
          vcpu:
            type: integer
            example: 2
          memoryMib:
            type: integer
            example: 8192
          diskMb:
            type: integer
            example: 16000
        required:
        - vcpu
        - memoryMib
        - diskMb
    CatalogSandboxTemplate:
      type: object
      properties:
        key:
          type: string
        name:
          type: string
        dockerfile:
          type: string
      required:
      - key
      - name
      - dockerfile
    AgentCatalog:
      type: object
      properties:
        roles:
          type: array
          items:
            $ref: '#/components/schemas/CatalogRole'
        harnesses:
          type: array
          items:
            $ref: '#/components/schemas/CatalogHarness'
        builtinAgents:
          type: array
          items:
            $ref: '#/components/schemas/CatalogBuiltinAgent'
        builtinSandboxTemplate:
          $ref: '#/components/schemas/CatalogSandboxTemplate'
        instanceTypes:
          type: array
          items:
            $ref: '#/components/schemas/CatalogInstanceType'
        customSizeLimits:
          type: object
          properties:
            minVcpu:
              type: integer
            maxVcpu:
              type: integer
            minMemoryMibPerVcpu:
              type: integer
            maxMemoryMib:
              type: integer
            minDiskMb:
              type: integer
            maxDiskMb:
              type: integer
          required:
          - minVcpu
          - maxVcpu
          - minMemoryMibPerVcpu
          - maxMemoryMib
          - minDiskMb
          - maxDiskMb
      required:
      - roles
      - harnesses
      - builtinAgents
      - builtinSandboxTemplate
      - instanceTypes
      - customSizeLimits
    HarnessId:
      type: string
      enum:
      - hermes
      - pi
      - kilo-code
      - open-code
      - claude-code
      - codex
      - copilot
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token (pat_ or mcp_ prefix)