From what I can see in the API docs, there’s only a chat completion endpoint. Not even a call where I could run a loop in Bubble to check the run status and then retrieve the output.

Chat Completions - Perplexity