Get Bot Information
Get Bot basic information.
Request Method
GET
Request URL
https://api.gptbots.ai/v1/bot/detail
Request Authentication
See Overview for authentication details.
Request
Request Example
Request Headers
Field | Type | Description |
---|---|---|
Authorization | Bearer ${token} | Use |
Content-Type | application/json | Data type, set to |
Request Body
None.
Response
Response Example
Success Response
Field | Type | Description |
---|---|---|
bot_id | string | Bot ID. |
name | string | Bot name. |
logo | string | Bot avatar. |
bot_type | string | Bot type, value: IntelligentAssistant, QuestionAnswer. |
welcome_message | string | Welcome message when user first uses the bot. |
introduction | string | Introduction of the bot. |
tags | string | Tags of the bot. |
identity_prompt | string | Identity prompt of the bot. |
ai_model | string | AI model, value: ChatGPT. |
aiModel_version | string | AI model version. |
creativity_level | int | Creativity level, value: 0-1. |
doc_correlation | int | Document correlation, value: 0-1. |
irrelevant_questions | boolean | Whether to answer questions irrelevant to dataset. Value: true, false. |
question_limit | int | Limit on length of user questions. |
long_term_memory | boolean | Whether long term memory is enabled. |
Failure Response
Field | Type | Description |
---|---|---|
code | int | Error code. |
message | string | Error details. |
Error Codes
Code | Message |
---|---|
40127 | Developer authentication failed |
Last updated