---
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`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/compute/funcs/{id}/logs/export`
- Auth: HTTP bearer

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

- **2026-10-21** `67df31283a8a`: 5 breaking, 5 info
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `400`
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `401`
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `404`
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `422`
  - …6 more
- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

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

---

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