GPTBots
gptbotsGPTBots is an enterprise AI agent platform for conversations, knowledge management, databases, user data, and usage analytics. This toolkit auth config supports Singapore Agent API Keys only; JP and TH keys are unsupported because requests use the fixed Singapore base URL.
Acciones disponibles (12)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create ConversationGPTBOTS_CREATE_CONVERSATIONAcciónCreate a GPTBots conversation for a developer-defined user on the Agent connected by this API key. Returns the conversation ID needed for subsequent message and history operations. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_CREATE_CONVERSATIONAcciónCreate a GPTBots conversation for a developer-defined user on the Agent connected by this API key. Returns the conversation ID needed for subsequent message and history operations. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
user_idstringObligatorioDeveloper-defined user ID used for conversation memory, user attributes, and analytics. Maximum 32 characters.
anonymous_idstringDevice or anonymous-user ID to bind to the conversation. Omit it to let GPTBots generate an anonymous ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Agent InformationGPTBOTS_GET_AGENT_INFORMATIONAcciónReturn the GPTBots Agent bound to the connected Agent API Key, including its ID and runtime configuration. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_GET_AGENT_INFORMATIONAcciónReturn the GPTBots Agent bound to the connected Agent API Key, including its ID and runtime configuration. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Total Credit ConsumptionGPTBOTS_GET_TOTAL_CREDIT_CONSUMPTIONAcciónReturn aggregate Agent credit consumption by category for a reporting range of up to 365 days. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_GET_TOTAL_CREDIT_CONSUMPTIONAcciónReturn aggregate Agent credit consumption by category for a reporting range of up to 365 days. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
end_timeintegerObligatorioEnd of the reporting range as a Unix timestamp in milliseconds; must not precede start_time or be more than 365 days after it.
start_timeintegerObligatorioStart of the reporting range as a Unix timestamp in milliseconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Conversation CreditsGPTBOTS_LIST_CONVERSATION_CREDITSAcciónReturn one page of per-conversation Agent credit consumption for a time range of up to 30 days, optionally filtered by conversation ID. GPTBots code 40001 means the time range is invalid and must be corrected, not retried. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_LIST_CONVERSATION_CREDITSAcciónReturn one page of per-conversation Agent credit consumption for a time range of up to 30 days, optionally filtered by conversation ID. GPTBots code 40001 means the time range is invalid and must be corrected, not retried. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
end_timeintegerObligatorioEnd of the reporting range as a Unix timestamp in milliseconds; must not precede start_time or be more than 30 days later.
page_sizeintegerConversation usage records per page (1-100).
start_timeintegerObligatorioStart of the reporting range as a Unix timestamp in milliseconds.
next_cursorstringContinuation cursor returned by a previous call; omit for the first page.
conversation_idstringConversation ID to filter by; omit to include all conversations.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Conversation MessagesGPTBOTS_LIST_CONVERSATION_MESSAGESAcciónReturn one page of current v2 message details for a GPTBots conversation. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_LIST_CONVERSATION_MESSAGESAcciónReturn one page of current v2 message details for a GPTBots conversation. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
page_sizeintegerMessages to return in this page (1-100).
next_cursorstringContinuation cursor returned by a previous call; omit for the first page.
conversation_idstringObligatorioConversation whose message history to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ConversationsGPTBOTS_LIST_CONVERSATIONSAcciónReturn one page of Agent conversations filtered by source, recent-chat time range, and optional user. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_LIST_CONVERSATIONSAcciónReturn one page of Agent conversations filtered by source, recent-chat time range, and optional user. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
user_idstringDeveloper user ID to filter by; omit to include all users.
end_timeintegerObligatorioEnd of the recent-chat time range as a Unix timestamp in milliseconds; must not precede start_time.
page_sizeintegerConversations per page (10-100).
start_timeintegerObligatorioStart of the recent-chat time range as a Unix timestamp in milliseconds.
next_cursorstringContinuation cursor returned by a previous response. Omit for the first page and pass it back unchanged to fetch the next page.
conversation_typestringConversation source filter, such as ALL, API, or EMBED.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Database TablesGPTBOTS_LIST_DATABASE_TABLESAcciónReturn database tables configured for the Agent ID supplied by the caller. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_LIST_DATABASE_TABLESAcciónReturn database tables configured for the Agent ID supplied by the caller. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
agent_idstringObligatorioAgent ID (bot_id) returned by Get Agent Information.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Knowledge BasesGPTBOTS_LIST_KNOWLEDGE_BASESAcciónReturn all knowledge bases attached to the GPTBots Agent connected by this API key. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_LIST_KNOWLEDGE_BASESAcciónReturn all knowledge bases attached to the GPTBots Agent connected by this API key. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Knowledge DocumentsGPTBOTS_LIST_KNOWLEDGE_DOCUMENTSAcciónReturn one page of documents in a GPTBots knowledge base. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_LIST_KNOWLEDGE_DOCUMENTSAcciónReturn one page of documents in a GPTBots knowledge base. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
page_sizeintegerDocuments to return in this page (10-100).
next_cursorstringContinuation cursor returned by a previous call; omit for the first page.
knowledge_base_idstringObligatorioKnowledge base ID, obtainable from List Knowledge Bases.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Metadata FieldsGPTBOTS_LIST_METADATA_FIELDSAcciónReturn global and per-knowledge-base document metadata field definitions for the connected GPTBots Agent. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_LIST_METADATA_FIELDSAcciónReturn global and per-knowledge-base document metadata field definitions for the connected GPTBots Agent. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query User AttributesGPTBOTS_QUERY_USER_ATTRIBUTESAcciónReturn configured GPTBots Agent attributes for either developer user IDs or anonymous IDs. Exactly one non-empty selector is required. Missing identities are successful results with no property values. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_QUERY_USER_ATTRIBUTESAcciónReturn configured GPTBots Agent attributes for either developer user IDs or anonymous IDs. Exactly one non-empty selector is required. Missing identities are successful results with no property values. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
user_idsstring[]Developer user IDs to query, up to 100 per request. Pass one ID or a list of IDs. Provide exactly one of this field or anonymous_ids.
anonymous_idsstring[]Anonymous or device IDs to query, up to 100 per request. Pass one ID or a list of IDs. Provide exactly one of this field or user_ids.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send MessageGPTBOTS_SEND_MESSAGEAcciónSend the latest user text to a GPTBots conversation and wait for the Agent's complete blocking response. This tool does not use streaming, webhooks, multimodal files, or human handoff. It consumes credits and creates a permanent message. Do not blindly retry after a timeout, disconnect, or other ambiguous acceptance; reconcile through conversation messages first. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
GPTBOTS_SEND_MESSAGEAcciónSend the latest user text to a GPTBots conversation and wait for the Agent's complete blocking response. This tool does not use streaming, webhooks, multimodal files, or human handoff. It consumes credits and creates a permanent message. Do not blindly retry after a timeout, disconnect, or other ambiguous acceptance; reconcile through conversation messages first. GPTBots documents a shared default limit of 3 requests per minute for Free Plan accounts; higher or custom tiers may differ. On Free Plan, serialize calls and back off on HTTP 429 or provider code 40008.
Parámetros de entrada
messagestringObligatorioLatest user text to send. GPTBots uses stored conversation memory, so prior turns normally should not be repeated.
conversation_idstringObligatorioConversation ID returned by Create Conversation.
custom_variablesobjectAgent-defined custom variable names and JSON values for this call. Keys must match variables configured on the connected Agent.
long_term_memorybooleanOptional per-call override for the Agent's long-term memory setting; omit to use the Agent default.
short_term_memorybooleanOptional per-call override for the Agent's short-term memory setting; omit to use the Agent default.
knowledge_base_idsstring[]Optional knowledge base IDs that constrain retrieval for this message. They are combined as a union with knowledge_document_ids. Omit both fields to use Agent defaults, or pass both as empty arrays to disable knowledge retrieval.
knowledge_document_idsstring[]Optional knowledge document IDs that constrain retrieval for this message. They are combined as a union with knowledge_base_ids.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not