> ## 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.

# List function revisions

> Lists a function's ship history newest first, including per-ship failure stage and reason when recorded.



## OpenAPI

````yaml /openapi/source/external/edge-compute/functions-observability.json get /compute/funcs/{id}/revisions
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}/revisions:
    get:
      tags:
        - functions
      summary: List function revisions
      description: >-
        Lists a function's ship history newest first, including per-ship failure
        stage and reason when recorded.
      operationId: ListComputeFunctionRevisions
      parameters:
        - name: id
          in: path
          required: true
          description: Function ID
          schema:
            type: string
        - name: page[number]
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: page[size]
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 250
            default: 10
      responses:
        '200':
          description: Function revisions retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevisionListResponse'
              example:
                meta:
                  total_pages: 1
                  total_results: 2
                  page_number: 1
                  page_size: 10
                data:
                  - record_type: compute_func_revision
                    revision_id: rev-01998f0a
                    image: registry.example/function@sha256:abc
                    commit_sha: 3f8a1c2
                    shipped_by: user@example.com
                    shipped_at: '2026-09-09T15:45:00.000Z'
                    build_status: build_ok
                    deploy_status: deploy_ok
                    active: true
                    build_ok_at: '2026-09-09T15:44:41.000Z'
                  - record_type: compute_func_revision
                    revision_id: ''
                    image: ''
                    commit_sha: 0d9c123
                    shipped_by: user@example.com
                    shipped_at: '2026-09-09T14:30:00.000Z'
                    build_status: build_failed
                    deploy_status: pending
                    active: false
                    failure_stage: build
                    failure_reason: TypeScript compilation failed.
        '400':
          description: Invalid function ID
        '401':
          description: Unauthorized
        '404':
          description: Function not found
        '500':
          description: Internal server error
components:
  schemas:
    RevisionListResponse:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/PaginationMeta'
        data:
          type: array
          items:
            $ref: '#/components/schemas/Revision'
    PaginationMeta:
      type: object
      properties:
        total_pages:
          type: integer
        total_results:
          type: integer
        page_number:
          type: integer
        page_size:
          type: integer
    Revision:
      type: object
      properties:
        record_type:
          type: string
        revision_id:
          type: string
        image:
          type: string
        commit_sha:
          type: string
        shipped_by:
          type: string
        shipped_at:
          type: string
          format: date-time
        build_status:
          type: string
        deploy_status:
          type: string
        active:
          type: boolean
        failure_stage:
          type: string
        failure_reason:
          type: string
        build_ok_at:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````