archastro.platform.v1

  1# Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
  2# This file is auto-generated by @archastro/sdk-generator. Do not edit.
  3# Content hash: 4a93890ce132
  4
  5from ..runtime.http_client import HttpClient, SyncHttpClient
  6from .resources.activity_feed import ActivityFeedResource, AsyncActivityFeedResource
  7from .resources.agent_computers import AgentComputerResource, AsyncAgentComputerResource
  8from .resources.agent_env_vars import AgentEnvVarResource, AsyncAgentEnvVarResource
  9from .resources.agent_health_actions import (
 10    AgentHealthActionResource,
 11    AsyncAgentHealthActionResource,
 12)
 13from .resources.agent_installations import AgentInstallationResource, AsyncAgentInstallationResource
 14from .resources.agent_routine_runs import AgentRoutineRunResource, AsyncAgentRoutineRunResource
 15from .resources.agent_routines import AgentRoutineResource, AsyncAgentRoutineResource
 16from .resources.agent_sessions import AgentSessionResource, AsyncAgentSessionResource
 17from .resources.agent_skills import AgentSkillResource, AsyncAgentSkillResource
 18from .resources.agent_tools import AgentToolResource, AsyncAgentToolResource
 19from .resources.agents import AgentResource, AsyncAgentResource
 20from .resources.ai import AiResource, AsyncAiResource
 21from .resources.artifacts import ArtifactResource, AsyncArtifactResource
 22from .resources.automation_runs import AsyncAutomationRunResource, AutomationRunResource
 23from .resources.automations import AsyncAutomationResource, AutomationResource
 24from .resources.bug_reports import AsyncBugReportResource, BugReportResource
 25from .resources.config import AsyncConfigResource, ConfigResource
 26from .resources.custom_objects import AsyncCustomObjectResource, CustomObjectResource
 27from .resources.files import AsyncFileResource, FileResource
 28from .resources.installation_sources import (
 29    AsyncInstallationSourceResource,
 30    InstallationSourceResource,
 31)
 32from .resources.invites import AsyncInviteResource, InviteResource
 33from .resources.knowledge_documents import AsyncKnowledgeDocumentResource, KnowledgeDocumentResource
 34from .resources.knowledge_sources import AsyncKnowledgeSourceResource, KnowledgeSourceResource
 35from .resources.kv import AsyncKvResource, KvResource
 36from .resources.notification_preferences import (
 37    AsyncNotificationPreferenceResource,
 38    NotificationPreferenceResource,
 39)
 40from .resources.notifications import AsyncNotificationResource, NotificationResource
 41from .resources.orgs import AsyncOrgResource, OrgResource
 42from .resources.slack_channel_bindings import (
 43    AsyncSlackChannelBindingResource,
 44    SlackChannelBindingResource,
 45)
 46from .resources.solution_categories import AsyncSolutionCategoryResource, SolutionCategoryResource
 47from .resources.solution_tags import AsyncSolutionTagResource, SolutionTagResource
 48from .resources.solutions import AsyncSolutionResource, SolutionResource
 49from .resources.team_memberships import AsyncTeamMembershipResource, TeamMembershipResource
 50from .resources.teams import AsyncTeamResource, TeamResource
 51from .resources.thread_messages import AsyncThreadMessageResource, ThreadMessageResource
 52from .resources.threads import AsyncThreadResource, ThreadResource
 53from .resources.users import AsyncUserResource, UserResource
 54
 55
 56class V1:
 57    def __init__(self, http: SyncHttpClient):
 58        self.activity_feed = ActivityFeedResource(http)
 59        self.agent_computers = AgentComputerResource(http)
 60        self.agent_env_vars = AgentEnvVarResource(http)
 61        self.agent_health_actions = AgentHealthActionResource(http)
 62        self.agent_installations = AgentInstallationResource(http)
 63        self.agent_routine_runs = AgentRoutineRunResource(http)
 64        self.agent_routines = AgentRoutineResource(http)
 65        self.agent_sessions = AgentSessionResource(http)
 66        self.agent_skills = AgentSkillResource(http)
 67        self.agent_tools = AgentToolResource(http)
 68        self.agents = AgentResource(http)
 69        self.artifacts = ArtifactResource(http)
 70        self.automation_runs = AutomationRunResource(http)
 71        self.automations = AutomationResource(http)
 72        self.bug_reports = BugReportResource(http)
 73        self.config = ConfigResource(http)
 74        self.custom_objects = CustomObjectResource(http)
 75        self.files = FileResource(http)
 76        self.installation_sources = InstallationSourceResource(http)
 77        self.invites = InviteResource(http)
 78        self.knowledge_documents = KnowledgeDocumentResource(http)
 79        self.knowledge_sources = KnowledgeSourceResource(http)
 80        self.kv = KvResource(http)
 81        self.notification_preferences = NotificationPreferenceResource(http)
 82        self.notifications = NotificationResource(http)
 83        self.orgs = OrgResource(http)
 84        self.slack_channel_bindings = SlackChannelBindingResource(http)
 85        self.solution_categories = SolutionCategoryResource(http)
 86        self.solution_tags = SolutionTagResource(http)
 87        self.solutions = SolutionResource(http)
 88        self.team_memberships = TeamMembershipResource(http)
 89        self.teams = TeamResource(http)
 90        self.thread_messages = ThreadMessageResource(http)
 91        self.threads = ThreadResource(http)
 92        self.users = UserResource(http)
 93        self.ai = AiResource(http)
 94
 95
 96class AsyncV1:
 97    def __init__(self, http: HttpClient):
 98        self.activity_feed = AsyncActivityFeedResource(http)
 99        self.agent_computers = AsyncAgentComputerResource(http)
100        self.agent_env_vars = AsyncAgentEnvVarResource(http)
101        self.agent_health_actions = AsyncAgentHealthActionResource(http)
102        self.agent_installations = AsyncAgentInstallationResource(http)
103        self.agent_routine_runs = AsyncAgentRoutineRunResource(http)
104        self.agent_routines = AsyncAgentRoutineResource(http)
105        self.agent_sessions = AsyncAgentSessionResource(http)
106        self.agent_skills = AsyncAgentSkillResource(http)
107        self.agent_tools = AsyncAgentToolResource(http)
108        self.agents = AsyncAgentResource(http)
109        self.artifacts = AsyncArtifactResource(http)
110        self.automation_runs = AsyncAutomationRunResource(http)
111        self.automations = AsyncAutomationResource(http)
112        self.bug_reports = AsyncBugReportResource(http)
113        self.config = AsyncConfigResource(http)
114        self.custom_objects = AsyncCustomObjectResource(http)
115        self.files = AsyncFileResource(http)
116        self.installation_sources = AsyncInstallationSourceResource(http)
117        self.invites = AsyncInviteResource(http)
118        self.knowledge_documents = AsyncKnowledgeDocumentResource(http)
119        self.knowledge_sources = AsyncKnowledgeSourceResource(http)
120        self.kv = AsyncKvResource(http)
121        self.notification_preferences = AsyncNotificationPreferenceResource(http)
122        self.notifications = AsyncNotificationResource(http)
123        self.orgs = AsyncOrgResource(http)
124        self.slack_channel_bindings = AsyncSlackChannelBindingResource(http)
125        self.solution_categories = AsyncSolutionCategoryResource(http)
126        self.solution_tags = AsyncSolutionTagResource(http)
127        self.solutions = AsyncSolutionResource(http)
128        self.team_memberships = AsyncTeamMembershipResource(http)
129        self.teams = AsyncTeamResource(http)
130        self.thread_messages = AsyncThreadMessageResource(http)
131        self.threads = AsyncThreadResource(http)
132        self.users = AsyncUserResource(http)
133        self.ai = AsyncAiResource(http)
class V1:
57class V1:
58    def __init__(self, http: SyncHttpClient):
59        self.activity_feed = ActivityFeedResource(http)
60        self.agent_computers = AgentComputerResource(http)
61        self.agent_env_vars = AgentEnvVarResource(http)
62        self.agent_health_actions = AgentHealthActionResource(http)
63        self.agent_installations = AgentInstallationResource(http)
64        self.agent_routine_runs = AgentRoutineRunResource(http)
65        self.agent_routines = AgentRoutineResource(http)
66        self.agent_sessions = AgentSessionResource(http)
67        self.agent_skills = AgentSkillResource(http)
68        self.agent_tools = AgentToolResource(http)
69        self.agents = AgentResource(http)
70        self.artifacts = ArtifactResource(http)
71        self.automation_runs = AutomationRunResource(http)
72        self.automations = AutomationResource(http)
73        self.bug_reports = BugReportResource(http)
74        self.config = ConfigResource(http)
75        self.custom_objects = CustomObjectResource(http)
76        self.files = FileResource(http)
77        self.installation_sources = InstallationSourceResource(http)
78        self.invites = InviteResource(http)
79        self.knowledge_documents = KnowledgeDocumentResource(http)
80        self.knowledge_sources = KnowledgeSourceResource(http)
81        self.kv = KvResource(http)
82        self.notification_preferences = NotificationPreferenceResource(http)
83        self.notifications = NotificationResource(http)
84        self.orgs = OrgResource(http)
85        self.slack_channel_bindings = SlackChannelBindingResource(http)
86        self.solution_categories = SolutionCategoryResource(http)
87        self.solution_tags = SolutionTagResource(http)
88        self.solutions = SolutionResource(http)
89        self.team_memberships = TeamMembershipResource(http)
90        self.teams = TeamResource(http)
91        self.thread_messages = ThreadMessageResource(http)
92        self.threads = ThreadResource(http)
93        self.users = UserResource(http)
94        self.ai = AiResource(http)
58    def __init__(self, http: SyncHttpClient):
59        self.activity_feed = ActivityFeedResource(http)
60        self.agent_computers = AgentComputerResource(http)
61        self.agent_env_vars = AgentEnvVarResource(http)
62        self.agent_health_actions = AgentHealthActionResource(http)
63        self.agent_installations = AgentInstallationResource(http)
64        self.agent_routine_runs = AgentRoutineRunResource(http)
65        self.agent_routines = AgentRoutineResource(http)
66        self.agent_sessions = AgentSessionResource(http)
67        self.agent_skills = AgentSkillResource(http)
68        self.agent_tools = AgentToolResource(http)
69        self.agents = AgentResource(http)
70        self.artifacts = ArtifactResource(http)
71        self.automation_runs = AutomationRunResource(http)
72        self.automations = AutomationResource(http)
73        self.bug_reports = BugReportResource(http)
74        self.config = ConfigResource(http)
75        self.custom_objects = CustomObjectResource(http)
76        self.files = FileResource(http)
77        self.installation_sources = InstallationSourceResource(http)
78        self.invites = InviteResource(http)
79        self.knowledge_documents = KnowledgeDocumentResource(http)
80        self.knowledge_sources = KnowledgeSourceResource(http)
81        self.kv = KvResource(http)
82        self.notification_preferences = NotificationPreferenceResource(http)
83        self.notifications = NotificationResource(http)
84        self.orgs = OrgResource(http)
85        self.slack_channel_bindings = SlackChannelBindingResource(http)
86        self.solution_categories = SolutionCategoryResource(http)
87        self.solution_tags = SolutionTagResource(http)
88        self.solutions = SolutionResource(http)
89        self.team_memberships = TeamMembershipResource(http)
90        self.teams = TeamResource(http)
91        self.thread_messages = ThreadMessageResource(http)
92        self.threads = ThreadResource(http)
93        self.users = UserResource(http)
94        self.ai = AiResource(http)
activity_feed
agent_computers
agent_env_vars
agent_health_actions
agent_installations
agent_routine_runs
agent_routines
agent_sessions
agent_skills
agent_tools
agents
artifacts
automation_runs
automations
bug_reports
config
custom_objects
files
installation_sources
invites
knowledge_documents
knowledge_sources
kv
notification_preferences
notifications
orgs
slack_channel_bindings
solution_categories
solution_tags
solutions
team_memberships
teams
thread_messages
threads
users
ai
class AsyncV1:
 97class AsyncV1:
 98    def __init__(self, http: HttpClient):
 99        self.activity_feed = AsyncActivityFeedResource(http)
100        self.agent_computers = AsyncAgentComputerResource(http)
101        self.agent_env_vars = AsyncAgentEnvVarResource(http)
102        self.agent_health_actions = AsyncAgentHealthActionResource(http)
103        self.agent_installations = AsyncAgentInstallationResource(http)
104        self.agent_routine_runs = AsyncAgentRoutineRunResource(http)
105        self.agent_routines = AsyncAgentRoutineResource(http)
106        self.agent_sessions = AsyncAgentSessionResource(http)
107        self.agent_skills = AsyncAgentSkillResource(http)
108        self.agent_tools = AsyncAgentToolResource(http)
109        self.agents = AsyncAgentResource(http)
110        self.artifacts = AsyncArtifactResource(http)
111        self.automation_runs = AsyncAutomationRunResource(http)
112        self.automations = AsyncAutomationResource(http)
113        self.bug_reports = AsyncBugReportResource(http)
114        self.config = AsyncConfigResource(http)
115        self.custom_objects = AsyncCustomObjectResource(http)
116        self.files = AsyncFileResource(http)
117        self.installation_sources = AsyncInstallationSourceResource(http)
118        self.invites = AsyncInviteResource(http)
119        self.knowledge_documents = AsyncKnowledgeDocumentResource(http)
120        self.knowledge_sources = AsyncKnowledgeSourceResource(http)
121        self.kv = AsyncKvResource(http)
122        self.notification_preferences = AsyncNotificationPreferenceResource(http)
123        self.notifications = AsyncNotificationResource(http)
124        self.orgs = AsyncOrgResource(http)
125        self.slack_channel_bindings = AsyncSlackChannelBindingResource(http)
126        self.solution_categories = AsyncSolutionCategoryResource(http)
127        self.solution_tags = AsyncSolutionTagResource(http)
128        self.solutions = AsyncSolutionResource(http)
129        self.team_memberships = AsyncTeamMembershipResource(http)
130        self.teams = AsyncTeamResource(http)
131        self.thread_messages = AsyncThreadMessageResource(http)
132        self.threads = AsyncThreadResource(http)
133        self.users = AsyncUserResource(http)
134        self.ai = AsyncAiResource(http)
 98    def __init__(self, http: HttpClient):
 99        self.activity_feed = AsyncActivityFeedResource(http)
100        self.agent_computers = AsyncAgentComputerResource(http)
101        self.agent_env_vars = AsyncAgentEnvVarResource(http)
102        self.agent_health_actions = AsyncAgentHealthActionResource(http)
103        self.agent_installations = AsyncAgentInstallationResource(http)
104        self.agent_routine_runs = AsyncAgentRoutineRunResource(http)
105        self.agent_routines = AsyncAgentRoutineResource(http)
106        self.agent_sessions = AsyncAgentSessionResource(http)
107        self.agent_skills = AsyncAgentSkillResource(http)
108        self.agent_tools = AsyncAgentToolResource(http)
109        self.agents = AsyncAgentResource(http)
110        self.artifacts = AsyncArtifactResource(http)
111        self.automation_runs = AsyncAutomationRunResource(http)
112        self.automations = AsyncAutomationResource(http)
113        self.bug_reports = AsyncBugReportResource(http)
114        self.config = AsyncConfigResource(http)
115        self.custom_objects = AsyncCustomObjectResource(http)
116        self.files = AsyncFileResource(http)
117        self.installation_sources = AsyncInstallationSourceResource(http)
118        self.invites = AsyncInviteResource(http)
119        self.knowledge_documents = AsyncKnowledgeDocumentResource(http)
120        self.knowledge_sources = AsyncKnowledgeSourceResource(http)
121        self.kv = AsyncKvResource(http)
122        self.notification_preferences = AsyncNotificationPreferenceResource(http)
123        self.notifications = AsyncNotificationResource(http)
124        self.orgs = AsyncOrgResource(http)
125        self.slack_channel_bindings = AsyncSlackChannelBindingResource(http)
126        self.solution_categories = AsyncSolutionCategoryResource(http)
127        self.solution_tags = AsyncSolutionTagResource(http)
128        self.solutions = AsyncSolutionResource(http)
129        self.team_memberships = AsyncTeamMembershipResource(http)
130        self.teams = AsyncTeamResource(http)
131        self.thread_messages = AsyncThreadMessageResource(http)
132        self.threads = AsyncThreadResource(http)
133        self.users = AsyncUserResource(http)
134        self.ai = AsyncAiResource(http)
activity_feed
agent_computers
agent_env_vars
agent_health_actions
agent_installations
agent_routine_runs
agent_routines
agent_sessions
agent_skills
agent_tools
agents
artifacts
automation_runs
automations
bug_reports
config
custom_objects
files
installation_sources
invites
knowledge_documents
knowledge_sources
kv
notification_preferences
notifications
orgs
slack_channel_bindings
solution_categories
solution_tags
solutions
team_memberships
teams
thread_messages
threads
users
ai