Skip to content

Commit 584c717

Browse files
committed
Update OpenAPI spec codegen-sh/cloud@7496a03
1 parent 7496a03 commit 584c717

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

docs/api-reference/openapi3.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,94 @@
11931193
}
11941194
}
11951195
},
1196+
"/v1/organizations/{org_id}/sandbox/{sandbox_id}/analyze-logs": {
1197+
"post": {
1198+
"tags": [
1199+
"sandbox",
1200+
"sandbox",
1201+
"sandbox"
1202+
],
1203+
"summary": "Analyze Sandbox Logs",
1204+
"description": "Analyze sandbox setup logs using an AI agent.\n\nThis endpoint creates an AI agent that will analyze the setup logs from a sandbox,\nidentify any errors, provide insights about what went wrong, and suggest potential\nsolutions. The analysis runs asynchronously and results can be retrieved using the\nreturned agent run ID.\n\nRate limit: 5 requests per minute.",
1205+
"operationId": "analyze_sandbox_logs_v1_organizations__org_id__sandbox__sandbox_id__analyze_logs_post",
1206+
"parameters": [
1207+
{
1208+
"name": "sandbox_id",
1209+
"in": "path",
1210+
"required": true,
1211+
"schema": {
1212+
"type": "integer",
1213+
"title": "Sandbox Id"
1214+
}
1215+
},
1216+
{
1217+
"name": "org_id",
1218+
"in": "path",
1219+
"required": true,
1220+
"schema": {
1221+
"type": "integer",
1222+
"title": "Org Id"
1223+
}
1224+
},
1225+
{
1226+
"name": "authorization",
1227+
"in": "header",
1228+
"required": false,
1229+
"schema": {
1230+
"title": "Authorization"
1231+
}
1232+
}
1233+
],
1234+
"responses": {
1235+
"200": {
1236+
"description": "Successful Response",
1237+
"content": {
1238+
"application/json": {
1239+
"schema": {
1240+
"$ref": "#/components/schemas/AnalyzeLogsResponse"
1241+
}
1242+
}
1243+
}
1244+
},
1245+
"429": {
1246+
"content": {
1247+
"application/json": {
1248+
"schema": {
1249+
"$ref": "#/components/schemas/APIRateLimitErrorResponse"
1250+
}
1251+
}
1252+
},
1253+
"description": "Too Many Requests"
1254+
},
1255+
"403": {
1256+
"content": {
1257+
"application/json": {
1258+
"schema": {
1259+
"$ref": "#/components/schemas/PermissionsErrorResponse"
1260+
}
1261+
}
1262+
},
1263+
"description": "Forbidden"
1264+
},
1265+
"404": {
1266+
"description": "Sandbox not found"
1267+
},
1268+
"400": {
1269+
"description": "No logs available for analysis"
1270+
},
1271+
"422": {
1272+
"description": "Validation Error",
1273+
"content": {
1274+
"application/json": {
1275+
"schema": {
1276+
"$ref": "#/components/schemas/HTTPValidationError"
1277+
}
1278+
}
1279+
}
1280+
}
1281+
}
1282+
}
1283+
},
11961284
"/v1/alpha/organizations/{org_id}/agent/run/{agent_run_id}/logs": {
11971285
"get": {
11981286
"tags": [
@@ -1703,6 +1791,32 @@
17031791
"title": "AgentRunWithLogsResponse",
17041792
"description": "Represents an agent run in API responses"
17051793
},
1794+
"AnalyzeLogsResponse": {
1795+
"properties": {
1796+
"agent_run_id": {
1797+
"type": "integer",
1798+
"title": "Agent Run Id",
1799+
"description": "The ID of the agent run analyzing the logs"
1800+
},
1801+
"status": {
1802+
"type": "string",
1803+
"title": "Status",
1804+
"description": "The status of the agent run"
1805+
},
1806+
"message": {
1807+
"type": "string",
1808+
"title": "Message",
1809+
"description": "Information about the analysis process"
1810+
}
1811+
},
1812+
"type": "object",
1813+
"required": [
1814+
"agent_run_id",
1815+
"status",
1816+
"message"
1817+
],
1818+
"title": "AnalyzeLogsResponse"
1819+
},
17061820
"ApiAgentRunSourceType": {
17071821
"type": "string",
17081822
"enum": [

0 commit comments

Comments
 (0)