Ask Request
Interact with the WordLift Agent to process a message and receive an AI-driven response.
application/json
Request Body required
message Message required
model Model
Default value: gpt-4o
security Security
Default value: false
Responses
- 200
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
response Response required
{
"response": "string"
}
Validation Error
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
detail object[]
loc object[] required
anyOf
MOD1
MOD2
string
integer
msg Message required
type Error Type required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...