Skip to main content
POST
/
api
/
v1
/
chat
Send a message to Professor High AI assistant
curl --request POST \
  --url https://api.thisiswhyimhigh.com/api/v1/chat \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    {
      "id": "<string>",
      "parts": [
        {
          "type": "<string>",
          "text": "<string>"
        }
      ],
      "content": "<string>"
    }
  ],
  "userId": "<string>"
}
'

Body

application/json
messages
object[]
required
Minimum array length: 1
userId
string
required
Minimum string length: 1

Response

AI SDK streaming chat response (UI Message Stream v1)