Skip to content

List a room's shared files that are visible to people.

GET
/api/v1/rooms/{slug}/shared-files

Files the room owner marked for the agent only are never listed. Pages may hold fewer than limit entries; continue while nextCursor is present.

slug
required
string

The slug of a room the key’s account owns or co-owns.

limit
integer
default: 100 >= 1 <= 100
cursor
string

A page of files.

Media typeapplication/json
object
files
required
Array<object>
object
fileId
required

Stable id for the content endpoint.

string
filename
required
string
mimeType
required
string
size
required

Bytes.

integer
uploadedAt
required
string format: date-time
description
string
etag

Changes when the file’s content changes.

string
nextCursor
string
Examplegenerated
{
"files": [
{
"fileId": "example",
"filename": "example",
"mimeType": "example",
"size": 1,
"uploadedAt": "2026-04-15T12:00:00Z",
"description": "example",
"etag": "example"
}
],
"nextCursor": "example"
}

Invalid limit.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Missing or invalid developer key.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

The key lacks the required scope, or is not permitted for this room.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Room (or file, or access link) not found. A room the key’s account does not own or co-own is reported the same way.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Rate limit exceeded; back off about a minute.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}