Endpoint
Replace
localhost:3000 with your Perplexica instance URL if running on a different host or port.Request body
The video search query.
Defines the chat model to be used for understanding and refining the query. Get available providers and models from the
/api/providers endpoint.An array of message pairs representing the conversation history. Each pair consists of a role (either
human or assistant) and the message content.Example:Response
A list of video search results. The structure of each video object depends on the search provider’s response format.
Request example
Response example
The AI model processes your query and conversation history to refine the search and return more relevant results.
Error responses
Returned if an error occurs while searching videos.