pub async fn retrieve_file_metadata(
client: &OpenAIClient,
file_id: &str,
) -> Result<FileObject, OpenAIError>Expand description
Retrieves metadata about a specific file by its ID.
§Parameters
file_id- The file ID, e.g. “file-abc123”
§Returns
A FileObject representing the file’s metadata.