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

# List recently active files

GET http://localhost:3100/v1/

Returns files that had at least one status activity in the past one(1) month.

* \[fileId] is the unique identifier for the file.
* \[latestTimestamp] is from the most recent FileStatusHistory entry.
* \[statusHistoryUrl] is a relative path like /status/files/\{fileId}.
* \[status] is the latest known status for the file.
  Only includes files where fileId is not null or blank.

Reference: https://cla-demo.postmansolutions.com/api-reference/status-check/files/list-recent

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Response

### 200

List of recently active files

- `list of V1GetResponsesContentApplicationJsonSchemaItems`

## Types

### V1GetResponsesContentApplicationJsonSchemaItems

- `fileId` (string, required) — Unique ID of the file
- `latestTimestamp` (datetime, required) — Latest timestamp from FileStatusHistory (ISO-8601)
- `statusHistoryUrl` (string, required) — Relative path to status history (e.g., /status/files/\{fileId})
- `status` (string, required) — Current status of the file
- `malwareScanStatus` (string, required, nullable) — Malware scan status of the file

## Examples

**Response**

```json
[
  {
    "fileId": "C4771705-2151-4A07-902D-607BA6F224C5",
    "latestTimestamp": "2024-01-15T09:30:00Z",
    "statusHistoryUrl": "/status/files/C4771705-2151-4A07-902D-607BA6F224C5",
    "status": "validated",
    "malwareScanStatus": null
  },
  {
    "fileId": "0DD5050C-BAF3-49A4-97A5-25428BC70C9C",
    "latestTimestamp": "2024-01-15T09:30:00Z",
    "statusHistoryUrl": "/status/files/0DD5050C-BAF3-49A4-97A5-25428BC70C9C",
    "status": "accepted",
    "malwareScanStatus": "No threats found"
  },
  {
    "fileId": "20212166-141D-41F6-B8F3-1968DF20999E",
    "latestTimestamp": "2024-01-15T09:30:00Z",
    "statusHistoryUrl": "/status/files/20212166-141D-41F6-B8F3-1968DF20999E",
    "status": "accepted",
    "malwareScanStatus": "No threats found"
  }
]
```

**SDK Code**

```python files_listRecent_example
import requests

url = "http://localhost:3100/v1/"

headers = {"Authorization": "Bearer <token>"}

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

print(response.json())
```

```javascript files_listRecent_example
const url = 'http://localhost:3100/v1/';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

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

```go files_listRecent_example
package main

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

func main() {

	url := "http://localhost:3100/v1/"

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

	req.Header.Add("Authorization", "Bearer <token>")

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

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

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

}
```

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

url = URI("http://localhost:3100/v1/")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

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

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

HttpResponse<String> response = Unirest.get("http://localhost:3100/v1/")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://localhost:3100/v1/', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp files_listRecent_example
using RestSharp;

var client = new RestClient("http://localhost:3100/v1/");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift files_listRecent_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "http://localhost:3100/v1/")! 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()
```