root.execution_logs

Classes

ExecutionLogs

Execution logs API

ExecutionResult

Base class for protocol classes.

Module Contents

class root.execution_logs.ExecutionLogs(client: Awaitable[root.generated.openapi_aclient.ApiClient] | root.generated.openapi_client.ApiClient)

Execution logs API

Parameters:

client (Union[Awaitable[root.generated.openapi_aclient.ApiClient], root.generated.openapi_client.ApiClient])

async aget(*, log_id: str | None = None, execution_result: ExecutionResult | None = None, _request_timeout: int | None = None) root.generated.openapi_aclient.models.execution_log_details.ExecutionLogDetails

Asynchronously get a specific execution log details

Parameters:
  • log_id (Optional[str]) – The log to be fetched

  • execution_result (Optional[ExecutionResult]) – The execution result containing the log ID.

  • _request_timeout (Optional[int])

Raises:

ValueError – If both log_id and execution_result are None.

Return type:

root.generated.openapi_aclient.models.execution_log_details.ExecutionLogDetails

async alist(*, limit: int = 100, search_term: str | None = None, _request_timeout: int | None = None) AsyncIterator[root.generated.openapi_aclient.models.execution_log_list.ExecutionLogList]

Asynchronously list execution logs

Parameters:
  • limit (int) – Number of entries to iterate through at most.

  • search_term (Optional[str]) – Can be used to limit returned logs. For example, a skill id or name.

  • _request_timeout (Optional[int])

Return type:

AsyncIterator[root.generated.openapi_aclient.models.execution_log_list.ExecutionLogList]

get(*, log_id: str | None = None, execution_result: ExecutionResult | None = None, _request_timeout: int | None = None) root.generated.openapi_client.models.execution_log_details.ExecutionLogDetails

Get a specific execution log details

Parameters:
  • log_id (Optional[str]) – The log to be fetched

  • execution_result (Optional[ExecutionResult]) – The execution result containing the log ID.

  • _request_timeout (Optional[int])

Raises:

ValueError – If both log_id and execution_result are None.

Return type:

root.generated.openapi_client.models.execution_log_details.ExecutionLogDetails

list(*, limit: int = 100, search_term: str | None = None, _request_timeout: int | None = None) Iterator[root.generated.openapi_client.models.execution_log_list.ExecutionLogList]

List execution logs

Parameters:
  • limit (int) – Number of entries to iterate through at most.

  • search_term (Optional[str]) – Can be used to limit returned logs. For example, a skill id or name.

  • _request_timeout (Optional[int])

Return type:

Iterator[root.generated.openapi_client.models.execution_log_list.ExecutionLogList]

class root.execution_logs.ExecutionResult

Bases: Protocol

Base class for protocol classes.

Protocol classes are defined as:

class Proto(Protocol):
    def meth(self) -> int:
        ...

Such classes are primarily used with static type checkers that recognize structural subtyping (static duck-typing).

For example:

class C:
    def meth(self) -> int:
        return 0

def func(x: Proto) -> int:
    return x.meth()

func(C())  # Passes static type check

See PEP 544 for details. Protocol classes decorated with @typing.runtime_checkable act as simple-minded runtime protocols that check only the presence of given attributes, ignoring their type signatures. Protocol classes can be generic, they are defined as:

class GenProto[T](Protocol):
    def meth(self) -> T:
        ...
execution_log_id: str