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

# Browse a connected account or one of its sources

GET https://api.athenaintel.com/api/v0/connectors/{catalog_asset_id}/items

List one page of what a connected account or a source holds, read with the caller's own sign-in. Start from a connected account's catalog (the `catalogId` the React SDK's `useAthenaConnectors` gives for each account): its items are its sources (a OneDrive, SharePoint sites). List a source's `catalog_asset_id` for its libraries, folders and files, and pass `folder_id` to open a library or a folder. The caller needs a connected account of their own for the source: being able to see a colleague's catalog is answered 403 `connect_your_own`, and nothing is asked of the provider. Listings carry names and ids, never a token or a signed download link.

Reference: https://docs.athenaintel.com/api-reference/connectors/list-items

## Authentication

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

## Request

### Path parameters

- `catalog_asset_id` (string, required) — The catalog of a connected account, or of one of its sources.

### Query parameters

- `folder_id` (string, optional, nullable) — The id of a library or a folder of the source to open. Omit for the top level.
- `page_token` (string, optional, nullable) — The next_page_token of the page before, for the next one.

## Response

### 200

Successful Response

- `catalog_asset_id` (string, required) — The catalog that was listed.
- `items` (list of ConnectorItemOut, required)
- `kind` (string, required) — What was listed: microsoft_365 (a connected account: its items are sources), sharepoint_site or onedrive.
- `next_page_token` (string, optional, nullable) — Pass as page_token, with the same catalog_asset_id and folder_id, for the next page. Opaque. Null on the last page.

## Errors

### 400 Bad Request Error

unsupported_source: the asset is not a connected account or a source this API can browse. invalid_item_id, invalid_page_token, not_a_folder: the request names something the source cannot list.

- `detail` (ConnectorRefusalOutDetail, required) — An object with a code and a message, or a plain sentence for a refusal of the credential, the workspace, the destination folder or the size of the request body.

### 403 Forbidden Error

connect_your_own: the caller may see the catalog and never connected it themself; nothing was asked of the provider. needs_reconnect: their sign-in no longer works. not_enabled: the workspace has the connector switched off. access_denied: the catalog or the provider refuses the caller. The credential is not one the person holds themselves (a runtime's, a preview's, an agent's, the viewer credential of someone else's app): detail is a sentence.

- `detail` (ConnectorRefusalOutDetail, required) — An object with a code and a message, or a plain sentence for a refusal of the credential, the workspace, the destination folder or the size of the request body.

### 404 Not Found Error

source_not_found: no catalog has this id, or it is in a workspace the caller does not belong to; both are answered alike. item_not_found: the source has no such item.

- `detail` (ConnectorRefusalOutDetail, required) — An object with a code and a message, or a plain sentence for a refusal of the credential, the workspace, the destination folder or the size of the request body.

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

### 502 Bad Gateway Error

source_unavailable: the provider failed.

- `detail` (ConnectorRefusalOutDetail, required) — An object with a code and a message, or a plain sentence for a refusal of the credential, the workspace, the destination folder or the size of the request body.

### 503 Service Unavailable Error

source_busy: the provider is throttling, or the caller's sign-in is being renewed. Retry-After says how long to wait.

- `detail` (ConnectorRefusalOutDetail, required) — An object with a code and a message, or a plain sentence for a refusal of the credential, the workspace, the destination folder or the size of the request body.

## Types

### ConnectorItemOut

One item of a listing. Names and ids only.

- `catalog_asset_id` (string, required) — The catalog to name on the next call for this item. To open a source, list its catalog_asset_id with no folder_id. To open a library or a folder, list its catalog_asset_id with folder_id set to its id. To import a file, post its id to its catalog_asset_id.
- `id` (string, required) — The item's id in its source. For a source, its catalog asset id.
- `importable` (boolean, required) — Whether POST /connectors/\{catalog\_asset\_id}/items/import brings this item in as an asset.
- `name` (string, required) — The item's name.
- `type` (enum, required) — source: a source of a connected account (a OneDrive, a SharePoint site). library: a document library. folder: a folder. file: a file.
  - Allowed values: `source`, `library`, `folder`, `file`
- `mime_type` (string, optional, nullable) — A file's media type, when the source names one.
- `modified_at` (string, optional, nullable) — When the item last changed, as the source says (ISO 8601).
- `size` (integer, optional, nullable) — A file's size in bytes.
- `source_kind` (string, optional, nullable) — For a source, its kind (onedrive, sharepoint_site); else null.
- `web_url` (string, optional, nullable) — The item's own address in the outside system, which asks for the person's sign-in there. Never a signed download link.

### ConnectorRefusalOutDetail

An object with a code and a message, or a plain sentence for a refusal of the credential, the workspace, the destination folder or the size of the request body.

- ConnectorRefusalDetailOut: ConnectorRefusalDetailOut
- string

### ValidationError

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

### ConnectorRefusalDetailOut

- `code` (string, required) — What was refused; see the route's responses.
- `message` (string, required) — A sentence for a person.
- `catalog_asset_id` (string, optional, nullable) — The catalog asked about, when the caller may know it exists.
- `max_bytes` (integer, optional, nullable) — With file_too_large: the largest file an import takes.

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Response**

```json
{
  "catalog_asset_id": "asset_6c1f0a52-0d3b-4f0e-8a44-1f6f1c2f9b10",
  "items": [
    {
      "catalog_asset_id": "asset_6c1f0a52-0d3b-4f0e-8a44-1f6f1c2f9b10",
      "id": "01YV4OGDCNIQCANEGYG5CJQGHPQ3RRODCH",
      "importable": true,
      "name": "Engagement letter.docx",
      "type": "file",
      "mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
      "modified_at": "2026-11-18T09:12:44Z",
      "size": 48213,
      "web_url": "https://contoso.sharepoint.com/sites/matters/Engagement%20letter.docx"
    }
  ],
  "kind": "sharepoint_site"
}
```

**SDK Code**

```python
import requests

url = "https://api.athenaintel.com/api/v0/connectors/catalog_asset_id/items"

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

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

print(response.json())
```

```javascript
const url = 'https://api.athenaintel.com/api/v0/connectors/catalog_asset_id/items';
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/connectors/catalog_asset_id/items"

	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/connectors/catalog_asset_id/items")

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/connectors/catalog_asset_id/items")
  .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/connectors/catalog_asset_id/items', [
  'headers' => [
    'X-API-KEY' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.athenaintel.com/api/v0/connectors/catalog_asset_id/items");
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/connectors/catalog_asset_id/items")! 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()
```