Skip to main content
GET
/
api
/
files
/
public
/
preview
/
{file_id}
Public Preview File
curl --request GET \
  --url https://api.example.com/api/files/public/preview/{file_id}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.xagent.run/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

file_id
string
required

Query Parameters

relative_path
string | null

Response

Successful Response