POST
/
api
/
alph
/
{server_name}
/
gpt-4o
curl --request POST \
  --url https://dashboard.amdatascience.com/api/alph/{server_name}/gpt-4o \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "messages": [
    {
      "content": "hi",
      "role": "user"
    }
  ]
}'
"0:\"Hello\"\n0:\"!\"\n0:\" How\"\n0:\" can\"\n0:\" I\"\n0:\" assist\"\n0:\" you\"\n0:\" today\"\n0:\"?\"\n0:\" Are\"\n0:\" you\"\n0:\" looking\"\n0:\" to\"\n0:\" analyze\"\n0:\" some\"\n0:\" data\"\n0:\",\"\n0:\" run\"\n0:\" some\"\n0:\" code\"\n0:\",\"\n0:\" or\"\n0:\" need\"\n0:\" help\"\n0:\" with\"\n0:\" something\"\n0:\" else\"\n0:\"?\"\n"

Authorizations

apiKey
string
headerrequired

Path Parameters

server_name
string
required

Body

application/json
messages
object[]

Response

200 - text/plain

The response is of type file.