SHIP AI Identity API

The identity API from SHIP AI — 6 operation(s) for identity.

GitHub OpenAPI

Operations 6

GET /me Who am I: identity + org role + role-derived capabilities + token scopes #
GET /me/setup What the org has set up so far, and what to do next #
PUT /me/setup/milestones/{milestoneId} Mark a setup step complete or skipped for the caller, or take the mark back #
PUT /me/setup/groups/{groupId} Mark every open step of a setup group for the caller, or take the group's marks… #
PUT /me/guides/{guideId} Record how far the caller went through a first-mission guide #
POST /me/setup/blockers Report why the caller stops setting up SHIP #

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-identity-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-identity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SHIP Identity 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: Identity
paths:
  /me:
    get:
      x-audience: public
      tags:
      - Identity
      summary: 'Who am I: identity + org role + role-derived capabilities + token scopes'
      responses:
        '200':
          description: Caller identity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Me'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getMe
      x-operation-id-source: derived
  /me/setup:
    get:
      x-audience: public
      tags:
      - Identity
      summary: What the org has set up so far, and what to do next
      parameters:
      - schema:
          type: string
        required: false
        name: orgId
        in: query
      responses:
        '200':
          description: Setup progress
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupProgress'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not one of the caller's orgs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: SITE_URL is not set, so the steps cannot link to the console (code not_configured)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getMeSetup
      x-operation-id-source: derived
  /me/setup/milestones/{milestoneId}:
    put:
      x-audience: public
      tags:
      - Identity
      summary: Mark a setup step complete or skipped for the caller, or take the mark back
      parameters:
      - schema:
          allOf:
          - $ref: '#/components/schemas/SetupMilestoneId'
          - type: string
        required: true
        name: milestoneId
        in: path
      - schema:
          type: string
        required: false
        name: orgId
        in: query
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSetupMilestoneRequest'
      responses:
        '200':
          description: Saved; the checklist as the caller now sees it
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupProgress'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The token acts for no person, so there is nobody to save it for (code person_required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not one of the caller's orgs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: SITE_URL is not set, so the steps cannot link to the console (code not_configured)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: putMeSetupMilestonesByMilestoneId
      x-operation-id-source: derived
  /me/setup/groups/{groupId}:
    put:
      x-audience: public
      tags:
      - Identity
      summary: Mark every open step of a setup group for the caller, or take the group's marks…
      parameters:
      - schema:
          allOf:
          - $ref: '#/components/schemas/SetupGroupId'
          - type: string
        required: true
        name: groupId
        in: path
      - schema:
          type: string
        required: false
        name: orgId
        in: query
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSetupGroupRequest'
      responses:
        '200':
          description: Saved; the checklist as the caller now sees it
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupProgress'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The token acts for no person, so there is nobody to save it for (code person_required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not one of the caller's orgs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: SITE_URL is not set, so the steps cannot link to the console (code not_configured)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: putMeSetupGroupsByGroupId
      x-operation-id-source: derived
  /me/guides/{guideId}:
    put:
      x-audience: public
      tags:
      - Identity
      summary: Record how far the caller went through a first-mission guide
      parameters:
      - schema:
          $ref: '#/components/schemas/SetupGuideId'
        required: true
        name: guideId
        in: path
      - schema:
          type: string
        required: false
        name: orgId
        in: query
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSetupGuideRequest'
      responses:
        '200':
          description: Saved; a finished guide stays finished
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupGuide'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The token acts for no person, so there is nobody to save it for (code person_required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not one of the caller's orgs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: putMeGuidesByGuideId
      x-operation-id-source: derived
  /me/setup/blockers:
    post:
      x-audience: public
      tags:
      - Identity
      summary: Report why the caller stops setting up SHIP
      description: Records the reason a person gives for not finishing setup, with their own words when they add some. An app or agent calls it when the person says why they will not connect a repository or a model key, or will not go on. Each call is a new report.
      parameters:
      - schema:
          type: string
        required: false
        name: orgId
        in: query
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReportSetupBlockerRequest'
      responses:
        '201':
          description: Recorded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SetupBlockerReport'
        '401':
          description: Unauthenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The token acts for no person (code person_required)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not one of the caller's orgs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postMeSetupBlockers
      x-operation-id-source: derived
components:
  schemas:
    SetupAction:
      type:
      - object
      - 'null'
      properties:
        label:
          type: string
          example: Invite a teammate
        path:
          type: string
          example: /settings/team
        url:
          type: string
          format: uri
          example: https://letsship.ai/settings/team
      required:
      - label
      - path
      - url
    SetupProgress:
      type: object
      properties:
        orgId:
          type: string
        reachedCount:
          type: integer
          minimum: 0
        totalCount:
          type: integer
          minimum: 1
        complete:
          type: boolean
        next:
          $ref: '#/components/schemas/SetupMilestoneId'
        activeGroup:
          $ref: '#/components/schemas/SetupGroupId'
        activeGroupProgress:
          type:
          - object
          - 'null'
          properties:
            reachedCount:
              type: integer
              minimum: 0
            totalCount:
              type: integer
              minimum: 1
          required:
          - reachedCount
          - totalCount
        groups:
          type: array
          items:
            $ref: '#/components/schemas/SetupGroup'
        firstMission:
          type:
          - object
          - 'null'
          properties:
            issueId:
              type: string
              example: SFM-1
            orgSlug:
              type: string
            url:
              type: string
              format: uri
          required:
          - issueId
          - orgSlug
          - url
        guides:
          type: array
          items:
            $ref: '#/components/schemas/SetupGuide'
      required:
      - orgId
      - reachedCount
      - totalCount
      - complete
      - next
      - activeGroup
      - activeGroupProgress
      - groups
      - firstMission
      - guides
    SetupBlockerReason:
      type: string
      enum:
      - no-repository
      - want-templates
      - model-keys
      - github-access
      - too-complex
      - price
      - not-now
      - other
    UpdateSetupMilestoneRequest:
      type: object
      properties:
        mark:
          $ref: '#/components/schemas/SetupMark'
      required:
      - mark
    SetupMilestoneId:
      type:
      - string
      - 'null'
      enum:
      - workspace
      - first_mission
      - first_review
      - first_merge
      - preview_deployment
      - agent_instructions
      - mcp_servers
      - custom_sandbox
      - teammate
      - steer_mission
      - checkpoints
      - scheduled_task
      - agent_to_pr
    ReportSetupBlockerRequest:
      type: object
      properties:
        reason:
          allOf:
          - $ref: '#/components/schemas/SetupBlockerReason'
          - description: 'no-repository: no code or no GitHub repository to connect. want-templates: wants to start from a template. model-keys: does not want to set up model keys or credits with a model provider. github-access: does not want to give SHIP access to GitHub. too-complex: the setup is too long or unclear. price: the cost. not-now: only exploring, or will come back later. other: anything else, said in detail.'
        detail:
          type: string
          minLength: 1
          maxLength: 500
          description: The person's own words, when they gave more than the reason.
      required:
      - reason
    Me:
      type: object
      properties:
        principalType:
          type: string
          enum:
          - cookie
          - user
          - service
          - system
          - agent
          description: 'agent: a self-registered agent nobody has claimed yet. It has no user, org, role or scopes, and reaches only /me and /scopes until a person claims it.'
          example: user
        userId:
          type:
          - string
          - 'null'
          example: user_9b8e2a3f3c4d4e5f9a8b
        orgId:
          type:
          - string
          - 'null'
          example: org_7c1f2a
        role:
          $ref: '#/components/schemas/OrgRole'
        capabilities:
          type: array
          items:
            $ref: '#/components/schemas/Capability'
          example:
          - pipeline:control
          - config:write
        scopes:
          type: array
          items:
            type: string
          example:
          - projects:read
          - missions:run
        projectId:
          type:
          - string
          - 'null'
          description: The project this credential is bound to, or null when it is org-wide. A bound token can read and act only on that project, and on nothing org-wide - so a caller can see the boundary it works within rather than discovering it through a 404.
          example: null
      required:
      - principalType
      - userId
      - orgId
      - role
      - capabilities
      - scopes
      - projectId
    SetupGuideId:
      type: string
      enum:
      - mission-control
      - mission-detail
      - mission-results
    SetupBlockerReport:
      type: object
      properties:
        id:
          type: string
        reason:
          $ref: '#/components/schemas/SetupBlockerReason'
        source:
          type: string
          enum:
          - console
          - api
          description: console for a session, api for a token.
        createdAt:
          type: integer
          description: Epoch seconds.
      required:
      - id
      - reason
      - source
      - createdAt
    SetupMilestone:
      type: object
      properties:
        id:
          allOf:
          - $ref: '#/components/schemas/SetupMilestoneId'
          - type: string
        title:
          type: string
          example: Invite a teammate
        description:
          type: string
        reached:
          type: boolean
        status:
          $ref: '#/components/schemas/SetupMilestoneStatus'
        action:
          $ref: '#/components/schemas/SetupAction'
        docsUrl:
          type:
          - string
          - 'null'
          format: uri
      required:
      - id
      - title
      - description
      - reached
      - status
      - action
      - docsUrl
    SetupGroup:
      type: object
      properties:
        id:
          allOf:
          - $ref: '#/components/schemas/SetupGroupId'
          - type: string
        title:
          type: string
          example: Make it yours
        reachedCount:
          type: integer
          minimum: 0
        totalCount:
          type: integer
          minimum: 0
        complete:
          type: boolean
        milestones:
          type: array
          items:
            $ref: '#/components/schemas/SetupMilestone'
      required:
      - id
      - title
      - reachedCount
      - totalCount
      - complete
      - milestones
    UpdateSetupGuideRequest:
      type: object
      properties:
        step:
          type: integer
          minimum: 0
          maximum: 20
        completed:
          type: boolean
          default: false
      required:
      - step
    SetupGuide:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/SetupGuideId'
        step:
          type: integer
          minimum: 0
        completedAt:
          type:
          - integer
          - 'null'
      required:
      - id
      - step
      - completedAt
    OrgRole:
      type:
      - string
      - 'null'
      enum:
      - owner
      - admin
      - member
      example: admin
    Capability:
      type: string
      enum:
      - pipeline:control
      - config:write
      - secrets:reveal
      - org:admin
      - billing:manage
      - site-data:read
      - site-data:write
      example: config:write
    SetupMark:
      type:
      - string
      - 'null'
      enum:
      - completed
      - skipped
    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
    SetupMilestoneStatus:
      type: string
      enum:
      - open
      - reached
      - completed
      - skipped
    SetupGroupId:
      type:
      - string
      - 'null'
      enum:
      - first_mission
      - team
      - explore
    UpdateSetupGroupRequest:
      type: object
      properties:
        mark:
          $ref: '#/components/schemas/SetupMark'
      required:
      - mark
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API token (pat_ or mcp_ prefix)