Wardrik. Operations. Snapshot
(wardrik v0.1.0-rc.1)
Copy Markdown
Reads agents' status and logs for operations.
Summary
Functions
Returns the calls the agent waits on a person for.
Returns :ok if the agent id exists, or a not_found error.
Returns the agent id's name. A conversation has its agent's name.
Returns when the agent id's next scheduled trigger runs, or nil.
Returns when each of the agent id's triggers runs next, by name. Webhooks are nil.
Returns a page of the logs patterns cover.
Returns the node the agent id runs on, or nil if it's asleep.
Returns the running agent id, or a not_found error if it's asleep.
Returns "asleep" if the agent id isn't running, or else its status/1.
Returns "idle", "running", or "parked" when waiting on a person.
Streams the logs patterns cover.
Returns the agent id's summary, as lists show it.
Returns whether event is one of types. Always true if types is nil.
Functions
Returns the calls the agent waits on a person for.
@spec known(Wardrik.t(), String.t()) :: :ok | {:error, Wardrik.Error.t()}
Returns :ok if the agent id exists, or a not_found error.
Returns the agent id's name. A conversation has its agent's name.
Returns when the agent id's next scheduled trigger runs, or nil.
Returns when each of the agent id's triggers runs next, by name. Webhooks are nil.
@spec page(Wardrik.Scope.t(), [String.t()], keyword()) :: {:ok, map()} | {:error, Wardrik.Error.t()}
Returns a page of the logs patterns cover.
Returns the node the agent id runs on, or nil if it's asleep.
@spec running(Wardrik.t(), String.t()) :: {:ok, pid()} | {:error, Wardrik.Error.t()}
Returns the running agent id, or a not_found error if it's asleep.
Returns "asleep" if the agent id isn't running, or else its status/1.
Returns "idle", "running", or "parked" when waiting on a person.
@spec stream(Wardrik.Scope.t(), [String.t()], keyword()) :: {:ok, Enumerable.t()} | {:error, Wardrik.Error.t()}
Streams the logs patterns cover.
Returns the agent id's summary, as lists show it.
Returns whether event is one of types. Always true if types is nil.