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

# developerLogEntries

> Your store's developer log: API requests, webhook deliveries and function runs, newest first. Filters combine with AND.

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

## Arguments

**after** `String`

Read entries older than this cursor, from `pageInfo.endCursor`.

**apiRequest**

Only API requests, narrowed by its fields.

**fields**

**apiVersion** `String`

API version, e.g. `v2.2` or `v3`.

**method** `String`

HTTP method, e.g. `POST`.

**operation** `String`

Matches the start of a GraphQL operation, which begins with its type, e.g. `query orders`.

**route** `String`

Matches the start of a REST route template, which begins with `/`, e.g. `/v2.2/stores/{storeId}/returns`.

**statusCode** `Int`

HTTP status code Redo returned.

**before** `String`

Read entries newer than this cursor, from `pageInfo.startCursor`.

**errorCode** `String`

Only entries that report this error code.

**first** `Int`

Page size reading older entries (default 25, max 100).

**functionRun**

Only function runs, narrowed by its fields.

**fields**

**source** `String`

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

**target** `String`

Extension target the function implemented.

**kind**

Only entries of this kind. Implied by `apiRequest`, `webhookDelivery` or `functionRun`.

**last** `Int`

Page size reading newer entries (default 25, max 100).

**occurredAfter**

Only entries at or after this instant.

**occurredBefore**

Only entries before this instant.

**outcome**

Only entries with this outcome.

**relatedId** `String`

Only entries about this Redo object id.

**webhookDelivery**

Only webhook deliveries, narrowed by its fields.

**fields**

**eventId** `String`

Every delivery attempt of this event.

**responseStatusCode** `Int`

HTTP status code your endpoint returned.

**topic** `String`

Webhook topic.

## Returns

**developerLogEntries** *required*

A paginated list of DeveloperLogEntry items.

**fields**

**edges** *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** *required*

The item at this edge.

**fields**

**body**

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

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

**nodes** *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

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

**pageInfo** *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

## Example

```graphql theme={null}
query {
  developerLogEntries(after: "...", apiRequest: { ... }, before: "...", errorCode: "...", first: 10, functionRun: { ... }, kind: API_REQUEST, last: 10, occurredAfter: "...", occurredBefore: "...", outcome: FAILURE, relatedId: "...", webhookDelivery: { ... }) {
    nodes {
      durationMs
      entryId
      errorCodes
      id
      occurredAt
      outcome
      relatedIds
    }
    pageInfo { hasNextPage endCursor }
  }
}
```


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