horde_sdk.ai_horde_api.apimodels.teams¶
TeamDetails ¶
Bases: HordeResponseBaseModel, TeamDetailsLite
Details about a team, including the models and workers that are part of it.
Represents the data returned from the /v2/teams/{team_id} endpoint with http status code 200.
v2 API Model: TeamDetails
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
info
class-attribute
instance-attribute
¶
Extra information or comments about this team provided by its owner.
creator
class-attribute
instance-attribute
¶
The alias of the user which created this team.
kudos
class-attribute
instance-attribute
¶
How many Kudos the workers in this team have been rewarded while part of this team.
models
class-attribute
instance-attribute
¶
The models that this team has run.
requests_fulfilled
class-attribute
instance-attribute
¶
How many images this team's workers have generated.
uptime
class-attribute
instance-attribute
¶
The total amount of time workers have stayed online while on this team.
worker_count
class-attribute
instance-attribute
¶
How many workers have been dedicated to this team.
workers
class-attribute
instance-attribute
¶
The workers that have been dedicated to this team.
AllTeamDetailsResponse ¶
Bases: HordeResponseRootModel[list[TeamDetails]]
Details about all teams, including the models and workers that are part of them.
Represents the data returned from the /v2/teams endpoint with http status code 200.
v2 API Model: _ANONYMOUS_MODEL
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
AllTeamDetailsRequest ¶
Bases: BaseAIHordeRequest
Request to get details about all teams.
Represents a GET request to the /v2/teams endpoint.
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
SingleTeamDetailsRequest ¶
Bases: BaseAIHordeRequest
Request to get details about a single team by ID.
Represents a GET request to the /v2/teams/{team_id} endpoint.
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
ModifyTeam ¶
Bases: HordeResponseBaseModel
Details about a team that has been modified.
Represents the data returned from the following endpoints and http status codes
- /v2/teams/{team_id} | ModifyTeamRequest [PATCH] -> 200
- /v2/teams | CreateTeamRequest [POST] -> 200
v2 API Model: ModifyTeam
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
info
class-attribute
instance-attribute
¶
Extra information or comments about this team provided by its owner.
ModifyTeamInput ¶
Bases: HordeAPIObjectBaseModel
Input data for modifying a team.
v2 API Model: ModifyTeamInput
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
info
class-attribute
instance-attribute
¶
Extra information or comments about this team provided by its owner.
CreateTeamRequest ¶
Bases: BaseAIHordeRequest, APIKeyAllowedInRequestMixin, ModifyTeamInput
Request to create a new team.
Represents a POST request to the /v2/teams endpoint.
v2 API Model: CreateTeamInput
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
ModifyTeamRequest ¶
Bases: BaseAIHordeRequest, APIKeyAllowedInRequestMixin, ModifyTeamInput
Request to modify a team by ID.
Represents a PATCH request to the /v2/teams/{team_id} endpoint.
v2 API Model: ModifyTeamInput
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
DeleteTeamResponse ¶
Bases: HordeResponseBaseModel
The team id and name that was just deleted.
Represents the data returned from the /v2/teams/{team_id} endpoint with http status code 200.
v2 API Model: DeletedTeam
Source code in horde_sdk/ai_horde_api/apimodels/teams.py
DeleteTeamRequest ¶
Bases: BaseAIHordeRequest, APIKeyAllowedInRequestMixin
Request to delete a team by ID.
Represents a DELETE request to the /v2/teams/{team_id} endpoint.