POST
/
api
/
projects
/
{projectName}
/
agents
/
{agentName}
/
completions
curl --request POST \
  --url http://127.0.0.1:47334/api/projects/{projectName}/agents/{agentName}/completions \
  --header 'Content-Type: application/json' \
  --data '{
  "messages": [
    {
      "question": "<string>",
      "answer": "<string>"
    }
  ]
}'
{
  "message": {
    "role": "<string>",
    "content": "<string>"
  }
}

Path Parameters

projectName
string
required

The name of the project where agent resides

agentName
string
required

The name of the agent

Body

application/json
messages
object[]

Response

200
application/json
Message submission successful
message
object