Typeship Generations API

One attempt to produce one Target from one immutable Spec Revision.

GitHub OpenAPI

Operations 3

GET /generations/{generation_id} Get a Generation #
GET /generations List Generations #
GET /generations/{generation_id}/files List a Generation's files #

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-generations-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-generations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Typeship Generations 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: Generations
  description: One attempt to produce one Target from one immutable Spec Revision.
paths:
  /generations/{generation_id}:
    get:
      operationId: getGeneration
      tags:
      - Generations
      summary: Get a Generation
      description: Returns the status of that Generation. `queued` and `running` mean generation is still in progress. `completed` means generated files are saved, not that repository delivery or a Draft is complete. List its files with listGenerationFiles and read each with getFile.
      security:
      - apiKey: []
      x-typeship-agent:
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
      parameters:
      - $ref: '#/components/parameters/GenerationId'
      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 generation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerationResponse'
              examples:
                Generation:
                  $ref: '#/components/examples/Generation'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
  /generations:
    get:
      operationId: listGenerations
      tags:
      - Generations
      summary: List Generations
      security:
      - apiKey: []
      x-typeship-agent:
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
      parameters:
      - $ref: '#/components/parameters/PageLimit'
      - $ref: '#/components/parameters/PageCursor'
      - name: project_id
        in: query
        schema:
          $ref: '#/components/schemas/ProjectId'
        description: Only Generations in this Project.
      - name: target_id
        in: query
        schema:
          $ref: '#/components/schemas/TargetId'
        description: Only Generations of this Target.
      - name: status
        in: query
        schema:
          $ref: '#/components/schemas/GenerationStatus'
        description: Only Generations with this status.
      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: A page of generations, newest first, without files.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerationList'
              examples:
                GenerationList:
                  $ref: '#/components/examples/GenerationList'
        '400':
          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: A list query parameter is unknown, repeated, empty, or invalid, or the cursor belongs to a different collection or target filter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
  /generations/{generation_id}/files:
    get:
      operationId: listGenerationFiles
      tags:
      - Generations
      summary: List a Generation's files
      description: Lists the generated package's files, ordered by path. Read content with getFile.
      security:
      - apiKey: []
      x-typeship-agent:
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: false
      parameters:
      - $ref: '#/components/parameters/GenerationId'
      - $ref: '#/components/parameters/PageLimit'
      - $ref: '#/components/parameters/PageCursor'
      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: A page of files, ordered by path, without content.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileList'
              examples:
                GenerationFileList:
                  $ref: '#/components/examples/GenerationFileList'
        '400':
          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: A query parameter is unknown, repeated, empty, or invalid, or the cursor belongs to a different file or collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    GitFileMode:
      type: string
      enum:
      - '100644'
      - '100755'
      - '120000'
      description: Git file mode. 100755 is executable; 120000 is a symbolic link whose content is its target.
    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.
    File:
      type: object
      required:
      - id
      - object
      - path
      - size_bytes
      - sha256
      - encoding
      - mode
      - created_at
      properties:
        id:
          $ref: '#/components/schemas/FileId'
        object:
          type: string
          const: file
        path:
          type: string
          description: Path within the Spec Revision, Generation package, or Target package.
        size_bytes:
          type: integer
          minimum: 0
        sha256:
          type: string
          pattern: ^[a-f0-9]{64}$
          description: Digest of the complete file.
        encoding:
          type: string
          enum:
          - utf8
          - base64
          description: 'utf8: content is text. base64: content is base64-encoded binary bytes.'
        mode:
          oneOf:
          - $ref: '#/components/schemas/GitFileMode'
          - type: 'null'
          description: Git file mode for package files; null for Spec source files.
        created_at:
          type: string
          format: date-time
          description: When Typeship first issued this file ID.
    GenerationResponse:
      allOf:
      - $ref: '#/components/schemas/Generation'
      - $ref: '#/components/schemas/ResponseMetadata'
    GenerationTrigger:
      type: string
      enum:
      - manual
      - spec_changed
      - config_changed
      - preview
    DomainError:
      allOf:
      - $ref: '#/components/schemas/ErrorDetail'
      - type: object
        required:
        - phase
        properties:
          phase:
            $ref: '#/components/schemas/FailurePhase'
    GenerationList:
      type: object
      required:
      - object
      - data
      - has_more
      - next_cursor
      - request_id
      properties:
        object:
          $ref: '#/components/schemas/ListObject'
        data:
          type: array
          items:
            $ref: '#/components/schemas/Generation'
        has_more:
          type: boolean
          description: Whether another page is available after this one.
        next_cursor:
          type:
          - string
          - 'null'
          description: Pass this value as cursor to retrieve the next page; null on the last page.
        request_id:
          $ref: '#/components/schemas/RequestId'
    GenerationWarning:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Stable machine-readable warning code.
        message:
          type: string
          description: Human-readable explanation.
        operation:
          type: string
          description: METHOD/path of the affected operation, when applicable.
    ListObject:
      type: string
      const: list
      description: Identifies a cursor-paginated collection.
    GenerationCoverage:
      type: object
      required:
      - generated
      - omitted
      - total
      - omitted_operations
      properties:
        generated:
          type: integer
          minimum: 0
        omitted:
          type: integer
          minimum: 0
        total:
          type: integer
          minimum: 0
        omitted_operations:
          type: array
          items:
            type: string
          description: METHOD/path identities of operations omitted from the package.
        reason:
          type: string
          enum:
          - anonymous
          - free_plan
          description: Present when a plan or anonymous limit omitted operations.
        signup_url:
          type: string
          format: uri
          description: Sign-up link for anonymous capped runs.
        upgrade_url:
          type: string
          format: uri
          description: Upgrade link for capped signed-in runs.
    Error:
      type: object
      required:
      - errors
      - request_id
      properties:
        errors:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/ErrorDetail'
        request_id:
          $ref: '#/components/schemas/RequestId'
    SpecRevisionId:
      type: string
      pattern: ^srev_[a-z0-9]{16}$
      examples:
      - srev_6m1q8v4k2p9d7h3c
      description: Unique identifier for an immutable resolved Spec Revision.
    GenerationId:
      type: string
      pattern: ^gen_[a-z0-9]{16}$
      examples:
      - gen_7h2p5d9c3m8w1k6q
      description: Unique identifier for a generation.
    ResponseMetadata:
      type: object
      required:
      - request_id
      properties:
        request_id:
          $ref: '#/components/schemas/RequestId'
      description: Request-level metadata present at the top level of every JSON response.
    FileId:
      type: string
      pattern: ^file_[a-z0-9]{16}$
      examples:
      - file_4k8m2v7q1p9d5h6c
      description: 'Unique identifier for one immutable file snapshot. An ID always returns the same bytes: a Spec Revision, a Generation, and each Draft side name their own file IDs, and a new Draft commit gets new IDs.'
    FileList:
      type: object
      required:
      - object
      - data
      - has_more
      - next_cursor
      - request_id
      properties:
        object:
          $ref: '#/components/schemas/ListObject'
        data:
          type: array
          items:
            $ref: '#/components/schemas/File'
        has_more:
          type: boolean
        next_cursor:
          type:
          - string
          - 'null'
        request_id:
          $ref: '#/components/schemas/RequestId'
    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.
    Generation:
      type: object
      required:
      - id
      - object
      - project_id
      - spec_revision_id
      - status
      - trigger
      - target_id
      - type
      - name
      - version
      - warnings
      - coverage
      - file_count
      - errors
      - runtime_ms
      - created_at
      - updated_at
      properties:
        id:
          $ref: '#/components/schemas/GenerationId'
        object:
          type: string
          const: generation
          readOnly: true
        project_id:
          $ref: '#/components/schemas/ProjectId'
        spec_revision_id:
          oneOf:
          - $ref: '#/components/schemas/SpecRevisionId'
          - type: 'null'
        status:
          $ref: '#/components/schemas/GenerationStatus'
        trigger:
          $ref: '#/components/schemas/GenerationTrigger'
        target_id:
          oneOf:
          - $ref: '#/components/schemas/TargetId'
          - type: 'null'
        type:
          $ref: '#/components/schemas/GeneratorKind'
        name:
          type:
          - string
          - 'null'
          description: Package name; null until known.
        version:
          type:
          - string
          - 'null'
          description: Package version; null until known.
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/GenerationWarning'
        coverage:
          oneOf:
          - $ref: '#/components/schemas/GenerationCoverage'
          - type: 'null'
          description: Operation coverage; null until generation has finished.
        file_count:
          type: integer
          minimum: 0
          description: Generated package files. List them with listGenerationFiles.
        errors:
          type: array
          items:
            $ref: '#/components/schemas/DomainError'
        runtime_ms:
          type:
          - integer
          - 'null'
          minimum: 0
          description: Milliseconds from the start of the run until it completed or failed; null while queued or running.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    GenerationStatus:
      type: string
      enum:
      - queued
      - running
      - completed
      - failed
      description: A Generation moves from queued to running, then completes when its files are saved or fails. Delivery and Draft status are separate.
    RequestId:
      type: string
      pattern: ^req_[a-z0-9]{16}$
      examples:
      - req_3k8m1v6q9p2d7h4c
      description: Server-generated identifier used to correlate this response with Typeship logs.
    GeneratorKind:
      type: string
      enum:
      - cli
      - mcp
      - typescript_sdk
      - python_sdk
      - go_sdk
      description: Package type selected by a Target. Several Targets may use the same type. The CLI is a self-contained command-line package and requires no SDK Target.
    ProjectId:
      type: string
      pattern: ^prj_[a-z0-9]{16}$
      examples:
      - prj_4f8k2m7x9q1v6b3n
      description: Unique identifier for a project.
    FailurePhase:
      type: string
      enum:
      - spec
      - generation
      - delivery
      - publication
      description: The stage that failed. A delivery failure does not change a completed Generation's status.
    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'
    NotFound:
      description: No such resource in this organization.
      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'
      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
  parameters:
    PageCursor:
      name: cursor
      in: query
      description: Opaque cursor from the preceding page's next_cursor. Valid only for the same organization, operation, filters, and ordering that issued it. Omit to start at the first page. Empty or malformed cursors, and cursors issued for different filters, return 400 cursor_invalid; start again from the first page. Repeated cursors return 400 query_param_invalid. The page limit may change between requests.
      schema:
        type: string
        minLength: 1
        maxLength: 2048
        pattern: ^[A-Za-z0-9_-]+$
    PageLimit:
      name: limit
      in: query
      description: Maximum number of resources to return. Omit for 20; otherwise supply base-10 digits representing an integer from 1 to 100. Empty, malformed, or out-of-range values return 400 input_invalid. List query parameters must appear only once; repeated or unrecognized parameters return 400 query_param_invalid.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
    GenerationId:
      name: generation_id
      in: path
      required: true
      schema:
        $ref: '#/components/schemas/GenerationId'
  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
    GenerationFileList:
      summary: Files in a generated package
      value:
        object: list
        data:
        - id: file_7n3q9v2k5m8d1h4c
          object: file
          path: README.md
          size_bytes: 66
          sha256: 2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae
          encoding: utf8
          mode: '100644'
          created_at: '2026-09-23T08:05:00Z'
        has_more: false
        next_cursor: null
        request_id: req_3k8m1v6q9p2d7h4c
    GenerationList:
      summary: Last page of Generations
      value:
        object: list
        data:
        - id: gen_7h2p5d9c3m8w1k6q
          object: generation
          project_id: prj_4f8k2m7x9q1v6b3n
          spec_revision_id: srev_6m1q8v4k2p9d7h3c
          status: completed
          trigger: manual
          target_id: tgt_5m8q2v7k1p9d4h6c
          type: cli
          name: parcel-cli
          version: 1.0.0
          warnings: []
          coverage:
            generated: 12
            omitted: 0
            total: 12
            omitted_operations: []
          file_count: 1
          errors: []
          runtime_ms: 4200
          created_at: '2026-09-23T08:00:00Z'
          updated_at: '2026-09-23T08:00:00Z'
        has_more: false
        next_cursor: null
        request_id: req_3k8m1v6q9p2d7h4c
    Generation:
      summary: Generation with a generated file
      value:
        id: gen_7h2p5d9c3m8w1k6q
        object: generation
        project_id: prj_4f8k2m7x9q1v6b3n
        spec_revision_id: srev_6m1q8v4k2p9d7h3c
        status: completed
        trigger: manual
        target_id: tgt_5m8q2v7k1p9d4h6c
        type: cli
        name: parcel-cli
        version: 1.0.0
        warnings: []
        coverage:
          generated: 12
          omitted: 0
          total: 12
          omitted_operations: []
        file_count: 1
        errors: []
        runtime_ms: 4200
        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.