Skip to content

Commit 01341c6

Browse files
committed
Update OpenAPI spec codegen-sh/cloud@782db11
1 parent 782db11 commit 01341c6

File tree

1 file changed

+124
-2
lines changed

1 file changed

+124
-2
lines changed

docs/api-reference/openapi3.json

Lines changed: 124 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@
599599
"agents"
600600
],
601601
"summary": "Resume Agent Run",
602-
"description": "Resume a paused agent run.\n\nResumes a paused agent run, allowing it to continue processing.",
602+
"description": "Resume a paused agent run.\n\nResumes a paused agent run, allowing it to continue processing.\n\nNote: Setup commands agents are automatically routed to their dedicated resume function.",
603603
"operationId": "resume_agent_run_v1_organizations__org_id__agent_run_resume_post",
604604
"parameters": [
605605
{
@@ -1116,6 +1116,78 @@
11161116
}
11171117
}
11181118
},
1119+
"/v1/organizations/{org_id}/setup-commands/generate": {
1120+
"post": {
1121+
"tags": [
1122+
"setup-commands",
1123+
"setup-commands",
1124+
"setup-commands"
1125+
],
1126+
"summary": "Generate Setup Commands",
1127+
"description": "Generate setup commands for a repository.\n\nCreates and initiates a setup command generation agent for the specified repository.\nThe agent will analyze the repository structure and generate appropriate setup commands.\n\nRate limit: 5 requests per minute.",
1128+
"operationId": "generate_setup_commands_v1_organizations__org_id__setup_commands_generate_post",
1129+
"parameters": [
1130+
{
1131+
"name": "org_id",
1132+
"in": "path",
1133+
"required": true,
1134+
"schema": {
1135+
"type": "integer",
1136+
"title": "Org Id"
1137+
}
1138+
},
1139+
{
1140+
"name": "authorization",
1141+
"in": "header",
1142+
"required": false,
1143+
"schema": {
1144+
"title": "Authorization"
1145+
}
1146+
}
1147+
],
1148+
"requestBody": {
1149+
"required": true,
1150+
"content": {
1151+
"application/json": {
1152+
"schema": {
1153+
"$ref": "#/components/schemas/GenerateSetupCommandsInput"
1154+
}
1155+
}
1156+
}
1157+
},
1158+
"responses": {
1159+
"200": {
1160+
"description": "Successful Response",
1161+
"content": {
1162+
"application/json": {
1163+
"schema": {
1164+
"$ref": "#/components/schemas/SetupCommandsResponse"
1165+
}
1166+
}
1167+
}
1168+
},
1169+
"404": {
1170+
"description": "Repository not found"
1171+
},
1172+
"400": {
1173+
"description": "Invalid input"
1174+
},
1175+
"500": {
1176+
"description": "Internal server error"
1177+
},
1178+
"422": {
1179+
"description": "Validation Error",
1180+
"content": {
1181+
"application/json": {
1182+
"schema": {
1183+
"$ref": "#/components/schemas/HTTPValidationError"
1184+
}
1185+
}
1186+
}
1187+
}
1188+
}
1189+
}
1190+
},
11191191
"/v1/organizations": {
11201192
"get": {
11211193
"tags": [
@@ -1830,7 +1902,8 @@
18301902
"CHAT",
18311903
"JIRA",
18321904
"CLICKUP",
1833-
"MONDAY"
1905+
"MONDAY",
1906+
"SETUP_COMMANDS"
18341907
],
18351908
"title": "ApiAgentRunSourceType"
18361909
},
@@ -1899,6 +1972,31 @@
18991972
],
19001973
"title": "CreateAgentRunInput"
19011974
},
1975+
"GenerateSetupCommandsInput": {
1976+
"properties": {
1977+
"repo_id": {
1978+
"type": "integer",
1979+
"title": "Repo Id"
1980+
},
1981+
"prompt": {
1982+
"anyOf": [
1983+
{
1984+
"type": "string"
1985+
},
1986+
{
1987+
"type": "null"
1988+
}
1989+
],
1990+
"title": "Prompt"
1991+
}
1992+
},
1993+
"type": "object",
1994+
"required": [
1995+
"repo_id"
1996+
],
1997+
"title": "GenerateSetupCommandsInput",
1998+
"description": "Input for generating setup commands."
1999+
},
19022000
"GithubPullRequestResponse": {
19032001
"properties": {
19042002
"id": {
@@ -2392,6 +2490,30 @@
23922490
],
23932491
"title": "ResumeAgentRunInput"
23942492
},
2493+
"SetupCommandsResponse": {
2494+
"properties": {
2495+
"agent_run_id": {
2496+
"type": "integer",
2497+
"title": "Agent Run Id"
2498+
},
2499+
"status": {
2500+
"type": "string",
2501+
"title": "Status"
2502+
},
2503+
"url": {
2504+
"type": "string",
2505+
"title": "Url"
2506+
}
2507+
},
2508+
"type": "object",
2509+
"required": [
2510+
"agent_run_id",
2511+
"status",
2512+
"url"
2513+
],
2514+
"title": "SetupCommandsResponse",
2515+
"description": "Response for setup commands generation."
2516+
},
23952517
"StopAgentRunInput": {
23962518
"properties": {
23972519
"agent_run_id": {

0 commit comments

Comments
 (0)