🔗Response
C4AI SDK - EES Raw Request Execution Result
The C4AI_SDK_TYPES__EES_RawRequestExecutionResult
type represents the detailed information regarding the execution of a request within the Cloud4.ai system.
id
string
The unique identifier of the request.
status
string
The status of the request.
mode
'play' | 'real'
The mode of the request, indicating whether it was played or executed in real-time.
start
string
The start time of the request.
end
string | undefined
The end time of the request. If the request is not completed, this field will be empty.
duration
number
The duration of the request, calculated as the difference between the end and start time.
command
string
The name of the command that was executed.
service
string
The SIC (Service Identifier Code) of the service that was executed.
user
string | undefined
The user SIC that executed the request.
api
string | undefined
The API SIC that was used to execute the command.
organization
string
The organization SIC that was used to execute the command.
meta
any | undefined
The metadata of the request, containing additional information in JSON format.
error
C4AI SDK - API Provider Error | undefined
The error of the request. If the request was successful, this field will be empty.
createdAt
string
The time when the request was created in the system.
Example
❗️Note: The same response object will be passed to callback in case it provided
C4AI SDK - API Provider Error
The C4AI_SDK_TYPES__APIProviderError
type represents an error that may occur during the execution of a request within the Cloud4.ai system.
name
string
The name of the error.
code
string
The error code.
description
string | undefined
An optional description providing more details about the error.
message
string
The error message.
Example
This example demonstrates an instance of the C4AI_SDK_TYPES__APIProviderError
containing details of an error encountered during the execution of a request. Actual data is anonymized for confidentiality purposes.
C4AI SDK - AAC Execute Command API Result
The C4AI_SDK_TYPES__AAC_ExecuteCommandAPIResult
type represents the result of executing a command through the AAC (AI API Connector) service within the Cloud4.ai system.
result
any
The result of the command execution.
payload
C4AI_SDK_Dictionary<any> | undefined
An optional payload containing additional data specific to the AAC provider.
Example:
This example demonstrates an instance of the C4AI_SDK_TYPES__AAC_ExecuteCommandAPIResult
type containing the result of a command execution through the AAC service. Actual data may vary depending on the specific AAC provider.
Last updated