Get a download link for a saved file

Recover the durable download link for a file saved earlier in this session: returns the file's name, size, content type and its workspace-authenticated download URL, which does not expire. tools.files.save() already returns durableUrl for a file you just saved, so no extra call is needed then.

post/v1/tools/get_file

Request

  • Base URL: https://api.ploti.ai
  • URL: https://api.ploti.ai/v1/tools/get_file
  • Auth: HTTP bearer

Request body

sessionIdstring required

The id start_session returned. Lost it? get_session without an id lists this workspace's open sessions.

fileIdstring required

The file to link, by the id tools.files.save() returned or list_outputs shows.

Response

What the tool returned: its text, any images, and structured data.

textstring required
dataunknown

Changes

No recorded changes to this operation across all 1 revision of this API.