Question to a spacific assistent or file_id via API

Hi guys, is it possible to limit the knowledge base on a pdf file via API? If so, where can I get in the documentation
Thanks in advance