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

# developerLogEntry

> One developer log entry by its `entryId`, such as the `Request-Id` of an API response, or by its `id`. Null when no such entry exists in your store.

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

## Arguments

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

The entry's `entryId` or `id`.

## Returns

**developerLogEntry**

One API request, webhook delivery or function run in your store's developer log. Entries are kept for one year.

**fields**

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

**Possible types:** [`DeveloperLogApiRequest`](https://developers.redo.com/docs/api-reference/v3/reference/developer/developer-log-api-request), [`DeveloperLogFunctionRun`](https://developers.redo.com/docs/api-reference/v3/reference/developer/developer-log-function-run), [`DeveloperLogWebhookDelivery`](https://developers.redo.com/docs/api-reference/v3/reference/developer/developer-log-webhook-delivery)

## Example

```graphql theme={null}
query {
  developerLogEntry(id: "...") {
    durationMs
    entryId
    errorCodes
    id
    occurredAt
    outcome
    relatedIds
  }
}
```


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