Skip to main content
Question

Is there a quick way to get file name by file id?

  • May 22, 2025
  • 1 reply
  • 8 views

Forum|alt.badge.img

for python box api

Is there a quick way to get file name by file id?

1 reply

Forum|alt.badge.img

 If you're using the Box Python SDK and know the ID of the file, you can do something like this:

 

file_name = client.file(file_id).get().name