Skip to main content
POST
Python

Authorizations

X-API-Key
string
header
required

Your API key for authentication. Get one at https://critique-labs.ai/en/dashboard

Body

application/json
prompt
string
required

The search query, can be as extended or succinct as you like

image
string | null

Optional, This string can be the url of the image you want to send. Alternatively, (and the preferred method) is providing a base64 encoded string of the image. If providing a url, the link must start with https:// and ends with a common image file extension like .jpg, .jpeg, .png, .gif, etc.

output_format
Output Format · object | null

Optional, a json schema for the response. This will be used to format the response of the agentic search. The types allowed can be any of: string number boolean integer array

source_blacklist
string[] | null

Optional, a list of strings representing domains you want to exclude from the agentic search. ['cnn.com','foxnews.com'].

source_whitelist
string[] | null

Optional, a list of strings representing domains you want to include in the agentic search. ['cnn.com','foxnews.com']. This is mutually exclusive with source_blacklist, if it is not empty, source_blacklist must be empty

Response

Successful Response

response
string
required
context
SearchContext · object[]
info
Info · object | null