> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect latest function ship

> Returns the latest ship outcome. The stage is `none` on success, `pending` while building, or a failure stage such as `build`, `platform`, `pre_build`, `deploy`, or `security_review`. This stage-neutral customer-facing path is an alias over the same inspection resource as `build_log_inspection`.



## OpenAPI

````yaml /openapi/source/external/edge-compute/functions-observability.json get /compute/funcs/{id}/ship_inspection
openapi: 3.1.0
info:
  title: Edge Compute Function Observability API
  description: >-
    Customer-facing Edge Compute function logs, metrics, deployment history, and
    ship inspection.
  version: '1.0'
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
paths:
  /compute/funcs/{id}/ship_inspection:
    get:
      tags:
        - functions
      summary: Inspect latest function ship
      description: >-
        Returns the latest ship outcome. The stage is `none` on success,
        `pending` while building, or a failure stage such as `build`,
        `platform`, `pre_build`, `deploy`, or `security_review`. This
        stage-neutral customer-facing path is an alias over the same inspection
        resource as `build_log_inspection`.
      operationId: GetComputeFunctionShipInspection
      parameters:
        - name: id
          in: path
          required: true
          description: Function ID
          schema:
            type: string
      responses:
        '200':
          description: Latest ship inspection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShipInspectionResponseWrapper'
              example:
                data:
                  record_type: build_log_inspection
                  runtime: node
                  stage: build
                  reason: >-
                    index.ts(8,7): error TS2322: Type 'string' is not assignable
                    to type 'number'.
                  snippet: 'index.ts(8,7): error TS2322'
                  created_at: '2026-09-09T15:30:00.000Z'
        '404':
          description: Function or inspectable ship outcome not found
        '422':
          description: Invalid function ID
        '500':
          description: Internal server error
components:
  schemas:
    ShipInspectionResponseWrapper:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/ShipInspection'
    ShipInspection:
      type: object
      properties:
        record_type:
          type: string
          const: build_log_inspection
          description: Stable record type retained by both inspection path aliases.
        runtime:
          type: string
        stage:
          type: string
          enum:
            - build
            - platform
            - pre_build
            - deploy
            - security_review
            - none
            - pending
        reason:
          type: string
        snippet:
          type: string
        created_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````