---
title: "Get log export configuration"
method: GET
path: "/compute/funcs/{id}/logs/export"
tags: ["functions"]
---

# Get log export configuration

`GET /compute/funcs/{id}/logs/export`

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.

## Path parameters

- `id` string, required

## Response `200`

Log export configuration retrieved successfully

- FuncLogExportConfigResponse
  - `data` FuncLogExportConfig — Metadata-only view of a function's log export destination. Header values are write-only (encrypted server-side) and never appear in any response.
    - `record_type` 'compute_func_log_export_config'
    - `id` string — Configuration record ID
    - `func_id` string — Function ID this configuration belongs to
    - `endpoint` string, uri — HTTPS OTLP endpoint URL logs are pushed to
    - `enabled` boolean — Whether export is enabled for this function
    - `runtime_export_enabled` boolean — Whether runtime logs (function stdout/stderr) are exported
    - `invocation_export_enabled` boolean — Whether invocation records (one per HTTP request) are exported
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400` — Invalid query parameter
- `401` — Unauthorized
- `404` — Function not found, or no log export destination configured for this function (both return error code 10005)
- `422` — Invalid function ID
- `500` — Internal server error

## Changes

> 99 revisions in range; 1 not diffed.

- **2026-09-21** `673109139443` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/compute/funcs/:id/logs/export/get.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/227c33b1ac9c?raw)
