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

# DeveloperLogApiRequest

> A request to the Redo public API.

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

**apiVersion** `String!` *required*

API version of the request, e.g. `v2.2` or `v3`.

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

**method** `String!` *required*

HTTP method, e.g. `POST`.

**occurredAt** *required*

When the request, delivery attempt or run started.

**operation** `String`

Type and name of a GraphQL operation, e.g. `query orders`. Null for REST requests.

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

**route** `String`

Route template of a REST request, e.g. `/v2.2/stores/{storeId}/returns`. Null for GraphQL requests.

**statusCode** `Int!` *required*

HTTP status code Redo returned.

**tokenSuffix** `String!` *required*

Last characters of the API token that made the request.


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