Tools and Connectors
Create Tool
POST /api/v1/tools/
Request
Request Parameters
name
object
No
Tool name may only contain letters, digits, underscores (_) and hyphens (-). Not required for MCP tools; for API tools it is the tool name given to the LLM.
displayName
string
Yes
A name with any characters, used by users for configuration and management.
description
string
No
Tool description shown to users. Not required for MCP tools.
prompt
string
No
Tool description/prompt given to the LLM. If empty, the description field is used. Not required for MCP tools.
toolType
string (enum: api, function, mcp, desktop, flex, quick_reply, quick_menu)
No
api: API ; function: Function ; mcp: MCP ; desktop: Desktop ; flex: Flex Message ; quick_reply: Quick Reply ; quick_menu: Quick Menu;
apiUrl
string
No
httpMethod
object
No
rawHeaders
object
No
sensitiveHeaders
array[string]
No
rawQueryParams
object
No
Query string parameters appended to every request of this API tool. Values support the same {{variable}} template rendering as raw_headers. On key collision with LLM-generated arguments, these values ...
rawParametersSchema
object
No
functionCode
string
No
mcpUrl
string
No
mcpRegistry
string (uuid)
No
Registry backing this MCP tool. Null for manual-URL MCP tools.
mcpAllowedTools
object
No
rawMcpHeader
object
No
Default headers used when the Contact has no matching MCP Credential.
authSubject
object
No
Shared uses the tool level token plus per contact credentials; contact requires per contact authentication only; caller mints a short-lived token for the conversation-bound member (falls back to per c...
flexTemplateJson
object
No
FlexMessage JSON template. Required for FLEX_MESSAGE tools. Stores the full LINE FlexMessage JSON structure (bubble / carousel / box / text / image / button etc.).
flexSchema
object
No
AI dynamic field schema for FlexMessage. JSON object whose keys are field paths parsed from flex_template_json (e.g. text / image url / button label / button uri / button message). Each value may be e...
quickReplyConfig
object
No
Authoring config for QUICK_REPLY tools. Structured JSON describing the chip buttons: static list or dynamic (LLM-generated) mode, each field either a fixed value or an LLM prompt.
quickMenuConfig
object
No
Authoring config for QUICK_MENU tools. Structured JSON describing the persistent input-bar menu rendered by the web chat only: layout (grid / list), default open state, and 2-6 items each carrying a d...
category
string (enum: knowledge_base, web_search, web_fetch, code_execution, file_processing, image_video_generation, database_query, third_party_integration, browser_operation, agent_collaboration, other)
No
knowledge_base: Knowledge base retrieval ; web_search: Web search ; web_fetch: Web page fetch ; code_execution: Code execution ; file_processing: File processing ; image_video_generation: ...
displayCopyByLocale
object
No
outputRenderTemplateByLocale
object
No
toolDisplayMode
object
No
groups
array[IdName]
No
Groups this tool is assigned to. Non-owner members must pick at least one group they belong to.
Request Schema Example
Request Example Values
Code Examples
Response Content
Status code: 201
Response Schema Example
Response Example Values
Status code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
List Tools
GET /api/v1/tools/
Parameters
clientPlatform
❌
string
Calling client platform. When "desktop" is passed, desktop-type tools are included; any other value, or omitting it, excludes desktop tools by default
createdByMe
❌
boolean
"Only show what I created": when true (or 1), only items created by the currently signed-in user are returned, narrowing the already visible scope; when omitted, false, or any other value, it behaves as if this filter were not applied. Global (platform-provided) items have no creator, so they do not appear when this is enabled.
isGlobal
❌
boolean
Set to "true" to retrieve global tools; otherwise organization tools are retrieved
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
toolType
❌
string
Filter by tool type: api, function, mcp, desktop
Code Examples
Response Body
Status Code: 200
Example Response Schema
Example Response Values
Status Code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Get a Specific Tool
GET /api/v1/tools/{id}/
Parameters
id
✅
string
A UUID string identifying this Tool.
Code Examples
Response Body
Status Code: 200
Example Response Schema
Example Response Values
Status Code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Update Tool
PUT /api/v1/tools/{id}/
Parameters
id
✅
string
A UUID string identifying this Tool.
Request Body
Request Parameters
name
object
No
Tool name may only contain letters, digits, underscores (_) and hyphens (-). Not required for MCP tools; for API tools it is the tool name given to the LLM.
displayName
string
Yes
A name with any characters, used by users for configuration and management.
description
string
No
Tool description shown to users. Not required for MCP tools.
prompt
string
No
Tool description/prompt given to the LLM. If empty, the description field is used. Not required for MCP tools.
toolType
string (enum: api, function, mcp, desktop, flex, quick_reply, quick_menu)
No
api: API ; function: Function ; mcp: MCP ; desktop: Desktop ; flex: Flex Message ; quick_reply: Quick Reply ; quick_menu: Quick Menu;
apiUrl
string
No
httpMethod
object
No
rawHeaders
object
No
sensitiveHeaders
array[string]
No
rawQueryParams
object
No
Query string parameters appended to every request of this API tool. Values support the same {{variable}} template rendering as raw_headers. On key collision with LLM-generated arguments, these values ...
rawParametersSchema
object
No
functionCode
string
No
mcpUrl
string
No
mcpRegistry
string (uuid)
No
Registry backing this MCP tool. Null for manual-URL MCP tools.
mcpAllowedTools
object
No
rawMcpHeader
object
No
Default headers used when the Contact has no matching MCP Credential.
authSubject
object
No
Shared uses the tool level token plus per contact credentials; contact requires per contact authentication only; caller mints a short-lived token for the conversation-bound member (falls back to per c...
flexTemplateJson
object
No
FlexMessage JSON template. Required for FLEX_MESSAGE tools. Stores the full LINE FlexMessage JSON structure (bubble / carousel / box / text / image / button etc.).
flexSchema
object
No
AI dynamic field schema for FlexMessage. JSON object whose keys are field paths parsed from flex_template_json (e.g. text / image url / button label / button uri / button message). Each value may be e...
quickReplyConfig
object
No
Authoring config for QUICK_REPLY tools. Structured JSON describing the chip buttons: static list or dynamic (LLM-generated) mode, each field either a fixed value or an LLM prompt.
quickMenuConfig
object
No
Authoring config for QUICK_MENU tools. Structured JSON describing the persistent input-bar menu rendered by the web chat only: layout (grid / list), default open state, and 2-6 items each carrying a d...
category
string (enum: knowledge_base, web_search, web_fetch, code_execution, file_processing, image_video_generation, database_query, third_party_integration, browser_operation, agent_collaboration, other)
No
knowledge_base: Knowledge base retrieval ; web_search: Web search ; web_fetch: Web page fetch ; code_execution: Code execution ; file_processing: File processing ; image_video_generation: ...
displayCopyByLocale
object
No
outputRenderTemplateByLocale
object
No
toolDisplayMode
object
No
groups
array[IdName]
No
Groups this tool is assigned to. Non-owner members must pick at least one group they belong to.
Example Request Schema
Request Example Values
Code Examples
Response
Status Code: 200
Response Schema Example
Response Example Values
Status Code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Partially Update Tool
PATCH /api/v1/tools/{id}/
Parameters
id
✅
string
A UUID string identifying this Tool.
Request Body
Request Parameters
name
object
No
Tool name may only contain letters, digits, underscores (_) and hyphens (-). Not required for MCP tools; for API tools it is the tool name given to the LLM.
displayName
string
No
A name with any characters, used by users for configuration and management.
description
string
No
Tool description shown to users. Not required for MCP tools.
prompt
string
No
Tool description/prompt given to the LLM. If empty, the description field is used. Not required for MCP tools.
toolType
string (enum: api, function, mcp, desktop, flex, quick_reply, quick_menu)
No
api: API ; function: Function ; mcp: MCP ; desktop: Desktop ; flex: Flex Message ; quick_reply: Quick Reply ; quick_menu: Quick Menu;
apiUrl
string
No
httpMethod
object
No
rawHeaders
object
No
sensitiveHeaders
array[string]
No
rawQueryParams
object
No
Query string parameters appended to every request of this API tool. Values support the same {{variable}} template rendering as raw_headers. On key collision with LLM-generated arguments, these values ...
rawParametersSchema
object
No
functionCode
string
No
mcpUrl
string
No
mcpRegistry
string (uuid)
No
Registry backing this MCP tool. Null for manual-URL MCP tools.
mcpAllowedTools
object
No
rawMcpHeader
object
No
Default headers used when the Contact has no matching MCP Credential.
authSubject
object
No
Shared uses the tool level token plus per contact credentials; contact requires per contact authentication only; caller mints a short-lived token for the conversation-bound member (falls back to per c...
flexTemplateJson
object
No
FlexMessage JSON template. Required for FLEX_MESSAGE tools. Stores the full LINE FlexMessage JSON structure (bubble / carousel / box / text / image / button etc.).
flexSchema
object
No
AI dynamic field schema for FlexMessage. JSON object whose keys are field paths parsed from flex_template_json (e.g. text / image url / button label / button uri / button message). Each value may be e...
quickReplyConfig
object
No
Authoring config for QUICK_REPLY tools. Structured JSON describing the chip buttons: static list or dynamic (LLM-generated) mode, each field either a fixed value or an LLM prompt.
quickMenuConfig
object
No
Authoring config for QUICK_MENU tools. Structured JSON describing the persistent input-bar menu rendered by the web chat only: layout (grid / list), default open state, and 2-6 items each carrying a d...
category
string (enum: knowledge_base, web_search, web_fetch, code_execution, file_processing, image_video_generation, database_query, third_party_integration, browser_operation, agent_collaboration, other)
No
knowledge_base: Knowledge base retrieval ; web_search: Web search ; web_fetch: Web page fetch ; code_execution: Code execution ; file_processing: File processing ; image_video_generation: ...
displayCopyByLocale
object
No
outputRenderTemplateByLocale
object
No
toolDisplayMode
object
No
groups
array[IdName]
No
Groups this tool is assigned to. Non-owner members must pick at least one group they belong to.
Request Schema Example
Request example values
Code examples
Response
Status code: 200
Response schema example
Response example values
Status code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Delete tool
DELETE /api/v1/tools/{id}/
Parameters
id
✅
string
A UUID string identifying this Tool.
Code examples
Response
204
No response body
4XX
Error response; X-Error-Code carries its code (see "Error codes").
List available tools
POST /api/v1/tools/available-tools/
Request body
Request parameters
mcpUrl
string
Yes
MCP server URL (required)
rawMcpHeader
object
No
MCP headers (JSON format)
mcpAllowedTools
array[string]
No
List of tools the MCP server is allowed to use
toolId
string (uuid)
No
Tool ID for per-member OAuth token lookup
Request schema example
Request example values
Code examples
Response body
Status Code: 200
Example Response Schema
Example Response Values
Status Code: 400
Example Response Schema
Example Response Values
Create connector
POST /api/v1/connectors/
Request body
Request parameters
mcpRegistryId
string (uuid)
Yes
displayName
string
No
Custom display name for this connector (defaults to MCP Registry name)
description
string
No
Custom description for this connector (defaults to MCP Registry description)
defaultCategory
object
No
Org-level override of the MCP Registry default category for this connector's dynamic tools. Empty = use the MCP Registry default_category. knowledge_base: Knowledge base retrieval ; web_search: We...
defaultDisplayGroupNameByLocale
object
No
Locale-keyed server-level default group headline shown in chat for this connector's dynamic MCP tools (those without an individual Tool row). Shape: {"": str}. The headline for the conversatio...
defaultToolIcon
string
No
Server-level default icon identifier (a frontend icon key, not an uploaded image) for this connector's dynamic MCP tools. Empty = frontend uses its default MCP icon. Streamed as toolIcon.
authHeaders
object
No
allowedContextDataKeys
object
No
Allowlist of webchat contextData keys this connector may render into auth_headers through {{context_data.}}. An empty list disables the feature for this connector: the placeholder is left verbati...
exposedMcpTools
object
No
Allowlist of MCP tool names this connector exposes (to the agent and to SEP-1865 UI cards). Empty list = expose all of the server tools. Use this to limit a connector to a safe subset (e.g. read-only ...
isEnabled
boolean
No
Whether this connector is enabled for contacts in the organization
Example request schema
Example request values
Code examples
Response body
Status code: 201
Example response schema
Example response values
List connectors
GET /api/v1/connectors/
Code examples
Response body
Status code: 200
Example response schema
Example response values
Retrieve a specific connector
GET /api/v1/connectors/{id}/
Parameters
id
✅
string
Code examples
Response body
Status code: 200
Example response schema
Example Response Values
Update Connector
PUT /api/v1/connectors/{id}/
Parameters
id
✅
string
Request Body
Request Parameters
mcpRegistryId
string (uuid)
Yes
displayName
string
No
Custom display name for this connector (defaults to MCP Registry name)
description
string
No
Custom description for this connector (defaults to MCP Registry description)
defaultCategory
object
No
Org-level override of the MCP Registry default category for this connector's dynamic tools. Empty = use the MCP Registry default_category. knowledge_base: Knowledge base retrieval ; web_search: We...
defaultDisplayGroupNameByLocale
object
No
Locale-keyed server-level default group headline shown in chat for this connector's dynamic MCP tools (those without an individual Tool row). Shape: {"": str}. The headline for the conversatio...
defaultToolIcon
string
No
Server-level default icon identifier (a frontend icon key, not an uploaded image) for this connector's dynamic MCP tools. Empty = frontend uses its default MCP icon. Streamed as toolIcon.
authHeaders
object
No
allowedContextDataKeys
object
No
Allowlist of webchat contextData keys this connector may render into auth_headers through {{context_data.}}. An empty list disables the feature for this connector: the placeholder is left verbati...
exposedMcpTools
object
No
Allowlist of MCP tool names this connector exposes (to the agent and to SEP-1865 UI cards). Empty list = expose all of the server tools. Use this to limit a connector to a safe subset (e.g. read-only ...
isEnabled
boolean
No
Whether this connector is enabled for contacts in the organization
Request Schema Example
Example Request Values
Code Examples
Response Body
Status Code: 200
Response Schema Example
Example Response Values
Partially Update Connector
PATCH /api/v1/connectors/{id}/
Parameters
id
✅
string
Request Body
Request Parameters
mcpRegistryId
string (uuid)
No
displayName
string
No
Custom display name for this connector (defaults to MCP Registry name)
description
string
No
Custom description for this connector (defaults to MCP Registry description)
defaultCategory
object
No
Org-level override of the MCP Registry default category for this connector's dynamic tools. Empty = use the MCP Registry default_category. knowledge_base: Knowledge base retrieval ; web_search: We...
defaultDisplayGroupNameByLocale
object
No
Locale-keyed server-level default group headline shown in chat for this connector's dynamic MCP tools (those without an individual Tool row). Shape: {"": str}. The headline for the conversatio...
defaultToolIcon
string
No
Server-level default icon identifier (a frontend icon key, not an uploaded image) for this connector's dynamic MCP tools. Empty = frontend uses its default MCP icon. Streamed as toolIcon.
authHeaders
object
No
allowedContextDataKeys
object
No
Allowlist of webchat contextData keys this connector may render into auth_headers through {{context_data.}}. An empty list disables the feature for this connector: the placeholder is left verbati...
exposedMcpTools
object
No
Allowlist of MCP tool names this connector exposes (to the agent and to SEP-1865 UI cards). Empty list = expose all of the server tools. Use this to limit a connector to a safe subset (e.g. read-only ...
isEnabled
boolean
No
Whether this connector is enabled for contacts in the organization
Request Schema Example
Example Request Values
Code Examples
Response Body
Status Code: 200
Example Response Schema
Example Response Values
Delete Connector
DELETE /api/v1/connectors/{id}/
Parameters
id
✅
string
Code Examples
Response Body
204
No response body
List Authorized Connector Members
GET /api/v1/connectors/{id}/authorized-members/
Parameters
id
✅
string
Code Examples
Response Body
Status Code: 200
Example Response Schema
Example Response Values
Remove Authorized Connector Member
DELETE /api/v1/connectors/{id}/authorized-members/{memberId}/
Parameters
id
✅
string
memberId
✅
string
Code Examples
Response Body
204
No response body
List MCP Tool Registries
GET /api/v1/mcp/registry/
Code Examples
Response Body
Status code: 200
Example Response Schema
Example Response Values
Retrieve a Specific MCP Tool Registry
GET /api/v1/mcp/registry/{id}/
Parameters
id
✅
string
Code Examples
Response Body
Status code: 200
Example Response Schema
Example Response Values
List organization self-hosted MCP Servers
GET /api/v1/mcp/private-registry/
Code Examples
Response
Status code: 200
Response Schema Example
Response Example Values
Status code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Add a self-hosted MCP Server
POST /api/v1/mcp/private-registry/
Request
Request Parameters
name
string
Yes
MCP service name (e.g., Supabase, Sentry). Only alphanumeric, underscore and hyphen allowed.
displayName
string
No
Human-readable display name (defaults to name if empty)
description
string
No
Brief description of the MCP service
remoteMcpUrl
string (uri)
Yes
The URL of the Remote MCP service
oauthServerUrl
object
No
Manual override for the OAuth authorization server URL. Leave empty to auto-discover from the MCP server (RFC 9728 protected resource metadata). Only fill in when auto-discovery fails or the server ad...
resourceIdentifier
object
No
Manual override for the OAuth resource identifier (RFC 9728 / RFC 8707). Leave empty to auto-discover from the MCP server's .well-known/oauth-protected-resource endpoint. Only fill in when auto-discov...
oauthClientId
string
No
Pre-registered OAuth client ID for MCP servers that do not support dynamic client registration (RFC 7591). Leave empty if the server supports dynamic registration.
oauthClientSecret
string
No
Pre-registered OAuth client secret. Required only if the MCP server requires a confidential client. Leave empty for public clients (token_endpoint_auth_method=none).
logoUrl
object
No
Logo: the uploaded storage object key (media/...) or an external URL; read back as a signed URL.
authType
object
No
How to authenticate with this MCP server. oauth: OAuth 2.0 ; service_account: Service Account ; none: No Authentication;
cspAllowedOrigins
object
No
Extra origins a SEP-1865 MCP App card from this server may load from (script-src/img-src/connect-src etc.), e.g. ['https://viewer.diagrams.net']. The sandboxed iframe denies all external origins by de...
Request Schema Example
Request Example Values
Code Examples
Response
Status code: 201
Response Schema Example
Response Example Values
Status code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Retrieve a specific self-hosted MCP Server
GET /api/v1/mcp/private-registry/{id}/
Parameters
id
✅
string
A UUID string identifying this MCP Registry.
Code Examples
Response
Status code: 200
Response Schema Example
Response Example Values
Status Code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Partially update a self-hosted MCP Server
PATCH /api/v1/mcp/private-registry/{id}/
Parameters
id
✅
string
A UUID string identifying this MCP Registry.
Request Body
Request Parameters
name
string
No
MCP service name (e.g., Supabase, Sentry). Only alphanumeric, underscore and hyphen allowed.
displayName
string
No
Human-readable display name (defaults to name if empty)
description
string
No
Brief description of the MCP service
remoteMcpUrl
string (uri)
No
The URL of the Remote MCP service
oauthServerUrl
object
No
Manual override for the OAuth authorization server URL. Leave empty to auto-discover from the MCP server (RFC 9728 protected resource metadata). Only fill in when auto-discovery fails or the server ad...
resourceIdentifier
object
No
Manual override for the OAuth resource identifier (RFC 9728 / RFC 8707). Leave empty to auto-discover from the MCP server's .well-known/oauth-protected-resource endpoint. Only fill in when auto-discov...
oauthClientId
string
No
Pre-registered OAuth client ID for MCP servers that do not support dynamic client registration (RFC 7591). Leave empty if the server supports dynamic registration.
oauthClientSecret
string
No
Pre-registered OAuth client secret. Required only if the MCP server requires a confidential client. Leave empty for public clients (token_endpoint_auth_method=none).
logoUrl
object
No
Logo: the uploaded storage object key (media/...) or an external URL; read back as a signed URL.
authType
object
No
How to authenticate with this MCP server. oauth: OAuth 2.0 ; service_account: Service Account ; none: No Authentication;
cspAllowedOrigins
object
No
Extra origins a SEP-1865 MCP App card from this server may load from (script-src/img-src/connect-src etc.), e.g. ['https://viewer.diagrams.net']. The sandboxed iframe denies all external origins by de...
Request Schema Example
Request Example Values
Code Examples
Response Content
Status Code: 200
Response Schema Example
Response Example Values
Status Code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Delete a self-hosted MCP Server
DELETE /api/v1/mcp/private-registry/{id}/
Parameters
id
✅
string
A UUID string identifying this MCP Registry.
Code Examples
Response Content
204
No response body
4XX
Error response; X-Error-Code carries its code (see "Error codes").
Test MCP Server connection
POST /api/v1/mcp/private-registry/test-connection/
Request Body
Request Parameters
name
string
Yes
MCP service name (e.g., Supabase, Sentry). Only alphanumeric, underscore and hyphen allowed.
displayName
string
No
Human-readable display name (defaults to name if empty)
description
string
No
Brief description of the MCP service
remoteMcpUrl
string (uri)
Yes
The URL of the Remote MCP service
oauthServerUrl
object
No
Manual override for the OAuth authorization server URL. Leave empty to auto-discover from the MCP server (RFC 9728 protected resource metadata). Only fill in when auto-discovery fails or the server ad...
resourceIdentifier
object
No
Manual override for the OAuth resource identifier (RFC 9728 / RFC 8707). Leave empty to auto-discover from the MCP server's .well-known/oauth-protected-resource endpoint. Only fill in when auto-discov...
oauthClientId
string
No
Pre-registered OAuth client ID for MCP servers that do not support dynamic client registration (RFC 7591). Leave empty if the server supports dynamic registration.
oauthClientSecret
string
No
Pre-registered OAuth client secret. Required only if the MCP server requires a confidential client. Leave empty for public clients (token_endpoint_auth_method=none).
logoUrl
object
No
Logo: the uploaded storage object key (media/...) or an external URL; read back as a signed URL.
authType
object
No
How to authenticate with this MCP server. oauth: OAuth 2.0 ; service_account: Service Account ; none: No Authentication;
cspAllowedOrigins
object
No
Extra origins a SEP-1865 MCP App card from this server may load from (script-src/img-src/connect-src etc.), e.g. ['https://viewer.diagrams.net']. The sandboxed iframe denies all external origins by de...
Request Schema Example
Request Example Values
Code Examples
Response
Status code: 200
Response schema example
Response example values
Status code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
List Tool Execution Records
GET /api/v1/tool-execution-records/
Parameters
chatbot
❌
string
Filter by AI assistant ID
endDate
❌
string
End date (inclusive), format: YYYY-MM-DD
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
query
❌
string
Search by AI assistant name, tool name, or message content
startDate
❌
string
Start date (inclusive), format: YYYY-MM-DD. For the back-office path /api/, only the last 30 days are listed when neither start_date nor end_date is provided; /api/v1/ has no default range
status
❌
string
Filter by execution status: success, failure, pending, timeout
tool
❌
string
Filter by tool ID
toolType
❌
string
Filter by tool type: api, function, mcp
Code Examples
Response
Status Code: 200
Response Schema Example
Response Example
Get a Specific Tool Execution Record
GET /api/v1/tool-execution-records/{id}/
Parameters
id
✅
string
A UUID string identifying this Tool Execution Record.
Code Examples
Response
Status Code: 200
Response Schema Example
Response Example
Get AI assistant filter options for execution records
GET /api/v1/tool-execution-records/chatbots/
Parameters
chatbot
❌
string
endDate
❌
string
query
❌
string
startDate
❌
string
status
❌
string
`success`: Success ; `failure`: Failed ; `pending`: Processing ; `timeout`: Timeout;
tool
❌
string
toolType
❌
string
`api`: API ; `function`: Function ; `mcp`: MCP ; `desktop`: Desktop ; `flex`: Flex Message ; `quick_reply`: Quick Reply ; `quick_menu`: Quick Menu;
Code Examples
Response Content
Status Code: 200
Response Schema Example
Example Response Values
Get tool filter options for execution records
GET /api/v1/tool-execution-records/tools/
Parameters
chatbot
❌
string
endDate
❌
string
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
query
❌
string
startDate
❌
string
status
❌
string
`success`: Success ; `failure`: Failed ; `pending`: Processing ; `timeout`: Timeout;
tool
❌
string
toolType
❌
string
`api`: API ; `function`: Function ; `mcp`: MCP ; `desktop`: Desktop ; `flex`: Flex Message ; `quick_reply`: Quick Reply ; `quick_menu`: Quick Menu;
Code examples
Response body
Status code: 200
Example Response Schema
Example Response Values
List Execution Records for a Specific Tool
GET /api/v1/tools/{toolPk}/tool-execution-records/
Parameters
toolPk
✅
string
chatbot
❌
string
Filter by AI assistant ID
endDate
❌
string
End date (inclusive), format: YYYY-MM-DD
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
query
❌
string
Search by AI assistant name, tool name, or message content
startDate
❌
string
Start date (inclusive), format: YYYY-MM-DD. For the back-office path /api/, only the last 30 days are listed when neither start_date nor end_date is provided; /api/v1/ has no default range
status
❌
string
Filter by execution status: success, failure, pending, timeout
tool
❌
string
Filter by tool ID
toolType
❌
string
Filter by tool type: api, function, mcp
Code Examples
Response
Status code: 200
Response Schema Example
Response Example Values
Status code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Get a Specific Execution Record for a Specific Tool
GET /api/v1/tools/{toolPk}/tool-execution-records/{id}/
Parameters
id
✅
string
A UUID string identifying this Tool Execution Record.
toolPk
✅
string
Code Examples
Response
Status code: 200
Response Schema Example
Response Example Values
Status code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Retrieve AI assistant filter options for a specific tool's execution records
GET /api/v1/tools/{toolPk}/tool-execution-records/chatbots/
Parameters
toolPk
✅
string
chatbot
❌
string
endDate
❌
string
query
❌
string
startDate
❌
string
status
❌
string
`success`: Success ; `failure`: Failed ; `pending`: Processing ; `timeout`: Timeout;
tool
❌
string
toolType
❌
string
`api`: API ; `function`: Function ; `mcp`: MCP ; `desktop`: Desktop ; `flex`: Flex Message ; `quick_reply`: Quick Reply ; `quick_menu`: Quick Menu;
Code Examples
Response Content
Status Code: 200
Response Schema Example
Response Example Values
Status Code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Retrieve tool filter options for a specific tool's execution records
GET /api/v1/tools/{toolPk}/tool-execution-records/tools/
Parameters
toolPk
✅
string
chatbot
❌
string
endDate
❌
string
page
❌
integer
A page number within the paginated result set.
pageSize
❌
integer
Number of results to return per page.
query
❌
string
startDate
❌
string
status
❌
string
`success`: Success ; `failure`: Failed ; `pending`: Processing ; `timeout`: Timeout;
tool
❌
string
toolType
❌
string
`api`: API ; `function`: Function ; `mcp`: MCP ; `desktop`: Desktop ; `flex`: Flex Message ; `quick_reply`: Quick Reply ; `quick_menu`: Quick Menu;
Code Examples
Response Content
Status Code: 200
Response Schema Example
Response Example Values
Status Code: 4XX - Error response; X-Error-Code carries its code (see "Error codes").
Last updated
Was this helpful?