@oro-ai/sdk 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -18,6 +18,224 @@ type ActivateSuiteResponse = {
18
18
  */
19
19
  is_active: boolean;
20
20
  };
21
+ /**
22
+ * An agent version entry for admin listing.
23
+ */
24
+ type AdminAgentVersionEntry = {
25
+ /**
26
+ * Agent version ID
27
+ */
28
+ agent_version_id: string;
29
+ /**
30
+ * Parent agent ID
31
+ */
32
+ agent_id: string;
33
+ /**
34
+ * Agent name
35
+ */
36
+ agent_name: string;
37
+ /**
38
+ * Miner hotkey that owns this agent
39
+ */
40
+ miner_hotkey: string;
41
+ /**
42
+ * Version number
43
+ */
44
+ version_number: number;
45
+ /**
46
+ * When this version was created
47
+ */
48
+ created_at: string;
49
+ /**
50
+ * Whether version is eligible
51
+ */
52
+ is_eligible?: (boolean | null);
53
+ /**
54
+ * Whether version is discarded
55
+ */
56
+ is_discarded?: (boolean | null);
57
+ /**
58
+ * Final aggregate score
59
+ */
60
+ final_score?: (number | null);
61
+ /**
62
+ * Whether the work item is closed
63
+ */
64
+ work_item_is_closed?: (boolean | null);
65
+ /**
66
+ * Whether the work item is cancelled
67
+ */
68
+ work_item_is_cancelled?: (boolean | null);
69
+ /**
70
+ * Number of active evaluation runs
71
+ */
72
+ active_run_count?: (number | null);
73
+ /**
74
+ * Whether this is the current top agent
75
+ */
76
+ is_current_top?: boolean;
77
+ /**
78
+ * Number of included successful runs
79
+ */
80
+ work_item_included_success_count?: (number | null);
81
+ };
82
+ /**
83
+ * Response for admin agent versions listing.
84
+ */
85
+ type AdminAgentVersionsResponse = {
86
+ /**
87
+ * List of agent versions
88
+ */
89
+ agent_versions: Array<AdminAgentVersionEntry>;
90
+ /**
91
+ * Total agent versions matching filter
92
+ */
93
+ total: number;
94
+ /**
95
+ * Page size
96
+ */
97
+ limit: number;
98
+ /**
99
+ * Page offset
100
+ */
101
+ offset: number;
102
+ };
103
+ /**
104
+ * An evaluation run entry for admin listing.
105
+ */
106
+ type AdminEvaluationRunEntry = {
107
+ /**
108
+ * Evaluation run ID
109
+ */
110
+ run_id: string;
111
+ /**
112
+ * Agent version being evaluated
113
+ */
114
+ agent_version_id: string;
115
+ /**
116
+ * Validator performing evaluation
117
+ */
118
+ validator_hotkey: string;
119
+ /**
120
+ * Problem suite version
121
+ */
122
+ suite_id: number;
123
+ /**
124
+ * Run status
125
+ */
126
+ status: string;
127
+ /**
128
+ * When the run was claimed
129
+ */
130
+ claimed_at?: (string | null);
131
+ /**
132
+ * When the run completed
133
+ */
134
+ completed_at?: (string | null);
135
+ /**
136
+ * Last heartbeat timestamp
137
+ */
138
+ last_heartbeat_at?: (string | null);
139
+ /**
140
+ * Lease expiration
141
+ */
142
+ lease_expires_at?: (string | null);
143
+ /**
144
+ * Whether run is included in aggregate scoring
145
+ */
146
+ is_included: boolean;
147
+ /**
148
+ * Run score
149
+ */
150
+ score?: (number | null);
151
+ /**
152
+ * When the run was invalidated
153
+ */
154
+ invalidated_at?: (string | null);
155
+ /**
156
+ * Reason for invalidation
157
+ */
158
+ invalidation_reason?: (string | null);
159
+ /**
160
+ * When the run was created
161
+ */
162
+ created_at: string;
163
+ };
164
+ /**
165
+ * Response for admin evaluation runs listing.
166
+ */
167
+ type AdminEvaluationRunsResponse = {
168
+ /**
169
+ * List of evaluation runs
170
+ */
171
+ evaluation_runs: Array<AdminEvaluationRunEntry>;
172
+ /**
173
+ * Total evaluation runs matching filter
174
+ */
175
+ total: number;
176
+ /**
177
+ * Page size
178
+ */
179
+ limit: number;
180
+ /**
181
+ * Page offset
182
+ */
183
+ offset: number;
184
+ };
185
+ /**
186
+ * A miner entry for admin listing.
187
+ */
188
+ type AdminMinerEntry = {
189
+ /**
190
+ * Miner hotkey (SS58 address)
191
+ */
192
+ miner_hotkey: string;
193
+ /**
194
+ * Whether the miner is currently banned
195
+ */
196
+ is_banned: boolean;
197
+ /**
198
+ * Reason for ban if banned
199
+ */
200
+ ban_reason?: (string | null);
201
+ /**
202
+ * When the miner was banned
203
+ */
204
+ banned_at?: (string | null);
205
+ /**
206
+ * Number of agents owned by this miner
207
+ */
208
+ agent_count: number;
209
+ /**
210
+ * When the miner last submitted an agent
211
+ */
212
+ last_submitted_at?: (string | null);
213
+ /**
214
+ * When the miner was first registered
215
+ */
216
+ registered_at?: (string | null);
217
+ };
218
+ /**
219
+ * Response for admin miners listing.
220
+ */
221
+ type AdminMinersResponse = {
222
+ /**
223
+ * List of miners
224
+ */
225
+ miners: Array<AdminMinerEntry>;
226
+ /**
227
+ * Total miners matching filter
228
+ */
229
+ total: number;
230
+ /**
231
+ * Page size
232
+ */
233
+ limit: number;
234
+ /**
235
+ * Page offset
236
+ */
237
+ offset: number;
238
+ };
21
239
  /**
22
240
  * Reason for rejection of agent submission.
23
241
  */
@@ -2264,6 +2482,10 @@ type GetAuditEventsData = {
2264
2482
  * Offset for pagination
2265
2483
  */
2266
2484
  offset?: number;
2485
+ /**
2486
+ * Filter: at or after (ISO 8601)
2487
+ */
2488
+ since?: (string | null);
2267
2489
  /**
2268
2490
  * Filter by target ID
2269
2491
  */
@@ -2272,6 +2494,10 @@ type GetAuditEventsData = {
2272
2494
  * Filter by target type
2273
2495
  */
2274
2496
  target_type?: (string | null);
2497
+ /**
2498
+ * Filter: at or before (ISO 8601)
2499
+ */
2500
+ until?: (string | null);
2275
2501
  };
2276
2502
  };
2277
2503
  type GetAuditEventsResponse = (AuditEventsResponse);
@@ -2290,6 +2516,104 @@ type ClearMinerCooldownResponse = ({
2290
2516
  [key: string]: unknown;
2291
2517
  });
2292
2518
  type ClearMinerCooldownError = (HTTPValidationError);
2519
+ type ListMinersData = {
2520
+ query?: {
2521
+ /**
2522
+ * Filter by ban status
2523
+ */
2524
+ is_banned?: (boolean | null);
2525
+ /**
2526
+ * Number of miners to return
2527
+ */
2528
+ limit?: number;
2529
+ /**
2530
+ * Offset for pagination
2531
+ */
2532
+ offset?: number;
2533
+ /**
2534
+ * Last submitted at or after
2535
+ */
2536
+ since?: (string | null);
2537
+ /**
2538
+ * Last submitted at or before
2539
+ */
2540
+ until?: (string | null);
2541
+ };
2542
+ };
2543
+ type ListMinersResponse = (AdminMinersResponse);
2544
+ type ListMinersError = (HTTPValidationError);
2545
+ type ListAgentVersions1Data = {
2546
+ query?: {
2547
+ /**
2548
+ * Filter by discard status
2549
+ */
2550
+ is_discarded?: (boolean | null);
2551
+ /**
2552
+ * Filter by eligibility
2553
+ */
2554
+ is_eligible?: (boolean | null);
2555
+ /**
2556
+ * Number of versions to return
2557
+ */
2558
+ limit?: number;
2559
+ /**
2560
+ * Filter by miner hotkey
2561
+ */
2562
+ miner_hotkey?: (string | null);
2563
+ /**
2564
+ * Offset for pagination
2565
+ */
2566
+ offset?: number;
2567
+ /**
2568
+ * Filter: created at or after (ISO 8601)
2569
+ */
2570
+ since?: (string | null);
2571
+ /**
2572
+ * Suite ID (defaults to active suite)
2573
+ */
2574
+ suite_id?: (number | null);
2575
+ /**
2576
+ * Filter: created at or before (ISO 8601)
2577
+ */
2578
+ until?: (string | null);
2579
+ };
2580
+ };
2581
+ type ListAgentVersions1Response = (AdminAgentVersionsResponse);
2582
+ type ListAgentVersions1Error = (HTTPValidationError);
2583
+ type ListEvaluationRunsData = {
2584
+ query?: {
2585
+ /**
2586
+ * Filter by agent version ID
2587
+ */
2588
+ agent_version_id?: (string | null);
2589
+ /**
2590
+ * Number of runs to return
2591
+ */
2592
+ limit?: number;
2593
+ /**
2594
+ * Offset for pagination
2595
+ */
2596
+ offset?: number;
2597
+ /**
2598
+ * Filter: created at or after (ISO 8601)
2599
+ */
2600
+ since?: (string | null);
2601
+ /**
2602
+ * Filter by run status (e.g., RUNNING, SUCCESS)
2603
+ */
2604
+ status?: (EvaluationRunStatus | null);
2605
+ /**
2606
+ * Filter: created at or before (ISO 8601)
2607
+ */
2608
+ until?: (string | null);
2609
+ /**
2610
+ * Filter by validator hotkey
2611
+ */
2612
+ validator_hotkey?: (string | null);
2613
+ };
2614
+ };
2615
+ type ListEvaluationRunsResponse = (AdminEvaluationRunsResponse);
2616
+ type ListEvaluationRunsError = (HTTPValidationError);
2293
2617
 
2294
2618
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
2295
2619
  /**
@@ -2547,6 +2871,21 @@ declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: O
2547
2871
  * Clear the submission cooldown for a miner.
2548
2872
  */
2549
2873
  declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearMinerCooldownResponse, HTTPValidationError, ThrowOnError>;
2874
+ /**
2875
+ * List miners with ban status and agent count
2876
+ * List all miners with their ban status, agent count, and last submission time.
2877
+ */
2878
+ declare const listMiners: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminMinersResponse, HTTPValidationError, ThrowOnError>;
2879
+ /**
2880
+ * List agent versions with work item state
2881
+ * List agent versions with aggregate and work item state for a specific suite.
2882
+ */
2883
+ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAgentVersions1Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminAgentVersionsResponse, HTTPValidationError, ThrowOnError>;
2884
+ /**
2885
+ * List evaluation runs with full details
2886
+ * List evaluation runs with optional filtering and pagination.
2887
+ */
2888
+ declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
2550
2889
 
2551
2890
  /**
2552
2891
  * Auto-generated error code type.
@@ -2899,4 +3238,4 @@ declare class SessionAuthManager {
2899
3238
  */
2900
3239
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
2901
3240
 
2902
- export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listMinerAgents, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
3241
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.d.ts CHANGED
@@ -18,6 +18,224 @@ type ActivateSuiteResponse = {
18
18
  */
19
19
  is_active: boolean;
20
20
  };
21
+ /**
22
+ * An agent version entry for admin listing.
23
+ */
24
+ type AdminAgentVersionEntry = {
25
+ /**
26
+ * Agent version ID
27
+ */
28
+ agent_version_id: string;
29
+ /**
30
+ * Parent agent ID
31
+ */
32
+ agent_id: string;
33
+ /**
34
+ * Agent name
35
+ */
36
+ agent_name: string;
37
+ /**
38
+ * Miner hotkey that owns this agent
39
+ */
40
+ miner_hotkey: string;
41
+ /**
42
+ * Version number
43
+ */
44
+ version_number: number;
45
+ /**
46
+ * When this version was created
47
+ */
48
+ created_at: string;
49
+ /**
50
+ * Whether version is eligible
51
+ */
52
+ is_eligible?: (boolean | null);
53
+ /**
54
+ * Whether version is discarded
55
+ */
56
+ is_discarded?: (boolean | null);
57
+ /**
58
+ * Final aggregate score
59
+ */
60
+ final_score?: (number | null);
61
+ /**
62
+ * Whether the work item is closed
63
+ */
64
+ work_item_is_closed?: (boolean | null);
65
+ /**
66
+ * Whether the work item is cancelled
67
+ */
68
+ work_item_is_cancelled?: (boolean | null);
69
+ /**
70
+ * Number of active evaluation runs
71
+ */
72
+ active_run_count?: (number | null);
73
+ /**
74
+ * Whether this is the current top agent
75
+ */
76
+ is_current_top?: boolean;
77
+ /**
78
+ * Number of included successful runs
79
+ */
80
+ work_item_included_success_count?: (number | null);
81
+ };
82
+ /**
83
+ * Response for admin agent versions listing.
84
+ */
85
+ type AdminAgentVersionsResponse = {
86
+ /**
87
+ * List of agent versions
88
+ */
89
+ agent_versions: Array<AdminAgentVersionEntry>;
90
+ /**
91
+ * Total agent versions matching filter
92
+ */
93
+ total: number;
94
+ /**
95
+ * Page size
96
+ */
97
+ limit: number;
98
+ /**
99
+ * Page offset
100
+ */
101
+ offset: number;
102
+ };
103
+ /**
104
+ * An evaluation run entry for admin listing.
105
+ */
106
+ type AdminEvaluationRunEntry = {
107
+ /**
108
+ * Evaluation run ID
109
+ */
110
+ run_id: string;
111
+ /**
112
+ * Agent version being evaluated
113
+ */
114
+ agent_version_id: string;
115
+ /**
116
+ * Validator performing evaluation
117
+ */
118
+ validator_hotkey: string;
119
+ /**
120
+ * Problem suite version
121
+ */
122
+ suite_id: number;
123
+ /**
124
+ * Run status
125
+ */
126
+ status: string;
127
+ /**
128
+ * When the run was claimed
129
+ */
130
+ claimed_at?: (string | null);
131
+ /**
132
+ * When the run completed
133
+ */
134
+ completed_at?: (string | null);
135
+ /**
136
+ * Last heartbeat timestamp
137
+ */
138
+ last_heartbeat_at?: (string | null);
139
+ /**
140
+ * Lease expiration
141
+ */
142
+ lease_expires_at?: (string | null);
143
+ /**
144
+ * Whether run is included in aggregate scoring
145
+ */
146
+ is_included: boolean;
147
+ /**
148
+ * Run score
149
+ */
150
+ score?: (number | null);
151
+ /**
152
+ * When the run was invalidated
153
+ */
154
+ invalidated_at?: (string | null);
155
+ /**
156
+ * Reason for invalidation
157
+ */
158
+ invalidation_reason?: (string | null);
159
+ /**
160
+ * When the run was created
161
+ */
162
+ created_at: string;
163
+ };
164
+ /**
165
+ * Response for admin evaluation runs listing.
166
+ */
167
+ type AdminEvaluationRunsResponse = {
168
+ /**
169
+ * List of evaluation runs
170
+ */
171
+ evaluation_runs: Array<AdminEvaluationRunEntry>;
172
+ /**
173
+ * Total evaluation runs matching filter
174
+ */
175
+ total: number;
176
+ /**
177
+ * Page size
178
+ */
179
+ limit: number;
180
+ /**
181
+ * Page offset
182
+ */
183
+ offset: number;
184
+ };
185
+ /**
186
+ * A miner entry for admin listing.
187
+ */
188
+ type AdminMinerEntry = {
189
+ /**
190
+ * Miner hotkey (SS58 address)
191
+ */
192
+ miner_hotkey: string;
193
+ /**
194
+ * Whether the miner is currently banned
195
+ */
196
+ is_banned: boolean;
197
+ /**
198
+ * Reason for ban if banned
199
+ */
200
+ ban_reason?: (string | null);
201
+ /**
202
+ * When the miner was banned
203
+ */
204
+ banned_at?: (string | null);
205
+ /**
206
+ * Number of agents owned by this miner
207
+ */
208
+ agent_count: number;
209
+ /**
210
+ * When the miner last submitted an agent
211
+ */
212
+ last_submitted_at?: (string | null);
213
+ /**
214
+ * When the miner was first registered
215
+ */
216
+ registered_at?: (string | null);
217
+ };
218
+ /**
219
+ * Response for admin miners listing.
220
+ */
221
+ type AdminMinersResponse = {
222
+ /**
223
+ * List of miners
224
+ */
225
+ miners: Array<AdminMinerEntry>;
226
+ /**
227
+ * Total miners matching filter
228
+ */
229
+ total: number;
230
+ /**
231
+ * Page size
232
+ */
233
+ limit: number;
234
+ /**
235
+ * Page offset
236
+ */
237
+ offset: number;
238
+ };
21
239
  /**
22
240
  * Reason for rejection of agent submission.
23
241
  */
@@ -2264,6 +2482,10 @@ type GetAuditEventsData = {
2264
2482
  * Offset for pagination
2265
2483
  */
2266
2484
  offset?: number;
2485
+ /**
2486
+ * Filter: at or after (ISO 8601)
2487
+ */
2488
+ since?: (string | null);
2267
2489
  /**
2268
2490
  * Filter by target ID
2269
2491
  */
@@ -2272,6 +2494,10 @@ type GetAuditEventsData = {
2272
2494
  * Filter by target type
2273
2495
  */
2274
2496
  target_type?: (string | null);
2497
+ /**
2498
+ * Filter: at or before (ISO 8601)
2499
+ */
2500
+ until?: (string | null);
2275
2501
  };
2276
2502
  };
2277
2503
  type GetAuditEventsResponse = (AuditEventsResponse);
@@ -2290,6 +2516,104 @@ type ClearMinerCooldownResponse = ({
2290
2516
  [key: string]: unknown;
2291
2517
  });
2292
2518
  type ClearMinerCooldownError = (HTTPValidationError);
2519
+ type ListMinersData = {
2520
+ query?: {
2521
+ /**
2522
+ * Filter by ban status
2523
+ */
2524
+ is_banned?: (boolean | null);
2525
+ /**
2526
+ * Number of miners to return
2527
+ */
2528
+ limit?: number;
2529
+ /**
2530
+ * Offset for pagination
2531
+ */
2532
+ offset?: number;
2533
+ /**
2534
+ * Last submitted at or after
2535
+ */
2536
+ since?: (string | null);
2537
+ /**
2538
+ * Last submitted at or before
2539
+ */
2540
+ until?: (string | null);
2541
+ };
2542
+ };
2543
+ type ListMinersResponse = (AdminMinersResponse);
2544
+ type ListMinersError = (HTTPValidationError);
2545
+ type ListAgentVersions1Data = {
2546
+ query?: {
2547
+ /**
2548
+ * Filter by discard status
2549
+ */
2550
+ is_discarded?: (boolean | null);
2551
+ /**
2552
+ * Filter by eligibility
2553
+ */
2554
+ is_eligible?: (boolean | null);
2555
+ /**
2556
+ * Number of versions to return
2557
+ */
2558
+ limit?: number;
2559
+ /**
2560
+ * Filter by miner hotkey
2561
+ */
2562
+ miner_hotkey?: (string | null);
2563
+ /**
2564
+ * Offset for pagination
2565
+ */
2566
+ offset?: number;
2567
+ /**
2568
+ * Filter: created at or after (ISO 8601)
2569
+ */
2570
+ since?: (string | null);
2571
+ /**
2572
+ * Suite ID (defaults to active suite)
2573
+ */
2574
+ suite_id?: (number | null);
2575
+ /**
2576
+ * Filter: created at or before (ISO 8601)
2577
+ */
2578
+ until?: (string | null);
2579
+ };
2580
+ };
2581
+ type ListAgentVersions1Response = (AdminAgentVersionsResponse);
2582
+ type ListAgentVersions1Error = (HTTPValidationError);
2583
+ type ListEvaluationRunsData = {
2584
+ query?: {
2585
+ /**
2586
+ * Filter by agent version ID
2587
+ */
2588
+ agent_version_id?: (string | null);
2589
+ /**
2590
+ * Number of runs to return
2591
+ */
2592
+ limit?: number;
2593
+ /**
2594
+ * Offset for pagination
2595
+ */
2596
+ offset?: number;
2597
+ /**
2598
+ * Filter: created at or after (ISO 8601)
2599
+ */
2600
+ since?: (string | null);
2601
+ /**
2602
+ * Filter by run status (e.g., RUNNING, SUCCESS)
2603
+ */
2604
+ status?: (EvaluationRunStatus | null);
2605
+ /**
2606
+ * Filter: created at or before (ISO 8601)
2607
+ */
2608
+ until?: (string | null);
2609
+ /**
2610
+ * Filter by validator hotkey
2611
+ */
2612
+ validator_hotkey?: (string | null);
2613
+ };
2614
+ };
2615
+ type ListEvaluationRunsResponse = (AdminEvaluationRunsResponse);
2616
+ type ListEvaluationRunsError = (HTTPValidationError);
2293
2617
 
2294
2618
  declare const client: _hey_api_client_fetch.Client<Request, Response, unknown, _hey_api_client_fetch.RequestOptions<boolean, string>>;
2295
2619
  /**
@@ -2547,6 +2871,21 @@ declare const getReaperStats: <ThrowOnError extends boolean = false>(options?: O
2547
2871
  * Clear the submission cooldown for a miner.
2548
2872
  */
2549
2873
  declare const clearMinerCooldown: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ClearMinerCooldownData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ClearMinerCooldownResponse, HTTPValidationError, ThrowOnError>;
2874
+ /**
2875
+ * List miners with ban status and agent count
2876
+ * List all miners with their ban status, agent count, and last submission time.
2877
+ */
2878
+ declare const listMiners: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminMinersResponse, HTTPValidationError, ThrowOnError>;
2879
+ /**
2880
+ * List agent versions with work item state
2881
+ * List agent versions with aggregate and work item state for a specific suite.
2882
+ */
2883
+ declare const listAgentVersions1: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAgentVersions1Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminAgentVersionsResponse, HTTPValidationError, ThrowOnError>;
2884
+ /**
2885
+ * List evaluation runs with full details
2886
+ * List evaluation runs with optional filtering and pagination.
2887
+ */
2888
+ declare const listEvaluationRuns: <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AdminEvaluationRunsResponse, HTTPValidationError, ThrowOnError>;
2550
2889
 
2551
2890
  /**
2552
2891
  * Auto-generated error code type.
@@ -2899,4 +3238,4 @@ declare class SessionAuthManager {
2899
3238
  */
2900
3239
  declare function configureSessionAuth(baseUrl: string, config: SessionAuthConfig): SessionAuthManager;
2901
3240
 
2902
- export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listMinerAgents, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
3241
+ export { type ActivateSuiteData, type ActivateSuiteError, type ActivateSuiteResponse, type ActivateSuiteResponse2, type AdminAgentVersionEntry, type AdminAgentVersionsResponse, type AdminEvaluationRunEntry, type AdminEvaluationRunsResponse, type AdminMinerEntry, type AdminMinersResponse, type AdmissionReason, type AdmissionStatus, type AgentNotFoundError, type AgentPublic, type AgentVersionHistoryEntry, type AgentVersionNotFoundError, type AgentVersionProblemsResponse, type AgentVersionPublic, type AgentVersionState, type AgentVersionStatus, type AlreadyInvalidatedError, type ArtifactDownloadRequest, type ArtifactDownloadResponse, type ArtifactNotFoundError, type ArtifactNotReleasedError, type ArtifactReleaseState, type ArtifactType, type AtCapacityError, type AuditEventEntry, type AuditEventsResponse, type BanMinerData, type BanMinerError, type BanMinerResponse, type BanRequest, type BanResponse, type BanValidatorData, type BanValidatorError, type BanValidatorResponse, type BittensorAuthConfig, type Body_submit_agent, type CachedSession, type CancelAgentVersionData, type CancelAgentVersionError, type CancelAgentVersionResponse, type CancelRequest, type CancelResponse, type ChallengeRequest, type ChallengeResponse, type ChutesAuthStatusResponse, type ClaimWorkData, type ClaimWorkError, type ClaimWorkResponse, type ClaimWorkResponse2, type ClearMinerCooldownData, type ClearMinerCooldownError, type ClearMinerCooldownResponse, type CodeAnalysisError, type CompleteRunData, type CompleteRunError, type CompleteRunRequest, type CompleteRunResponse, type CompleteRunResponse2, type CooldownActiveError, type CreateSessionEndpointData, type CreateSessionEndpointError, type CreateSessionEndpointResponse, type CreateSuiteData, type CreateSuiteError, type CreateSuiteRequest, type CreateSuiteResponse, type CreateSuiteResponse2, type DiscardAgentVersionData, type DiscardAgentVersionError, type DiscardAgentVersionResponse, type DiscardRequest, type DiscardResponse, type ErrorCategory, type EvalRunNotFoundError, type EvaluationRunDetail, type EvaluationRunPublic, type EvaluationRunStatus, type EvaluationRunStatusPublic, type FileTooLargeError, type GetAgentVersionData, type GetAgentVersionError, type GetAgentVersionProblemsData, type GetAgentVersionProblemsError, type GetAgentVersionProblemsResponse, type GetAgentVersionResponse, type GetAgentVersionRunsData, type GetAgentVersionRunsError, type GetAgentVersionRunsResponse, type GetAgentVersionStatusData, type GetAgentVersionStatusError, type GetAgentVersionStatusResponse, type GetArtifactDownloadUrlData, type GetArtifactDownloadUrlError, type GetArtifactDownloadUrlResponse, type GetAuditEventsData, type GetAuditEventsError, type GetAuditEventsResponse, type GetChutesAuthStatusError, type GetChutesAuthStatusResponse, type GetCurrentSuiteError, type GetCurrentSuiteResponse, type GetEvaluationRunData, type GetEvaluationRunError, type GetEvaluationRunResponse, type GetLeaderboardData, type GetLeaderboardError, type GetLeaderboardResponse, type GetOwnedAgentVersionStatusData, type GetOwnedAgentVersionStatusError, type GetOwnedAgentVersionStatusResponse, type GetPendingEvaluationsData, type GetPendingEvaluationsError, type GetPendingEvaluationsResponse, type GetReaperStatsError, type GetReaperStatsResponse, type GetRunningEvaluationsError, type GetRunningEvaluationsResponse, type GetSuiteProblemsData, type GetSuiteProblemsError, type GetSuiteProblemsResponse, type GetTopAgentError, type GetTopAgentResponse, type GetValidatorsError, type GetValidatorsResponse, type HTTPValidationError, type HealthCheckError, type HealthCheckResponse, type HeartbeatData, type HeartbeatError, type HeartbeatRequest, type HeartbeatResponse, type HeartbeatResponse2, type InvalidAgentNameError, type InvalidArtifactTypeError, type InvalidFileError, type InvalidProblemIdError, type InvalidateEvaluationRunData, type InvalidateEvaluationRunError, type InvalidateEvaluationRunResponse, type InvalidateRunRequest, type JoinWaitlistData, type JoinWaitlistError, type JoinWaitlistResponse, type LeaderboardEntry, type LeaderboardResponse, type LeaseExpiredError, type ListAgentVersions1Data, type ListAgentVersions1Error, type ListAgentVersions1Response, type ListAgentVersionsData, type ListAgentVersionsError, type ListAgentVersionsResponse, type ListEvaluationRunsData, type ListEvaluationRunsError, type ListEvaluationRunsResponse, type ListMinerAgentsError, type ListMinerAgentsResponse, type ListMinersData, type ListMinersError, type ListMinersResponse, type LogoutData, type LogoutError, type LogoutResponse, type LogoutResponse2, type MinerAgentsResponse, type MinerNotFoundError, type MissingParameterError, type MissingScoreError, type NoActiveSuiteError, type NotRunOwnerError, type OroErrorCode, type PendingEvaluation, type PendingEvaluationSummary, type PendingEvaluationsResponse, type PresignUploadData, type PresignUploadError, type PresignUploadRequest, type PresignUploadResponse, type PresignUploadResponse2, type ProblemNotFoundError, type ProblemProgressEntry, type ProblemProgressUpdate, type ProblemPublic, type ProblemStatus, type ProgressUpdateRequest, type ProgressUpdateResponse, type RateLimitExceededError, type ReaperStatsResponse, type ReevaluateAgentVersionData, type ReevaluateAgentVersionError, type ReevaluateAgentVersionResponse, type ReevaluateRequest, type ReevaluateResponse, type ReinstateAgentVersionData, type ReinstateAgentVersionError, type ReinstateAgentVersionResponse, type ReinstateRequest, type RequestChallengeData, type RequestChallengeError, type RequestChallengeResponse, type RetryConfig, type RetryContext, type RunAlreadyCompleteError, type RunningEvaluation, type ScoreBelowThresholdError, type SessionAuthConfig, SessionAuthManager, type SessionInfo, type SessionRequest, type SessionResponse, type SetTopAgentData, type SetTopAgentError, type SetTopAgentResponse, type SetTopRequest, type SetTopResponse, type StoreChutesTokenData, type StoreChutesTokenError, type StoreChutesTokenRequest, type StoreChutesTokenResponse, type SubmitAgentData, type SubmitAgentError, type SubmitAgentResponse, type SubmitAgentResponse2, type SuiteNotFoundError, type SuitePublic, type SuiteWithProblemsResponse, type TerminalStatus, type TopAgentResponse, type UnbanMinerData, type UnbanMinerError, type UnbanMinerResponse, type UnbanValidatorData, type UnbanValidatorError, type UnbanValidatorResponse, type UpdateProgressData, type UpdateProgressError, type UpdateProgressResponse, type ValidationError, type ValidatorCurrentAgent, type ValidatorNotFoundError, type ValidatorProblemResult, type ValidatorPublic, type ValidatorStatus, type WaitlistSignupRequest, type WaitlistSignupResponse, type WorkItemStatus, activateSuite, banMiner, banValidator, cancelAgentVersion, claimWork, classifyError, classifyStatus, clearMinerCooldown, client, completeRun, computeDelay, configureBittensorAuth, configurePublicClient, configureSessionAuth, createRetryFetch, createSessionEndpoint, createSuite, discardAgentVersion, generateAuthHeaders, getAgentVersion, getAgentVersionProblems, getAgentVersionRuns, getAgentVersionStatus, getArtifactDownloadUrl, getAuditEvents, getChutesAuthStatus, getCurrentSuite, getErrorCode, getErrorDetail, getEvaluationRun, getLeaderboard, getOwnedAgentVersionStatus, getPendingEvaluations, getReaperStats, getRunningEvaluations, getSuiteProblems, getTopAgent, getValidators, hasDetail, hasErrorCode, healthCheck, heartbeat, invalidateEvaluationRun, isTransient, isTransientError, joinWaitlist, listAgentVersions, listAgentVersions1, listEvaluationRuns, listMinerAgents, listMiners, logout, parseRetryAfter, presignUpload, reevaluateAgentVersion, reinstateAgentVersion, requestChallenge, setTopAgent, storeChutesToken, submitAgent, unbanMiner, unbanValidator, updateProgress };
package/dist/index.js CHANGED
@@ -78,7 +78,10 @@ __export(index_exports, {
78
78
  isTransientError: () => isTransientError,
79
79
  joinWaitlist: () => joinWaitlist,
80
80
  listAgentVersions: () => listAgentVersions,
81
+ listAgentVersions1: () => listAgentVersions1,
82
+ listEvaluationRuns: () => listEvaluationRuns,
81
83
  listMinerAgents: () => listMinerAgents,
84
+ listMiners: () => listMiners,
82
85
  logout: () => logout,
83
86
  parseRetryAfter: () => parseRetryAfter,
84
87
  presignUpload: () => presignUpload,
@@ -366,6 +369,24 @@ var clearMinerCooldown = (options) => {
366
369
  url: "/v1/admin/miners/{hotkey}/clear-cooldown"
367
370
  });
368
371
  };
372
+ var listMiners = (options) => {
373
+ return (options?.client ?? client).get({
374
+ ...options,
375
+ url: "/v1/admin/miners"
376
+ });
377
+ };
378
+ var listAgentVersions1 = (options) => {
379
+ return (options?.client ?? client).get({
380
+ ...options,
381
+ url: "/v1/admin/agent-versions"
382
+ });
383
+ };
384
+ var listEvaluationRuns = (options) => {
385
+ return (options?.client ?? client).get({
386
+ ...options,
387
+ url: "/v1/admin/evaluation-runs"
388
+ });
389
+ };
369
390
 
370
391
  // src/errors.ts
371
392
  function classifyStatus(status) {
@@ -776,7 +797,10 @@ function configureSessionAuth(baseUrl, config) {
776
797
  isTransientError,
777
798
  joinWaitlist,
778
799
  listAgentVersions,
800
+ listAgentVersions1,
801
+ listEvaluationRuns,
779
802
  listMinerAgents,
803
+ listMiners,
780
804
  logout,
781
805
  parseRetryAfter,
782
806
  presignUpload,
package/dist/index.mjs CHANGED
@@ -270,6 +270,24 @@ var clearMinerCooldown = (options) => {
270
270
  url: "/v1/admin/miners/{hotkey}/clear-cooldown"
271
271
  });
272
272
  };
273
+ var listMiners = (options) => {
274
+ return (options?.client ?? client).get({
275
+ ...options,
276
+ url: "/v1/admin/miners"
277
+ });
278
+ };
279
+ var listAgentVersions1 = (options) => {
280
+ return (options?.client ?? client).get({
281
+ ...options,
282
+ url: "/v1/admin/agent-versions"
283
+ });
284
+ };
285
+ var listEvaluationRuns = (options) => {
286
+ return (options?.client ?? client).get({
287
+ ...options,
288
+ url: "/v1/admin/evaluation-runs"
289
+ });
290
+ };
273
291
 
274
292
  // src/errors.ts
275
293
  function classifyStatus(status) {
@@ -679,7 +697,10 @@ export {
679
697
  isTransientError,
680
698
  joinWaitlist,
681
699
  listAgentVersions,
700
+ listAgentVersions1,
701
+ listEvaluationRuns,
682
702
  listMinerAgents,
703
+ listMiners,
683
704
  logout,
684
705
  parseRetryAfter,
685
706
  presignUpload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oro-ai/sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Official TypeScript SDK for the ORO Bittensor Subnet API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
4
- import type { HealthCheckError, HealthCheckResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse } from './types.gen';
4
+ import type { HealthCheckError, HealthCheckResponse, GetCurrentSuiteError, GetCurrentSuiteResponse, GetSuiteProblemsData, GetSuiteProblemsError, GetSuiteProblemsResponse, GetLeaderboardData, GetLeaderboardError, GetLeaderboardResponse, GetTopAgentError, GetTopAgentResponse, GetAgentVersionStatusData, GetAgentVersionStatusError, GetAgentVersionStatusResponse, GetAgentVersionRunsData, GetAgentVersionRunsError, GetAgentVersionRunsResponse, GetAgentVersionProblemsData, GetAgentVersionProblemsError, GetAgentVersionProblemsResponse, GetAgentVersionData, GetAgentVersionError, GetAgentVersionResponse, GetArtifactDownloadUrlData, GetArtifactDownloadUrlError, GetArtifactDownloadUrlResponse, GetEvaluationRunData, GetEvaluationRunError, GetEvaluationRunResponse, GetValidatorsError, GetValidatorsResponse, GetRunningEvaluationsError, GetRunningEvaluationsResponse, GetPendingEvaluationsData, GetPendingEvaluationsError, GetPendingEvaluationsResponse, JoinWaitlistData, JoinWaitlistError, JoinWaitlistResponse, RequestChallengeData, RequestChallengeError, RequestChallengeResponse, CreateSessionEndpointData, CreateSessionEndpointError, CreateSessionEndpointResponse, LogoutData, LogoutError, LogoutResponse2, SubmitAgentData, SubmitAgentError, SubmitAgentResponse2, StoreChutesTokenData, StoreChutesTokenError, StoreChutesTokenResponse, GetChutesAuthStatusError, GetChutesAuthStatusResponse, ListMinerAgentsError, ListMinerAgentsResponse, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsResponse, GetOwnedAgentVersionStatusData, GetOwnedAgentVersionStatusError, GetOwnedAgentVersionStatusResponse, ClaimWorkData, ClaimWorkError, ClaimWorkResponse2, HeartbeatData, HeartbeatError, HeartbeatResponse2, UpdateProgressData, UpdateProgressError, UpdateProgressResponse, PresignUploadData, PresignUploadError, PresignUploadResponse2, CompleteRunData, CompleteRunError, CompleteRunResponse2, BanMinerData, BanMinerError, BanMinerResponse, UnbanMinerData, UnbanMinerError, UnbanMinerResponse, BanValidatorData, BanValidatorError, BanValidatorResponse, UnbanValidatorData, UnbanValidatorError, UnbanValidatorResponse, DiscardAgentVersionData, DiscardAgentVersionError, DiscardAgentVersionResponse, ReinstateAgentVersionData, ReinstateAgentVersionError, ReinstateAgentVersionResponse, SetTopAgentData, SetTopAgentError, SetTopAgentResponse, InvalidateEvaluationRunData, InvalidateEvaluationRunError, InvalidateEvaluationRunResponse, ReevaluateAgentVersionData, ReevaluateAgentVersionError, ReevaluateAgentVersionResponse, CancelAgentVersionData, CancelAgentVersionError, CancelAgentVersionResponse, CreateSuiteData, CreateSuiteError, CreateSuiteResponse2, ActivateSuiteData, ActivateSuiteError, ActivateSuiteResponse2, GetAuditEventsData, GetAuditEventsError, GetAuditEventsResponse, GetReaperStatsError, GetReaperStatsResponse, ClearMinerCooldownData, ClearMinerCooldownError, ClearMinerCooldownResponse, ListMinersData, ListMinersError, ListMinersResponse, ListAgentVersions1Data, ListAgentVersions1Error, ListAgentVersions1Response, ListEvaluationRunsData, ListEvaluationRunsError, ListEvaluationRunsResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -527,4 +527,37 @@ export const clearMinerCooldown = <ThrowOnError extends boolean = false>(options
527
527
  ...options,
528
528
  url: '/v1/admin/miners/{hotkey}/clear-cooldown'
529
529
  });
530
+ };
531
+
532
+ /**
533
+ * List miners with ban status and agent count
534
+ * List all miners with their ban status, agent count, and last submission time.
535
+ */
536
+ export const listMiners = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListMinersData, ThrowOnError>) => {
537
+ return (options?.client ?? client).get<ListMinersResponse, ListMinersError, ThrowOnError>({
538
+ ...options,
539
+ url: '/v1/admin/miners'
540
+ });
541
+ };
542
+
543
+ /**
544
+ * List agent versions with work item state
545
+ * List agent versions with aggregate and work item state for a specific suite.
546
+ */
547
+ export const listAgentVersions1 = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAgentVersions1Data, ThrowOnError>) => {
548
+ return (options?.client ?? client).get<ListAgentVersions1Response, ListAgentVersions1Error, ThrowOnError>({
549
+ ...options,
550
+ url: '/v1/admin/agent-versions'
551
+ });
552
+ };
553
+
554
+ /**
555
+ * List evaluation runs with full details
556
+ * List evaluation runs with optional filtering and pagination.
557
+ */
558
+ export const listEvaluationRuns = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListEvaluationRunsData, ThrowOnError>) => {
559
+ return (options?.client ?? client).get<ListEvaluationRunsResponse, ListEvaluationRunsError, ThrowOnError>({
560
+ ...options,
561
+ url: '/v1/admin/evaluation-runs'
562
+ });
530
563
  };
@@ -18,6 +18,230 @@ export type ActivateSuiteResponse = {
18
18
  is_active: boolean;
19
19
  };
20
20
 
21
+ /**
22
+ * An agent version entry for admin listing.
23
+ */
24
+ export type AdminAgentVersionEntry = {
25
+ /**
26
+ * Agent version ID
27
+ */
28
+ agent_version_id: string;
29
+ /**
30
+ * Parent agent ID
31
+ */
32
+ agent_id: string;
33
+ /**
34
+ * Agent name
35
+ */
36
+ agent_name: string;
37
+ /**
38
+ * Miner hotkey that owns this agent
39
+ */
40
+ miner_hotkey: string;
41
+ /**
42
+ * Version number
43
+ */
44
+ version_number: number;
45
+ /**
46
+ * When this version was created
47
+ */
48
+ created_at: string;
49
+ /**
50
+ * Whether version is eligible
51
+ */
52
+ is_eligible?: (boolean | null);
53
+ /**
54
+ * Whether version is discarded
55
+ */
56
+ is_discarded?: (boolean | null);
57
+ /**
58
+ * Final aggregate score
59
+ */
60
+ final_score?: (number | null);
61
+ /**
62
+ * Whether the work item is closed
63
+ */
64
+ work_item_is_closed?: (boolean | null);
65
+ /**
66
+ * Whether the work item is cancelled
67
+ */
68
+ work_item_is_cancelled?: (boolean | null);
69
+ /**
70
+ * Number of active evaluation runs
71
+ */
72
+ active_run_count?: (number | null);
73
+ /**
74
+ * Whether this is the current top agent
75
+ */
76
+ is_current_top?: boolean;
77
+ /**
78
+ * Number of included successful runs
79
+ */
80
+ work_item_included_success_count?: (number | null);
81
+ };
82
+
83
+ /**
84
+ * Response for admin agent versions listing.
85
+ */
86
+ export type AdminAgentVersionsResponse = {
87
+ /**
88
+ * List of agent versions
89
+ */
90
+ agent_versions: Array<AdminAgentVersionEntry>;
91
+ /**
92
+ * Total agent versions matching filter
93
+ */
94
+ total: number;
95
+ /**
96
+ * Page size
97
+ */
98
+ limit: number;
99
+ /**
100
+ * Page offset
101
+ */
102
+ offset: number;
103
+ };
104
+
105
+ /**
106
+ * An evaluation run entry for admin listing.
107
+ */
108
+ export type AdminEvaluationRunEntry = {
109
+ /**
110
+ * Evaluation run ID
111
+ */
112
+ run_id: string;
113
+ /**
114
+ * Agent version being evaluated
115
+ */
116
+ agent_version_id: string;
117
+ /**
118
+ * Validator performing evaluation
119
+ */
120
+ validator_hotkey: string;
121
+ /**
122
+ * Problem suite version
123
+ */
124
+ suite_id: number;
125
+ /**
126
+ * Run status
127
+ */
128
+ status: string;
129
+ /**
130
+ * When the run was claimed
131
+ */
132
+ claimed_at?: (string | null);
133
+ /**
134
+ * When the run completed
135
+ */
136
+ completed_at?: (string | null);
137
+ /**
138
+ * Last heartbeat timestamp
139
+ */
140
+ last_heartbeat_at?: (string | null);
141
+ /**
142
+ * Lease expiration
143
+ */
144
+ lease_expires_at?: (string | null);
145
+ /**
146
+ * Whether run is included in aggregate scoring
147
+ */
148
+ is_included: boolean;
149
+ /**
150
+ * Run score
151
+ */
152
+ score?: (number | null);
153
+ /**
154
+ * When the run was invalidated
155
+ */
156
+ invalidated_at?: (string | null);
157
+ /**
158
+ * Reason for invalidation
159
+ */
160
+ invalidation_reason?: (string | null);
161
+ /**
162
+ * When the run was created
163
+ */
164
+ created_at: string;
165
+ };
166
+
167
+ /**
168
+ * Response for admin evaluation runs listing.
169
+ */
170
+ export type AdminEvaluationRunsResponse = {
171
+ /**
172
+ * List of evaluation runs
173
+ */
174
+ evaluation_runs: Array<AdminEvaluationRunEntry>;
175
+ /**
176
+ * Total evaluation runs matching filter
177
+ */
178
+ total: number;
179
+ /**
180
+ * Page size
181
+ */
182
+ limit: number;
183
+ /**
184
+ * Page offset
185
+ */
186
+ offset: number;
187
+ };
188
+
189
+ /**
190
+ * A miner entry for admin listing.
191
+ */
192
+ export type AdminMinerEntry = {
193
+ /**
194
+ * Miner hotkey (SS58 address)
195
+ */
196
+ miner_hotkey: string;
197
+ /**
198
+ * Whether the miner is currently banned
199
+ */
200
+ is_banned: boolean;
201
+ /**
202
+ * Reason for ban if banned
203
+ */
204
+ ban_reason?: (string | null);
205
+ /**
206
+ * When the miner was banned
207
+ */
208
+ banned_at?: (string | null);
209
+ /**
210
+ * Number of agents owned by this miner
211
+ */
212
+ agent_count: number;
213
+ /**
214
+ * When the miner last submitted an agent
215
+ */
216
+ last_submitted_at?: (string | null);
217
+ /**
218
+ * When the miner was first registered
219
+ */
220
+ registered_at?: (string | null);
221
+ };
222
+
223
+ /**
224
+ * Response for admin miners listing.
225
+ */
226
+ export type AdminMinersResponse = {
227
+ /**
228
+ * List of miners
229
+ */
230
+ miners: Array<AdminMinerEntry>;
231
+ /**
232
+ * Total miners matching filter
233
+ */
234
+ total: number;
235
+ /**
236
+ * Page size
237
+ */
238
+ limit: number;
239
+ /**
240
+ * Page offset
241
+ */
242
+ offset: number;
243
+ };
244
+
21
245
  /**
22
246
  * Reason for rejection of agent submission.
23
247
  */
@@ -2481,6 +2705,10 @@ export type GetAuditEventsData = {
2481
2705
  * Offset for pagination
2482
2706
  */
2483
2707
  offset?: number;
2708
+ /**
2709
+ * Filter: at or after (ISO 8601)
2710
+ */
2711
+ since?: (string | null);
2484
2712
  /**
2485
2713
  * Filter by target ID
2486
2714
  */
@@ -2489,6 +2717,10 @@ export type GetAuditEventsData = {
2489
2717
  * Filter by target type
2490
2718
  */
2491
2719
  target_type?: (string | null);
2720
+ /**
2721
+ * Filter: at or before (ISO 8601)
2722
+ */
2723
+ until?: (string | null);
2492
2724
  };
2493
2725
  };
2494
2726
 
@@ -2513,4 +2745,111 @@ export type ClearMinerCooldownResponse = ({
2513
2745
  [key: string]: unknown;
2514
2746
  });
2515
2747
 
2516
- export type ClearMinerCooldownError = (HTTPValidationError);
2748
+ export type ClearMinerCooldownError = (HTTPValidationError);
2749
+
2750
+ export type ListMinersData = {
2751
+ query?: {
2752
+ /**
2753
+ * Filter by ban status
2754
+ */
2755
+ is_banned?: (boolean | null);
2756
+ /**
2757
+ * Number of miners to return
2758
+ */
2759
+ limit?: number;
2760
+ /**
2761
+ * Offset for pagination
2762
+ */
2763
+ offset?: number;
2764
+ /**
2765
+ * Last submitted at or after
2766
+ */
2767
+ since?: (string | null);
2768
+ /**
2769
+ * Last submitted at or before
2770
+ */
2771
+ until?: (string | null);
2772
+ };
2773
+ };
2774
+
2775
+ export type ListMinersResponse = (AdminMinersResponse);
2776
+
2777
+ export type ListMinersError = (HTTPValidationError);
2778
+
2779
+ export type ListAgentVersions1Data = {
2780
+ query?: {
2781
+ /**
2782
+ * Filter by discard status
2783
+ */
2784
+ is_discarded?: (boolean | null);
2785
+ /**
2786
+ * Filter by eligibility
2787
+ */
2788
+ is_eligible?: (boolean | null);
2789
+ /**
2790
+ * Number of versions to return
2791
+ */
2792
+ limit?: number;
2793
+ /**
2794
+ * Filter by miner hotkey
2795
+ */
2796
+ miner_hotkey?: (string | null);
2797
+ /**
2798
+ * Offset for pagination
2799
+ */
2800
+ offset?: number;
2801
+ /**
2802
+ * Filter: created at or after (ISO 8601)
2803
+ */
2804
+ since?: (string | null);
2805
+ /**
2806
+ * Suite ID (defaults to active suite)
2807
+ */
2808
+ suite_id?: (number | null);
2809
+ /**
2810
+ * Filter: created at or before (ISO 8601)
2811
+ */
2812
+ until?: (string | null);
2813
+ };
2814
+ };
2815
+
2816
+ export type ListAgentVersions1Response = (AdminAgentVersionsResponse);
2817
+
2818
+ export type ListAgentVersions1Error = (HTTPValidationError);
2819
+
2820
+ export type ListEvaluationRunsData = {
2821
+ query?: {
2822
+ /**
2823
+ * Filter by agent version ID
2824
+ */
2825
+ agent_version_id?: (string | null);
2826
+ /**
2827
+ * Number of runs to return
2828
+ */
2829
+ limit?: number;
2830
+ /**
2831
+ * Offset for pagination
2832
+ */
2833
+ offset?: number;
2834
+ /**
2835
+ * Filter: created at or after (ISO 8601)
2836
+ */
2837
+ since?: (string | null);
2838
+ /**
2839
+ * Filter by run status (e.g., RUNNING, SUCCESS)
2840
+ */
2841
+ status?: (EvaluationRunStatus | null);
2842
+ /**
2843
+ * Filter: created at or before (ISO 8601)
2844
+ */
2845
+ until?: (string | null);
2846
+ /**
2847
+ * Filter by validator hotkey
2848
+ */
2849
+ validator_hotkey?: (string | null);
2850
+ };
2851
+ };
2852
+
2853
+ export type ListEvaluationRunsResponse = (AdminEvaluationRunsResponse);
2854
+
2855
+ export type ListEvaluationRunsError = (HTTPValidationError);