v1
Retrieve metadata for a single file by ID. Errors with 404 if the file doesn't exist, has been deleted, or has passed its `expires_at`.
get/v1/files/{file_id}
Request
- Base URL: https://docs.x.ai (the document declares no server; this is the origin it was published from)
- URL: https://docs.x.ai/v1/files/{file_id}
- Auth: HTTP bearer
Path parameters
file_idstring required
The file's id returned by upload or list.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.