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

# DeveloperLogFunctionRun

> One run of a Redo Function.

**Required scopes:** [`developer_logs_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-developer_logs_read)

**body**

The captured request and response. Null when none was captured or after 30 days.

**fields**

**consoleOutput** `String`

What a function run wrote to the console.

**errorMessage** `String`

A human-readable error message.

**idempotencyKey** `String`

The `Idempotency-Key` sent with an API request.

**request**

The request body for an API request or webhook delivery, or the input of a function run.

**requestHeaders**

Request headers, without credentials. Absent for function runs.

**response**

The response body for an API request or webhook delivery, or the output of a function run.

**responseHeaders**

Response headers. Absent for function runs.

**truncated** `Boolean!` *required*

Whether a body was larger than the capture limit and was cut short.

**durationMs** `Int!` *required*

How long it took, in milliseconds.

**entryId** `String!` *required*

The id Redo gave the request, delivery attempt or run: the API request's `Request-Id` header, the webhook delivery attempt id or the function run id.

**errorCodes** `[String!]!` *required*

Machine-readable error codes. Empty on success.

**id** `ID!` *required*

The id of this entry.

**occurredAt** *required*

When the request, delivery attempt or run started.

**outcome** *required*

Whether it succeeded.

**relatedIds** `[String!]!` *required*

Ids of the Redo objects this entry is about, such as orders or returns. Search by any of them with `relatedId`.

**source** `String!` *required*

What triggered the run, e.g. `checkout`.

**target** `String!` *required*

Extension target the function implemented.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.