Skip to main content
Read the Notte skill and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
Source: node-sdk/src/files.ts Metadata of a file by ID. Rejects with FileNotFoundError when unknown.

Parameters

string
required
ID of a file belonging to this session.

Returns

The matching file’s metadata.

Raises

  • NotteAPIError if the storage API request fails.
  • FileNotFoundError if the file ID is unknown or expired.
  • InvalidRequestError if storage has not been bound to a session.