SHIP AI Projects API

The projects API from SHIP AI — 4 operation(s) for projects.

GitHub OpenAPI

Operations 8

GET /projects List projects #
POST /projects Create a project (with duplicate guard on tracker_team) #
GET /projects/{projectId} Fetch a project by id #
PATCH /projects/{projectId} Update a project: rename, pause, move it to another tracker, or reconnect its… #
DELETE /projects/{projectId} Delete a project #
POST /projects/{projectId}/transfer Move a project's repository to the founder's GitHub account #
GET /projects/{projectId}/transfer Read the transfer of a project's repository #
POST /projects/{projectId}/transfer/cancel Cancel the transfer of a project's repository #

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-projects-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-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SHIP Projects 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: Projects
paths:
  /projects:
    get:
      x-audience: public
      tags:
      - Projects
      summary: List projects
      description: Lists the organization's projects, oldest first. When more projects exist, the response gives a `nextCursor`. Send it back as `cursor` to get the next page.
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
        required: false
        name: limit
        in: query
      - schema:
          type: string
        required: false
        name: cursor
        in: query
      - schema:
          type: string
        required: false
        name: byTrackerConnectorId
        in: query
      - schema:
          type: string
        required: false
        name: byTrackerTeamId
        in: query
      - schema:
          type: string
        required: false
        name: byTrackerProjectId
        in: query
      - schema:
          type: string
        required: false
        name: byScmConnectorId
        in: query
      - schema:
          type: string
        required: false
        name: byScmOwner
        in: query
      - schema:
          type: string
        required: false
        name: byScmRepo
        in: query
      responses:
        '200':
          description: Page
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Project'
                  nextCursor:
                    type:
                    - string
                    - 'null'
                required:
                - data
                - nextCursor
        '400':
          description: A cursor this API did not issue
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Missing scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getProjects
      x-operation-id-source: derived
    post:
      x-audience: public
      tags:
      - Projects
      summary: Create a project (with duplicate guard on tracker_team)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectRequest'
      responses:
        '200':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          description: Invalid or taken issue code, no connected GitHub account can reach the repository (code repo_unreachable), the Jira site has no such project (code jira_project_not_found), a site template the registry does not have (code unknown_template), a repository GitHub does not report as made from the site template (code not_from_template), or a GitHub App installation SHIP can no longer reach (code github_reconnect_required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Free project limit reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Role insufficient, or a repository SHIP made and hosts for a workspace, which only that workspace's own project uses (code founders_repository_reserved)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Org not visible
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Duplicate
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DuplicateProjectError'
        '502':
          description: GitHub did not answer the repository access check or the site template check (code github_unavailable, retryable), or Jira did not answer the project check (code tracker_unavailable, retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: SHIP has no valid Jira token yet (code jira_token_unavailable, retryable), or SHIP for Jira was removed from the site (code tracker_reconnect_required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postProjects
      x-operation-id-source: derived
  /projects/{projectId}:
    get:
      x-audience: public
      tags:
      - Projects
      summary: Fetch a project by id
      security:
      - bearerAuth: []
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      responses:
        '200':
          description: Project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '404':
          description: Not found (or cross-tenant)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getProjectsByProjectId
      x-operation-id-source: derived
    patch:
      x-audience: public
      tags:
      - Projects
      summary: 'Update a project: rename, pause, move it to another tracker, or reconnect its…'
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectRequest'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
        '400':
          description: Invalid or taken issue code, no connected GitHub account can reach the re-picked repository (code repo_unreachable), a Jira project on a project that is not Jira-tracked, a Jira project the site does not have (code jira_project_not_found), or a tracker move without its connection (code tracker_connection_missing)
          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'
        '409':
          description: Team or Jira project in use by another project, a tracker change while missions of the project run (code project_has_live_missions), a repository change on a project SHIP made (code provisioned_repository_fixed), or a repository SHIP made and hosts for a workspace (code founders_repository_reserved)
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/DuplicateProjectError'
                - $ref: '#/components/schemas/Error'
        '502':
          description: GitHub did not answer the repository access check (code github_unavailable, retryable), or Jira did not answer the project check (code tracker_unavailable, retryable)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: SHIP has no valid Jira token yet (code jira_token_unavailable, retryable), or SHIP for Jira was removed from the site (code tracker_reconnect_required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchProjectsByProjectId
      x-operation-id-source: derived
    delete:
      x-audience: public
      tags:
      - Projects
      summary: Delete a project
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      responses:
        '200':
          description: Deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteProjectResponse'
        '403':
          description: Role insufficient
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: A site was created for the project during the delete. Send the delete again
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Sites are not available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: deleteProjectsByProjectId
      x-operation-id-source: derived
  /projects/{projectId}/transfer:
    post:
      x-audience: public
      tags:
      - Projects
      summary: Move a project's repository to the founder's GitHub account
      description: Starts the move of the repository that SHIP made for a project with Start from scratch, or names its target. Only the repository moves. The project stays one that SHIP made, so its hosted site, its waitlist, its database and SHIP's models, paid in credits, stay as they are. First make an empty repository on your own GitHub account or organization, with no README, .gitignore or license, and install SHIP's GitHub App on it. Then call this with that connection's `connectorId` and the repository as `owner/name`. SHIP copies every branch and tag into it, checks that each one has the same commit, points the project at it and archives its own copy, which it deletes after a grace period. The copy takes a few minutes, and no new mission starts while it runs. Read the transfer until it is `archived` or `done`. Only an owner of the workspace can call this, with the `projects:transfer` scope. Running work on the project is refused. Send an `Idempotency-Key` header to make a retry safe.
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      - schema:
          type: string
          minLength: 1
          maxLength: 128
          description: Sending the same key again answers the transfer the first request started, and starts nothing new.
          example: 7f9c2ba4-e88f-11ee-9a1a-0242ac120002
        required: false
        name: idempotency-key
        in: header
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StartProjectTransferRequest'
      responses:
        '202':
          description: The transfer, as far as it got
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectTransfer'
        '400':
          description: The connection and the repository must come together (`project_transfer_target_required`), and the connection must be your own installation of SHIP's GitHub App (`project_transfer_connector_invalid`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Only an owner of the workspace can move its repository (`project_transfer_forbidden`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such project. A project of another organization is not found too
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: SHIP did not make this project's repository (`project_transfer_not_available`), it is already yours (`project_transfer_already_moved`), work on the project runs (`project_has_live_missions`), the app does not cover the repository (`project_transfer_target_not_covered`), the repository has commits (`project_transfer_target_not_empty`), another workspace holds the installation (`project_transfer_target_installation_shared`), the app cannot write workflows yet (`project_transfer_workflows_permission_missing`), the app was removed (`installation_gone`), SHIP's copy is gone (`repository_missing`), the transfer copies to another repository already (`project_transfer_target_fixed`), another request changed it first (`project_transfer_conflict`, retryable), or the Idempotency-Key started a transfer of another project (`idempotency_key_used`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: GitHub did not answer (`github_unavailable`, retryable), or transfers are not set up here (`project_transfer_not_configured`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postProjectsByProjectIdTransfer
      x-operation-id-source: derived
    get:
      x-audience: public
      tags:
      - Projects
      summary: Read the transfer of a project's repository
      description: 'The project''s open transfer, or its newest one when none is open. The read changes nothing: SHIP moves the transfer on in the background, so read it again after `pollAfterSeconds`. Only the repository moves. The project stays one that SHIP made, so its hosted site, its waitlist, its database and SHIP''s models, paid in credits, stay as they are.'
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      responses:
        '200':
          description: The transfer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectTransfer'
        '404':
          description: No such project, or the project has no transfer (`project_transfer_not_found`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: SHIP did not make this project's repository (`project_transfer_not_available`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getProjectsByProjectIdTransfer
      x-operation-id-source: derived
  /projects/{projectId}/transfer/cancel:
    post:
      x-audience: public
      tags:
      - Projects
      summary: Cancel the transfer of a project's repository
      description: Stops an open transfer until the project uses the founder's repository. A copy that SHIP already pushed stays in the founder's repository, and the project keeps SHIP's repository. Only an owner of the workspace can call this, with the `projects:transfer` scope.
      parameters:
      - schema:
          type: string
          minLength: 1
        required: true
        name: projectId
        in: path
      responses:
        '200':
          description: The cancelled transfer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectTransfer'
        '403':
          description: Only an owner of the workspace can cancel the transfer (`project_transfer_forbidden`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such project, or the project has no open transfer (`project_transfer_not_found`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: SHIP did not make this project's repository (`project_transfer_not_available`), the project already uses the founder's repository (`project_transfer_not_cancellable`), or another request changed the transfer first (`project_transfer_conflict`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postProjectsByProjectIdTransferCancel
      x-operation-id-source: derived
components:
  schemas:
    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
    UpdateProjectRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        status:
          $ref: '#/components/schemas/ProjectStatus'
        autoMerge:
          type: boolean
        issueCode:
          $ref: '#/components/schemas/IssueCode'
        defaultSandboxTemplateId:
          type:
          - string
          - 'null'
          minLength: 1
        tracker:
          $ref: '#/components/schemas/ProjectTracker'
        linearTeamKey:
          type: string
          minLength: 1
        jiraConnectorId:
          type: string
          minLength: 1
        jiraProjectId:
          type: string
          pattern: ^\d+$
          example: '10000'
        repoFullName:
          type: string
          pattern: ^[^/\s]+\/[^/\s]+$
    IssueCode:
      type: string
      pattern: ^[A-Z][A-Z0-9]{1,4}$
      example: PAG
    DeleteProjectResponse:
      type: object
      properties:
        ok:
          type: boolean
          enum:
          - true
        id:
          type: string
      required:
      - ok
      - id
    StartProjectTransferRequest:
      type: object
      properties:
        connectorId:
          type: string
          minLength: 1
        repository:
          type: string
          pattern: ^[A-Za-z0-9-]{1,39}\/[A-Za-z0-9._-]{1,100}$
          example: ada/cafe-aurora
    CreateProjectRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 120
        tracker:
          allOf:
          - $ref: '#/components/schemas/ProjectTracker'
          - default: linear
        linearTeamKey:
          type: string
          minLength: 1
        repoFullName:
          type: string
          pattern: ^[^/\s]+\/[^/\s]+$
        issueCode:
          $ref: '#/components/schemas/IssueCode'
        jiraConnectorId:
          type: string
          minLength: 1
        jiraProjectId:
          type: string
          pattern: ^\d+$
          example: '10000'
        siteTemplate:
          type: string
          minLength: 1
          example: blog
      required:
      - name
      - repoFullName
    ProjectTracker:
      type: string
      enum:
      - linear
      - github-issues
      - jira
      - none
    ProjectTransferAction:
      type:
      - string
      - 'null'
      enum:
      - choose_target
      - wait
      description: 'What the founder does next: name their empty repository with SHIP''s GitHub App installed on it, or wait while SHIP copies and checks it.'
    ProjectTransferState:
      type: string
      enum:
      - requested
      - awaiting_target
      - mirroring
      - verifying
      - repointed
      - archived
      - done
      - failed
      - cancelled
      description: '`requested` before SHIP checks anything. `awaiting_target` while the founder must name their own empty repository. `mirroring` while SHIP copies every branch and tag into it, and `verifying` while SHIP checks that each one has the same commit. `repointed` when the project uses the founder''s repository. `archived` when SHIP''s own copy is read-only and waits for its delete, and `done` after the delete. `failed` gives the cause in `failure`. `cancelled` when the founder stopped it before the repoint.'
    ProjectTransfer:
      type: object
      properties:
        id:
          type: string
          example: ptr_4c1d9e0a7b
        projectId:
          type: string
        state:
          $ref: '#/components/schemas/ProjectTransferState'
        version:
          type: integer
        action:
          $ref: '#/components/schemas/ProjectTransferAction'
        repository:
          type: object
          properties:
            from:
              type: string
              example: ship-apps/cafe-aurora
            to:
              type:
              - string
              - 'null'
              example: ada/cafe-aurora
          required:
          - from
          - to
        createdAt:
          type: integer
        updatedAt:
          type: integer
        checkedAt:
          type:
          - integer
          - 'null'
        deleteAfter:
          type:
          - integer
          - 'null'
        completedAt:
          type:
          - integer
          - 'null'
        pollAfterSeconds:
          type:
          - integer
          - 'null'
        failure:
          type:
          - object
          - 'null'
          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
        choices:
          type: array
          items:
            type: object
            properties:
              connectorId:
                type: string
              name:
                type: string
            required:
            - connectorId
            - name
      required:
      - id
      - projectId
      - state
      - version
      - action
      - repository
      - createdAt
      - updatedAt
      - checkedAt
      - deleteAfter
      - completedAt
      - pollAfterSeconds
      - failure
      - choices
    ProjectStatus:
      type: string
      enum:
      - active
      - paused
      - archived
    Project:
      type: object
      properties:
        id:
          type: string
          example: proj_9b8e2a3f3c4d4e5f9a8b
        orgId:
          type: string
          example: org_1a2b3c4d5e6f7a8b
        slug:
          type: string
          example: ship-frontend
        name:
          type: string
          example: SHIP - Frontend
        status:
          $ref: '#/components/schemas/ProjectStatus'
        tracker:
          $ref: '#/components/schemas/ProjectTracker'
        trackerConnectorId:
          type:
          - string
          - 'null'
          example: conn_linear_abcdef
        trackerTeamId:
          type:
          - string
          - 'null'
          example: SHIP
        trackerProjectId:
          type:
          - string
          - 'null'
        scmConnectorId:
          type: string
          example: conn_github_abcdef
        scmOwner:
          type: string
          example: acme-co
        scmRepo:
          type: string
          example: frontend
        llmConnectorId:
          type: string
          example: conn_anthropic_abcdef
        autoMerge:
          type: boolean
          example: false
        issueCode:
          type:
          - string
          - 'null'
          example: PAG
        defaultSandboxTemplateId:
          type:
          - string
          - 'null'
          example: null
        siteTemplate:
          type:
          - string
          - 'null'
          example: null
        provisionedBy:
          $ref: '#/components/schemas/ProjectProvisionedBy'
        createdAt:
          type: integer
          example: 1735689600000
        missingConnectorKinds:
          type: array
          items:
            type: string
            enum:
            - tracker
            - scm
            - llm
          example: []
      required:
      - id
      - orgId
      - slug
      - name
      - status
      - tracker
      - trackerConnectorId
      - trackerTeamId
      - trackerProjectId
      - scmConnectorId
      - scmOwner
      - scmRepo
      - llmConnectorId
      - autoMerge
      - issueCode
      - defaultSandboxTemplateId
      - siteTemplate
      - createdAt
    DuplicateProjectError:
      type: object
      properties:
        category:
          type: string
          enum:
          - validation
        title:
          type: string
          enum:
          - Conflict
        description:
          type: string
        retryable:
          type: boolean
          enum:
          - false
        conflictingProjectId:
          type: string
      required:
      - category
      - title
      - description
      - retryable
      - conflictingProjectId
    ProjectProvisionedBy:
      type: string
      enum:
      - ship
      - owner
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token (pat_ or mcp_ prefix)