|
599 | 599 | "agents" |
600 | 600 | ], |
601 | 601 | "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.", |
603 | 603 | "operationId": "resume_agent_run_v1_organizations__org_id__agent_run_resume_post", |
604 | 604 | "parameters": [ |
605 | 605 | { |
|
1116 | 1116 | } |
1117 | 1117 | } |
1118 | 1118 | }, |
| 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 | + }, |
1119 | 1191 | "/v1/organizations": { |
1120 | 1192 | "get": { |
1121 | 1193 | "tags": [ |
|
1830 | 1902 | "CHAT", |
1831 | 1903 | "JIRA", |
1832 | 1904 | "CLICKUP", |
1833 | | - "MONDAY" |
| 1905 | + "MONDAY", |
| 1906 | + "SETUP_COMMANDS" |
1834 | 1907 | ], |
1835 | 1908 | "title": "ApiAgentRunSourceType" |
1836 | 1909 | }, |
|
1899 | 1972 | ], |
1900 | 1973 | "title": "CreateAgentRunInput" |
1901 | 1974 | }, |
| 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 | + }, |
1902 | 2000 | "GithubPullRequestResponse": { |
1903 | 2001 | "properties": { |
1904 | 2002 | "id": { |
|
2392 | 2490 | ], |
2393 | 2491 | "title": "ResumeAgentRunInput" |
2394 | 2492 | }, |
| 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 | + }, |
2395 | 2517 | "StopAgentRunInput": { |
2396 | 2518 | "properties": { |
2397 | 2519 | "agent_run_id": { |
|
0 commit comments