Typeship Organization API

The organization behind the presented credential and its defaults.

GitHub OpenAPI

Operations 1

GET /organization Get the Organization #

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/typeship-dev:typeship-dev-organization-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

typeship-dev-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Typeship Organization API
  version: 1.0.0
  description: 'Resolve an OpenAPI or GraphQL Spec, diagnose it, and keep every

    selected CLI, MCP, and SDK Target current.


    Every operation but one requires a bearer credential: an organization

    API key from the console, or an OAuth access token carrying the operation''s

    read, generate, or write capability and the organization selected during

    consent. OAuth grants cannot switch organizations after consent. A browser

    session is not a credential for this API. The exception is POST /generate,

    which works anonymously with the free plan''s limits.


    Examples use Parcel, a fictional delivery service. Replace its domains,

    repository names, and resource identifiers with your own. The hosted

    petstore Spec is a runnable sample.'
servers:
- url: https://typeship.dev/api/v1
tags:
- name: Organization
  description: The organization behind the presented credential and its defaults.
paths:
  /organization:
    get:
      operationId: getOrganization
      tags:
      - Organization
      summary: Get the Organization
      description: Returns the organization associated with your credential. The Typeship CLI uses this endpoint for `whoami`.
      security:
      - apiKey: []
      x-typeship-agent:
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
      responses:
        '200':
          headers:
            Request-Id:
              $ref: '#/components/headers/RequestId'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimitLimit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimitReset'
          description: The authenticated organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
              examples:
                Organization:
                  $ref: '#/components/examples/Organization'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    ErrorCode:
      type: string
      enum:
      - input_invalid
      - input_missing
      - input_type_invalid
      - input_format_invalid
      - input_too_long
      - input_too_short
      - input_duplicate
      - input_unknown
      - query_param_invalid
      - cursor_invalid
      - method_not_allowed
      - resource_not_found
      - idempotency_key_invalid
      - idempotency_key_reused
      - idempotency_key_in_use
      - auth_required
      - api_key_invalid
      - token_invalid
      - organization_required
      - insufficient_scope
      - role_insufficient
      - rate_limit_exceeded
      - feature_not_available
      - quota_exceeded
      - spec_invalid
      - spec_too_large
      - spec_unreachable
      - repository_provider_unsupported
      - repository_disconnected
      - repository_unavailable
      - target_busy
      - targets_inactive
      - no_draft
      - draft_merged
      - resource_changed
      - precondition_failed
      - version_invalid
      - version_occupied
      - version_too_low
      - target_already_released
      - adoption_unverified
      - publication_disabled
      - publication_not_retryable
      - publication_recovery_unavailable
      - publication_failed
      - delivery_conflict
      - delivery_exists
      - resource_has_dependencies
      - customization_conflict
      - checks_failed
      - draft_title_invalid
      - history_recovery_required
      - checks_unavailable
      - regeneration_failed
      - follow_up_failed
      - api_error
      description: Stable programmatic identifier. Do not branch on message.
    TargetId:
      type: string
      pattern: ^tgt_[a-z0-9]{16}$
      examples:
      - tgt_5m8q2v7k1p9d4h6c
      description: Stable identifier for one configured generated product.
    FailurePhase:
      type: string
      enum:
      - spec
      - generation
      - delivery
      - publication
      description: The stage that failed. A delivery failure does not change a completed Generation's status.
    ErrorDetail:
      type: object
      required:
      - type
      - code
      - message
      - retryable
      - suggested_action
      - docs_url
      properties:
        type:
          $ref: '#/components/schemas/ErrorType'
        code:
          $ref: '#/components/schemas/ErrorCode'
        phase:
          $ref: '#/components/schemas/FailurePhase'
        target_id:
          $ref: '#/components/schemas/TargetId'
          description: The affected Target when an operation reports failures for multiple Targets.
        field:
          type: string
          description: JSON Pointer to the invalid field within the request part named by in. When in is omitted, the pointer refers to the request body. Header pointers use lowercase header names, such as /idempotency-key.
        in:
          type: string
          enum:
          - body
          - query
          - header
          description: Request part containing field. Query-parameter errors use query; header errors use header. Body errors use body or omit in.
        message:
          type: string
          description: Human-readable explanation. Its wording may change.
        retryable:
          type: boolean
          description: Whether another attempt can succeed without correcting the inputs. For a recorded failure, start generation or publishing again; retrieving the resource or replaying an idempotency key does not start another attempt.
        suggested_action:
          type: string
          description: Stable, concise recovery instruction suitable for a person or agent.
        docs_url:
          type: string
          format: uri
          description: Documentation for this class of error.
    RequestId:
      type: string
      pattern: ^req_[a-z0-9]{16}$
      examples:
      - req_3k8m1v6q9p2d7h4c
      description: Server-generated identifier used to correlate this response with Typeship logs.
    Organization:
      type: object
      description: The organization an API key belongs to. Members share its projects, keys, and plan; sign-in identity is not part of the API.
      required:
      - id
      - object
      - name
      - plan
      - created_at
      - updated_at
      - request_id
      properties:
        id:
          type: string
          readOnly: true
          description: Opaque, output-only organization identifier. Copy it unchanged; its format is not a contract.
        object:
          type: string
          const: organization
        name:
          type: string
          description: The organization's display name.
        plan:
          type: string
          enum:
          - free
          - pro
          - enterprise
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        request_id:
          $ref: '#/components/schemas/RequestId'
    Error:
      type: object
      required:
      - errors
      - request_id
      properties:
        errors:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/ErrorDetail'
        request_id:
          $ref: '#/components/schemas/RequestId'
    ErrorType:
      type: string
      enum:
      - request
      - auth
      - idempotency
      - rate_limit
      - organization
      - source
      - api
      description: 'Who can resolve the error. request: change the request. auth: fix the credential or its grant. idempotency: change or wait on the Idempotency-Key. rate_limit: wait before retrying. organization: the organization''s plan must change. source: a system you own failed, such as the Spec URL, repository, or package registry. api: Typeship failed.'
  responses:
    RateLimited:
      description: Too many requests, or an identical write is still in progress. Wait for Retry-After before retrying.
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
        Idempotency-Replayed:
          $ref: '#/components/headers/IdempotencyReplayed'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            RateLimitError:
              $ref: '#/components/examples/RateLimitError'
    Unauthorized:
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      description: Missing, invalid, expired, or revoked credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      description: An unexpected error prevented the request from completing.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      headers:
        Request-Id:
          $ref: '#/components/headers/RequestId'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      description: The credentials are valid but cannot act on the requested organization.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    IdempotencyReplayed:
      description: Whether this is a replay of the original response for the supplied Idempotency-Key.
      schema:
        type: boolean
    RateLimitLimit:
      description: Maximum requests in the evaluated rate-limit window. Omitted when no budget was evaluated, including idempotency replays.
      schema:
        type: integer
        minimum: 1
    RateLimitReset:
      description: Seconds until the evaluated rate-limit window resets, measured when the response is sent. Zero means that window has ended. Omitted when no budget was evaluated.
      schema:
        type: integer
        minimum: 0
    RequestId:
      description: Server-generated identifier used to correlate this response with Typeship logs.
      schema:
        $ref: '#/components/schemas/RequestId'
    RateLimitRemaining:
      description: Requests remaining immediately after this request evaluated its budget. Concurrent requests can consume this allowance. Omitted when no budget was evaluated.
      schema:
        type: integer
        minimum: 0
    RetryAfter:
      description: Seconds to wait before retrying the request.
      schema:
        type: integer
        minimum: 1
  examples:
    RateLimitError:
      summary: Too many requests.
      value:
        errors:
        - type: rate_limit
          code: rate_limit_exceeded
          message: Too many requests.
          retryable: true
          suggested_action: Wait for the Retry-After interval before retrying.
          docs_url: https://typeship.dev/docs/typeship-api/errors#rate_limit_exceeded
        request_id: req_3k8m1v6q9p2d7h4c
    Organization:
      summary: Parcel organization
      value:
        id: org_2nY8mR6pQ4vK9cH3
        object: organization
        name: Parcel
        plan: pro
        created_at: '2026-09-23T08:00:00Z'
        updated_at: '2026-09-23T08:00:00Z'
        request_id: req_3k8m1v6q9p2d7h4c
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Organization API key from the console (`ak_...`), or an OAuth access token with `user:org:read`, the organization selected during consent, and the capability required by the operation.