POST
/
research
curl --request POST \
  --url https://chat-api.you.com/research \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "query": "<string>",
  "chat_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "answer": "# The Impact of AI on Productivity\n\nArtificial Intelligence (AI) is increasingly becoming a pivotal force in enhancing productivity across various sectors. ",
  "search_results": [
    {
      "url": "https://www.goldmansachs.com/insights/articles/AI-is-showing-very-positive-signs-of-boosting-gdp#:~:text=concerns%20about%20privacy%20and,of%20the%20technology%20as",
      "name": "AI is showing very positive signs of eventually boosting GDP and productivity",
      "snippet": "2024-05-13 | the net impact on the labor market has been positive thus far..."
    }
  ]
}

Before You Get Started

To register for usage of our Research API, please reach out via email at api@you.com.

Authorizations

X-API-Key
string
header
required

Body

application/json
query
string

The main question or statement to be answered. This input directs the scope and context of the response.

chat_id
string

A hexadecimal UUID to maintain continuity within the conversation. This can be a randomly generated string that uniquely identifies the session.

Response

200 - application/json
A JSON object containing a dictionary with the answer and a list of search results
answer
string

The main response generated by the API based on the provided query and instructions.

search_results
object[]