# AgentRunLogFile (/api/reference/objects/agent-run-log-file)

The full, redacted log of an agent run, kept as a file.

```graphql
type AgentRunLogFile {
  createdAt: DateTime!
  downloadFilename: String!
  downloadPath: String!
  filename: String!
  id: ID!
  sha256: String!
  sizeBytes: Int!
  viewPath: String!
}
```

### Fields [#fields]

#### [`AgentRunLogFile.createdAt`](#created-at) · [`DateTime!`](/api/reference/scalars/date-time) `non-null` `scalar` [#created-at]
When the file was stored.

#### [`AgentRunLogFile.downloadFilename`](#download-filename) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#download-filename]
The name to save it under: `filename`, with `.gz` added when the download is compressed.

#### [`AgentRunLogFile.downloadPath`](#download-path) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#download-path]
The path on this API's host that returns the stored file, compressed when it was stored compressed. Request it with the same credentials as this API.

#### [`AgentRunLogFile.filename`](#filename) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#filename]
The file's name.

#### [`AgentRunLogFile.id`](#id) · [`ID!`](/api/reference/scalars/id) `non-null` `scalar` [#id]
The file's id.

#### [`AgentRunLogFile.sha256`](#sha-256) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#sha-256]
The SHA-256 of the stored file, in hex, to check a download against.

#### [`AgentRunLogFile.sizeBytes`](#size-bytes) · [`Int!`](/api/reference/scalars/int) `non-null` `scalar` [#size-bytes]
The size of the stored file, in bytes.

#### [`AgentRunLogFile.viewPath`](#view-path) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#view-path]
The path on this API's host that returns the log as plain text. Request it with the same credentials as this API: it is not a link a browser can open by itself.

### Member Of [#member-of]

[`AgentRun`](/api/reference/objects/agent-run)  `object`