Question And Answer (Legacy)

post/teams/{team_id}/bots/{bot_id}/ask

Request

  • Base URL: https://api.docsbot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.docsbot.ai/teams/{team_id}/bots/{bot_id}/ask
  • Auth: none declared

Path parameters

team_idstring required
bot_idstring required

Request body

questionstring required
format'markdown' | 'text' | 'html' nullable
full_sourceboolean nullable
metadataobject nullable
testingboolean nullable
context_itemsinteger

Example request

{
  "metadata": {
    "customVar": "value",
    "email": "john@doe.com",
    "name": "John Doe",
    "referrer": "https://somesite.com/page/"
  }
}

Response

Successful Response

OR

Changes

No recorded changes to this operation across all 1 revision of this API.