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

# Get log export configuration

> Returns the function's configured log export destination and which log types are exported. Headers are never returned. Returns 404 (error code 10005) when no destination is configured for the function.



## OpenAPI

````yaml /openapi/source/external/edge-compute/functions-observability.json get /compute/funcs/{id}/logs/export
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'
  x-latency-category: responsive
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
paths:
  /compute/funcs/{id}/logs/export:
    get:
      tags:
        - functions
      summary: Get log export configuration
      description: >-
        Returns the function's configured log export destination and which log
        types are exported. Headers are never returned. Returns 404 (error code
        10005) when no destination is configured for the function.
      operationId: GetComputeFunctionLogExport
      parameters:
        - name: id
          in: path
          required: true
          description: Function ID
          schema:
            type: string
      responses:
        '200':
          description: Log export configuration retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FuncLogExportConfigResponse'
              examples:
                configured:
                  value:
                    data:
                      record_type: compute_func_log_export_config
                      id: cfg-1
                      func_id: 6b7e8f9a-1c2d-3e4f-5a6b-7c8d9e0f1a2b
                      endpoint: https://api.honeycomb.io/v1/logs
                      enabled: true
                      runtime_export_enabled: true
                      invocation_export_enabled: true
                      created_at: '2026-09-18T14:30:00.000Z'
                      updated_at: '2026-09-21T18:00:00.000Z'
        '400':
          description: Invalid query parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                error:
                  value:
                    errors:
                      - code: '10020'
                        title: Unprocessable entity
                        detail: Request could not be processed.
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                error:
                  value:
                    errors:
                      - code: '10001'
                        title: Unauthorized
                        detail: Invalid or missing API key.
        '404':
          description: >-
            Function not found, or no log export destination configured for this
            function (both return error code 10005)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                error:
                  value:
                    errors:
                      - code: '10005'
                        title: Resource not found
                        detail: The requested resource or URL could not be found.
        '422':
          description: Invalid function ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                error:
                  value:
                    errors:
                      - code: '10020'
                        title: Unprocessable entity
                        detail: Request could not be processed.
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                error:
                  value:
                    errors:
                      - code: '10010'
                        title: Internal server error
                        detail: An unexpected error occurred.
components:
  schemas:
    FuncLogExportConfigResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/FuncLogExportConfig'
    Errors:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
    FuncLogExportConfig:
      type: object
      description: >-
        Metadata-only view of a function's log export destination. Header values
        are write-only (encrypted server-side) and never appear in any response.
      properties:
        record_type:
          type: string
          enum:
            - compute_func_log_export_config
        id:
          type: string
          description: Configuration record ID
        func_id:
          type: string
          description: Function ID this configuration belongs to
        endpoint:
          type: string
          format: uri
          description: HTTPS OTLP endpoint URL logs are pushed to
        enabled:
          type: boolean
          description: Whether export is enabled for this function
        runtime_export_enabled:
          type: boolean
          description: Whether runtime logs (function stdout/stderr) are exported
        invocation_export_enabled:
          type: boolean
          description: Whether invocation records (one per HTTP request) are exported
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        code:
          type: string
        title:
          type: string
        detail:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````