Skip to main content
GET
/
open
/
agentic_engine
/
laiye
/
files
/
{file_id}
Get file information
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};

fetch('https://adp-global.laiye.com/open/agentic_engine/laiye/files/{file_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "code": "<string>",
  "message": "<string>",
  "tips": "<string>",
  "data": {}
}

Authorizations

X-API-Key
string
header
required

Path Parameters

file_id
string
required

File ID.

Response

File information.

code
message
string
tips
string | null
data
object