> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.athenaintel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.athenaintel.com/_mcp/server.

# List automation run assets

GET https://api.athenaintel.com/api/v0/automations/runs/{run_id}/assets

List the assets a run created that the caller may view, oldest first: the documents, spreadsheets, presentations and other assets made in the sessions the run's `aop_run` and `agent_run` steps opened, each with the steps whose session made it. Read while a run is going, it lists what exists so far. An asset the caller may not view is left out. An asset a `tool` step created directly is not listed here (its id is in that step's output), nor is one a `call_automation` child run created (read the child run's assets by its own run id). Only the run's subject (who started it, or the owner of the trigger that did) and its participants (its approvers) read a run's assets; anyone else gets 403.

Reference: https://docs.athenaintel.com/api-reference/automations/list-run-assets

## Authentication

- `X-API-KEY` header (required) — API Key authentication via header

## Request

### Path parameters

- `run_id` (string, required) — Unique identifier of the run

## Response

### 200

The run's assets the caller may view

- `automation_asset_id` (string, required)
- `items` (list of AutomationRunAssetOut, required)
- `run_id` (string, required)
- `truncated` (boolean, required) — True when the run created more assets than one read returns and the newest were left out

## Errors

### 403 Forbidden Error

The Automations gate denied, no access to the asset, or the caller is neither the run's subject nor one of its participants

- `detail` (AutomationsDenialDetailOut, required) — ``detail`` of the 403 the Automations gate returns.

### 404 Not Found Error

Run not found

- `message` (string, required)

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### AutomationRunAssetOut

One asset a run's sessions created, as the caller may view it.

- `asset_id` (string, required)
- `asset_type` (string, required) — The asset's type (document, spreadsheet, presentation, ...)
- `created_at` (datetime, required)
- `parent_folder_id` (string, required, nullable)
- `step_ids` (list of string, required) — The steps (step_id) whose session created the asset
- `title` (string, required)
- `updated_at` (datetime, required)
- `workspace_id` (string, required, nullable)

### AutomationsDenialDetailOut

``detail`` of the 403 the Automations gate returns.

- `hint` (string, required) — The next step that lifts the denial
- `message` (string, required) — Human-readable denial
- `reason` (enum, required) — Which of the gate's three checks failed: the deployment has Automations off, the caller is not a member of the workspace, or the workspace is not enrolled
  - Allowed values: `not_provisioned`, `not_permitted`, `workspace_not_enrolled`
- `code` ("AUTOMATIONS_UNAVAILABLE", optional, default: AUTOMATIONS_UNAVAILABLE) — Stable code for a denial by the Automations gate

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `ctx` (ValidationErrorCtx, optional)
- `input` (any, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Response**

```json
{
  "automation_asset_id": "asset_92492920-d118-42d3-95b4-00eccfe0754f",
  "items": [
    {
      "asset_id": "asset_3f6c1a52-8f4e-4c0b-9a57-2f1b6d0e7c11",
      "asset_type": "document",
      "created_at": "2026-09-21T12:31:00Z",
      "parent_folder_id": "string",
      "step_ids": [
        "write_digest"
      ],
      "title": "Exceptions digest, 21 September",
      "updated_at": "2026-09-21T12:31:00Z",
      "workspace_id": "workspace_abc123"
    }
  ],
  "run_id": "arun_7f3b2c1d9e8a4b5c",
  "truncated": false
}
```

**SDK Code**

```python
import requests

url = "https://api.athenaintel.com/api/v0/automations/runs/run_id/assets"

headers = {"X-API-KEY": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.athenaintel.com/api/v0/automations/runs/run_id/assets';
const options = {method: 'GET', headers: {'X-API-KEY': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.athenaintel.com/api/v0/automations/runs/run_id/assets"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-KEY", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.athenaintel.com/api/v0/automations/runs/run_id/assets")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.athenaintel.com/api/v0/automations/runs/run_id/assets")
  .header("X-API-KEY", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.athenaintel.com/api/v0/automations/runs/run_id/assets', [
  'headers' => [
    'X-API-KEY' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.athenaintel.com/api/v0/automations/runs/run_id/assets");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-KEY", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-KEY": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.athenaintel.com/api/v0/automations/runs/run_id/assets")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```