pub struct ExecutionsApi { /* private fields */ }Expand description
Executions API operations
Implementations§
Source§impl ExecutionsApi
impl ExecutionsApi
Sourcepub async fn execute(
&self,
request: &ExecutionRequest,
) -> ApiResult<ExecutionResponse>
pub async fn execute( &self, request: &ExecutionRequest, ) -> ApiResult<ExecutionResponse>
Execute a skill tool
Sourcepub async fn execute_simple(
&self,
skill: &str,
tool: &str,
args: HashMap<String, Value>,
) -> ApiResult<ExecutionResponse>
pub async fn execute_simple( &self, skill: &str, tool: &str, args: HashMap<String, Value>, ) -> ApiResult<ExecutionResponse>
Execute a skill tool with simple parameters
Sourcepub async fn execute_on_instance(
&self,
skill: &str,
tool: &str,
instance: &str,
args: HashMap<String, Value>,
) -> ApiResult<ExecutionResponse>
pub async fn execute_on_instance( &self, skill: &str, tool: &str, instance: &str, args: HashMap<String, Value>, ) -> ApiResult<ExecutionResponse>
Execute a skill tool on a specific instance
Sourcepub async fn execute_with_timeout(
&self,
skill: &str,
tool: &str,
args: HashMap<String, Value>,
timeout_secs: u64,
) -> ApiResult<ExecutionResponse>
pub async fn execute_with_timeout( &self, skill: &str, tool: &str, args: HashMap<String, Value>, timeout_secs: u64, ) -> ApiResult<ExecutionResponse>
Execute with custom timeout
Sourcepub async fn list_history(
&self,
pagination: Option<PaginationParams>,
) -> ApiResult<PaginatedResponse<ExecutionHistoryEntry>>
pub async fn list_history( &self, pagination: Option<PaginationParams>, ) -> ApiResult<PaginatedResponse<ExecutionHistoryEntry>>
List execution history with pagination
Sourcepub async fn list_all_history(&self) -> ApiResult<Vec<ExecutionHistoryEntry>>
pub async fn list_all_history(&self) -> ApiResult<Vec<ExecutionHistoryEntry>>
List all execution history (no pagination)
Sourcepub async fn get(&self, id: &str) -> ApiResult<ExecutionHistoryEntry>
pub async fn get(&self, id: &str) -> ApiResult<ExecutionHistoryEntry>
Get a specific execution by ID
Sourcepub async fn recent_for_skill(
&self,
skill: &str,
limit: usize,
) -> ApiResult<Vec<ExecutionHistoryEntry>>
pub async fn recent_for_skill( &self, skill: &str, limit: usize, ) -> ApiResult<Vec<ExecutionHistoryEntry>>
Get recent executions for a skill
Sourcepub async fn clear_history(&self) -> ApiResult<()>
pub async fn clear_history(&self) -> ApiResult<()>
Clear all execution history
Trait Implementations§
Source§impl Clone for ExecutionsApi
impl Clone for ExecutionsApi
Source§fn clone(&self) -> ExecutionsApi
fn clone(&self) -> ExecutionsApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecutionsApi
impl RefUnwindSafe for ExecutionsApi
impl !Send for ExecutionsApi
impl !Sync for ExecutionsApi
impl Unpin for ExecutionsApi
impl UnwindSafe for ExecutionsApi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.