File tree Expand file tree Collapse file tree
tests/api-resources/agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 21
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-ba0eb0c9006df2bc1ad77d365586cdcc4ae62565aff5a7b746ba613fb3fe0889 .yml
3- openapi_spec_hash : 3ed3c07bf50eba4f02cbbbed358f5761
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-0610670bab7ee6c6c6630c94cf22162d57784544b4ff3acd7f1b9a9b405f71b4 .yml
3+ openapi_spec_hash : 53fed4f8bfe081ebe46f892dd6f1f501
44config_hash : b893614299dd99b07446072ade3737d1
Original file line number Diff line number Diff line change @@ -234,6 +234,12 @@ export interface ScheduleCreateParams {
234234 */
235235 agent_config ?: AgentAPI . AmbientAgentConfig ;
236236
237+ /**
238+ * Agent UID to use as the execution principal for this schedule. Only valid for
239+ * team-owned schedules.
240+ */
241+ agent_uid ?: string ;
242+
237243 /**
238244 * Whether the schedule should be active immediately
239245 */
@@ -273,6 +279,12 @@ export interface ScheduleUpdateParams {
273279 */
274280 agent_config ?: AgentAPI . AmbientAgentConfig ;
275281
282+ /**
283+ * Agent UID to use as the execution principal for this schedule. Only valid for
284+ * team-owned schedules.
285+ */
286+ agent_uid ?: string ;
287+
276288 /**
277289 * The prompt/instruction for the agent to execute. Required unless
278290 * agent_config.skill_spec is provided.
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ describe('resource schedules', () => {
5151 skill_spec : 'skill_spec' ,
5252 worker_host : 'worker_host' ,
5353 } ,
54+ agent_uid : 'agent_uid' ,
5455 enabled : true ,
5556 prompt : 'Review open pull requests and provide feedback' ,
5657 team : true ,
@@ -114,6 +115,7 @@ describe('resource schedules', () => {
114115 skill_spec : 'skill_spec' ,
115116 worker_host : 'worker_host' ,
116117 } ,
118+ agent_uid : 'agent_uid' ,
117119 prompt : 'prompt' ,
118120 } ) ;
119121 } ) ;
You can’t perform that action at this time.
0 commit comments