Use pdfreader extension via api

i am using pdf reader extension in chat gpt dashboard, it’s working fine for my use case, I want to use it via REST API (python openai library) , is there any way to use this, it would much great help if it works in assistant v2 environment