# GET /profile/files

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the export group.

List files registered for profile exports

- Who may call it: administrator
- Token scope, any of: settings, read, all
- Answers: 200 OK

The response contains a files array. Each entry indicates whether the file is present on disk. For files that are present, it includes the current mode, owner, group, size, and time of the last change.

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X GET "$API/profile/files" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "files": [
    {
      "changed_at": "text",
      "created_at": "2026-09-09T10:15:00Z",
      "group": "text",
      "id": 1,
      "mode": "text",
      "note": "added by hand",
      "owner": "text",
      "package": {
        "name": "alice",
        "version": "0.0.1"
      },
      "path": "public_html/index.php",
      "present": true,
      "size": 1
    }
  ]
}
```

## Errors

- 401: Authentication required
