Skip to main content
POST
/
bots
cURL
curl --request POST \
  --url https://www.quikquery.io/api/v1/bots \
  --header 'Content-Type: application/json' \
  --header 'api-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "_id": "<string>",
  "docGroup": [
    "<string>"
  ],
  "openaiApiKey": "<string>",
  "isActive": true
}
'
{
  "name": "<string>",
  "description": "<string>",
  "_id": "<string>",
  "docGroup": [
    "<string>"
  ],
  "openaiApiKey": "<string>",
  "isActive": true
}

Authorizations

api-token
string
header
required

Body

application/json

Bot object that needs to be added to the store

name
string
required

The name of the bot The name of the bot

description
string
required

The description of the bot The description of the bot

_id
string
docGroup
string[]

The doc group of the bot The doc group of the bot

openaiApiKey
string

The openai api key of the bot The openai api key of the bot

isActive
boolean

The status of the bot The status of the bot

Response

Bot response

name
string
required

The name of the bot

description
string
required

The description of the bot

_id
string
docGroup
string[]

The doc group of the bot

openaiApiKey
string

The openai api key of the bot

isActive
boolean

The status of the bot