API referenceresources
ovok_sdk.resources.bots
The `ovok.bots` namespace: run server-side bots.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.25+2ba84b0
The ovok.bots namespace: run server-side bots.
BotsResource
BotsResource(http: HttpClient)Runs bots deployed to the project.
Created by Ovok; access it as ovok.bots.
execute()
execute(identifier: str, input: dict[str, Any]) -> dict[str, Any]Run a bot by its identifier and return its output.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
identifier | str | The bot's identifier. | |
input | dict[str, Any] | The JSON input the bot receives. |
Returns
dict[str, Any]: The bot's JSON output.
Last updated on