API reference

RuntimeAPIOperationResult Struct

Represents the result of a runtime API operation with detailed message information.

Properties

Context : string
[Get]
Additional context information about the operation (optional).
Signature
string Context
IsSuccess : bool
[Get]
Whether the operation was successful.
Signature
bool IsSuccess
Message : string
[Get]
A detailed message describing the result of the operation.
This is particularly useful for AI agents that need context about what happened.
Signature
string Message
[Get]
The status code of the operation.
Signature
RuntimeAPIResult Status

Methods

ToString ()
Returns a string representation of the result.
Signature
override string ToString()
Returns
override string

Static Methods

CreateFailure ( status , message , context )
Creates a failure result with a status code and message.
Signature
static RuntimeAPIOperationResult CreateFailure(RuntimeAPIResult status, string message, string context=null)
Parameters
message: string
context: string
CreateSuccess ( message , context )
Creates a successful result with a message.
Signature
static RuntimeAPIOperationResult CreateSuccess(string message, string context=null)
Parameters
message: string
context: string