# Browse the caller's OneDrive

One page of the files in the Microsoft account THIS CALLER connected in Settings - id, name, mimeType, modifiedTime, sizeBytes, webUrl and owner. With no ?q= it is their recent files; ?q= searches the whole drive by name (quoted here, never OData). Folders are left out. ?pageToken= continues with the nextPageToken the last page gave. Reach for it to find the Excel workbook, PDF or csv a person means before attaching it. Answers 409 when the caller has connected no Microsoft account - the fix is Settings, not a retry.

Access class: `workspace`.

## Endpoint

`GET /v1/onedrive/files`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
