---
title: "List files — your universe's uploads, or one session's files [read]"
method: GET
path: "/files"
tags: ["files"]
---

# List files — your universe's uploads, or one session's files \[read\]

`GET /files`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/files`
- Auth: HTTP bearer

Without `scope_id`, the universe's uploads. `scope_id=sess_…` lists that session's files: the copies minted from message content, channel attachments, and agent-stored files. `ids[]` (≤100) returns exactly those files in one page and cannot be combined with page/limit.

## Query parameters

- `limit` integer
- `page` string
- `ids[]` string[]
- `scope_id` string

## Response `200`

OK

- FileList
  - `data` File[], required: Newest first
    - `type` 'file', required
    - `id` string, required: file_…
    - `created_at` string, date-time, required
    - `filename` string, required
    - `mime_type` string, required
    - `size_bytes` integer, required
    - `downloadable` boolean, required: true for image uploads (readable within the workspace) and for the per-session copies minted when a file rides a message; false for other uploads (write-once)
    - `attach_by_default` boolean, required: Whether every new session in the workspace starts with a read-only copy under /workspace/shared/
    - `expires_at` string, date-time, nullable, required
    - `canonical` object: Optional reference for a currently readable canonical execution-generated meeting file. Ordinary uploads and older unprojected Recall files omit it. This is a discovery reference, not a permission grant: read GET /artifacts/{artifact_id} for current can_discuss and other authoritative controls before using existing private history/comments/policy/delete operations. Generated content remains read-only; no public sharing is implied.
      - `artifact_id` string, required
      - `origin` 'execution', required
      - `version` integer, required
  - `next_page` string, nullable, required: Pass back as ?page= for the next page

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 2 info
  - added the optional property `data/items/canonical` to the response with the `200` status
  - added the optional property `error/request_id` to the response with the `default` status

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/files/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
