@ancplua/qyl-api-schema 1.0.4 → 1.0.5

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.
@@ -11,9 +11,6 @@
11
11
  {
12
12
  "name": "Runner resources"
13
13
  },
14
- {
15
- "name": "Runner MCP"
16
- },
17
14
  {
18
15
  "name": "Runner workspaces"
19
16
  },
@@ -1264,747 +1261,16 @@
1264
1261
  }
1265
1262
  },
1266
1263
  "content": {
1267
- "application/problem+json": {
1268
- "schema": {
1269
- "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
1270
- }
1271
- }
1272
- }
1273
- },
1274
- "500": {
1275
- "description": "Internal server error (500)",
1276
- "headers": {
1277
- "X-Trace-Id": {
1278
- "required": false,
1279
- "description": "Trace ID for correlation",
1280
- "schema": {
1281
- "type": "string"
1282
- }
1283
- },
1284
- "X-Request-Id": {
1285
- "required": false,
1286
- "description": "Request ID for support",
1287
- "schema": {
1288
- "type": "string"
1289
- }
1290
- }
1291
- },
1292
- "content": {
1293
- "application/problem+json": {
1294
- "schema": {
1295
- "$ref": "#/components/schemas/Common.Errors.InternalServerError"
1296
- }
1297
- }
1298
- }
1299
- }
1300
- },
1301
- "tags": [
1302
- "Traces"
1303
- ],
1304
- "security": [
1305
- {
1306
- "ApiKeyAuth": []
1307
- }
1308
- ]
1309
- }
1310
- },
1311
- "/api/v1/traces/{traceId}": {
1312
- "get": {
1313
- "operationId": "TracesApi_get",
1314
- "parameters": [
1315
- {
1316
- "$ref": "#/components/parameters/ProjectScopeHeader"
1317
- },
1318
- {
1319
- "name": "traceId",
1320
- "in": "path",
1321
- "required": true,
1322
- "schema": {
1323
- "$ref": "#/components/schemas/Common.TraceId"
1324
- }
1325
- }
1326
- ],
1327
- "responses": {
1328
- "200": {
1329
- "description": "The request has succeeded.",
1330
- "content": {
1331
- "application/json": {
1332
- "schema": {
1333
- "$ref": "#/components/schemas/OTel.Traces.Trace"
1334
- }
1335
- }
1336
- }
1337
- },
1338
- "401": {
1339
- "description": "Unauthorized - authentication required (401)",
1340
- "headers": {
1341
- "WWW-Authenticate": {
1342
- "required": false,
1343
- "description": "Authentication scheme expected",
1344
- "schema": {
1345
- "type": "string"
1346
- }
1347
- },
1348
- "X-Trace-Id": {
1349
- "required": false,
1350
- "description": "Trace ID for correlation",
1351
- "schema": {
1352
- "type": "string"
1353
- }
1354
- },
1355
- "X-Request-Id": {
1356
- "required": false,
1357
- "description": "Request ID for support",
1358
- "schema": {
1359
- "type": "string"
1360
- }
1361
- }
1362
- },
1363
- "content": {
1364
- "application/problem+json": {
1365
- "schema": {
1366
- "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
1367
- }
1368
- }
1369
- }
1370
- },
1371
- "404": {
1372
- "description": "Resource not found (404)",
1373
- "headers": {
1374
- "X-Trace-Id": {
1375
- "required": false,
1376
- "description": "Trace ID for correlation",
1377
- "schema": {
1378
- "type": "string"
1379
- }
1380
- },
1381
- "X-Request-Id": {
1382
- "required": false,
1383
- "description": "Request ID for support",
1384
- "schema": {
1385
- "type": "string"
1386
- }
1387
- }
1388
- },
1389
- "content": {
1390
- "application/problem+json": {
1391
- "schema": {
1392
- "$ref": "#/components/schemas/Common.Errors.NotFoundError"
1393
- }
1394
- }
1395
- }
1396
- },
1397
- "500": {
1398
- "description": "Internal server error (500)",
1399
- "headers": {
1400
- "X-Trace-Id": {
1401
- "required": false,
1402
- "description": "Trace ID for correlation",
1403
- "schema": {
1404
- "type": "string"
1405
- }
1406
- },
1407
- "X-Request-Id": {
1408
- "required": false,
1409
- "description": "Request ID for support",
1410
- "schema": {
1411
- "type": "string"
1412
- }
1413
- }
1414
- },
1415
- "content": {
1416
- "application/problem+json": {
1417
- "schema": {
1418
- "$ref": "#/components/schemas/Common.Errors.InternalServerError"
1419
- }
1420
- }
1421
- }
1422
- }
1423
- },
1424
- "tags": [
1425
- "Traces"
1426
- ],
1427
- "security": [
1428
- {
1429
- "ApiKeyAuth": []
1430
- }
1431
- ]
1432
- }
1433
- },
1434
- "/api/v1/traces/{traceId}/spans": {
1435
- "get": {
1436
- "operationId": "TracesApi_getSpans",
1437
- "parameters": [
1438
- {
1439
- "$ref": "#/components/parameters/ProjectScopeHeader"
1440
- },
1441
- {
1442
- "name": "traceId",
1443
- "in": "path",
1444
- "required": true,
1445
- "schema": {
1446
- "$ref": "#/components/schemas/Common.TraceId"
1447
- }
1448
- }
1449
- ],
1450
- "responses": {
1451
- "200": {
1452
- "description": "The request has succeeded.",
1453
- "content": {
1454
- "application/json": {
1455
- "schema": {
1456
- "type": "object",
1457
- "required": [
1458
- "items",
1459
- "has_more"
1460
- ],
1461
- "properties": {
1462
- "items": {
1463
- "type": "array",
1464
- "items": {
1465
- "$ref": "#/components/schemas/OTel.Traces.Span"
1466
- },
1467
- "description": "List of items in this page"
1468
- },
1469
- "next_cursor": {
1470
- "type": "string",
1471
- "description": "Cursor for the next page (null if no more pages)"
1472
- },
1473
- "prev_cursor": {
1474
- "type": "string",
1475
- "description": "Cursor for the previous page (null if first page)"
1476
- },
1477
- "has_more": {
1478
- "type": "boolean",
1479
- "description": "Whether there are more items available"
1480
- }
1481
- },
1482
- "unevaluatedProperties": {
1483
- "not": {}
1484
- },
1485
- "description": "Cursor-based paginated response wrapper"
1486
- }
1487
- }
1488
- }
1489
- },
1490
- "401": {
1491
- "description": "Unauthorized - authentication required (401)",
1492
- "headers": {
1493
- "WWW-Authenticate": {
1494
- "required": false,
1495
- "description": "Authentication scheme expected",
1496
- "schema": {
1497
- "type": "string"
1498
- }
1499
- },
1500
- "X-Trace-Id": {
1501
- "required": false,
1502
- "description": "Trace ID for correlation",
1503
- "schema": {
1504
- "type": "string"
1505
- }
1506
- },
1507
- "X-Request-Id": {
1508
- "required": false,
1509
- "description": "Request ID for support",
1510
- "schema": {
1511
- "type": "string"
1512
- }
1513
- }
1514
- },
1515
- "content": {
1516
- "application/problem+json": {
1517
- "schema": {
1518
- "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
1519
- }
1520
- }
1521
- }
1522
- },
1523
- "404": {
1524
- "description": "Resource not found (404)",
1525
- "headers": {
1526
- "X-Trace-Id": {
1527
- "required": false,
1528
- "description": "Trace ID for correlation",
1529
- "schema": {
1530
- "type": "string"
1531
- }
1532
- },
1533
- "X-Request-Id": {
1534
- "required": false,
1535
- "description": "Request ID for support",
1536
- "schema": {
1537
- "type": "string"
1538
- }
1539
- }
1540
- },
1541
- "content": {
1542
- "application/problem+json": {
1543
- "schema": {
1544
- "$ref": "#/components/schemas/Common.Errors.NotFoundError"
1545
- }
1546
- }
1547
- }
1548
- },
1549
- "500": {
1550
- "description": "Internal server error (500)",
1551
- "headers": {
1552
- "X-Trace-Id": {
1553
- "required": false,
1554
- "description": "Trace ID for correlation",
1555
- "schema": {
1556
- "type": "string"
1557
- }
1558
- },
1559
- "X-Request-Id": {
1560
- "required": false,
1561
- "description": "Request ID for support",
1562
- "schema": {
1563
- "type": "string"
1564
- }
1565
- }
1566
- },
1567
- "content": {
1568
- "application/problem+json": {
1569
- "schema": {
1570
- "$ref": "#/components/schemas/Common.Errors.InternalServerError"
1571
- }
1572
- }
1573
- }
1574
- }
1575
- },
1576
- "tags": [
1577
- "Traces"
1578
- ],
1579
- "security": [
1580
- {
1581
- "ApiKeyAuth": []
1582
- }
1583
- ]
1584
- }
1585
- },
1586
- "/health": {
1587
- "get": {
1588
- "operationId": "health_ready",
1589
- "parameters": [],
1590
- "responses": {
1591
- "200": {
1592
- "description": "The request has succeeded.",
1593
- "content": {
1594
- "application/json": {
1595
- "schema": {
1596
- "$ref": "#/components/schemas/Health.HealthReport"
1597
- }
1598
- }
1599
- }
1600
- },
1601
- "503": {
1602
- "description": "Service unavailable.",
1603
- "content": {
1604
- "application/json": {
1605
- "schema": {
1606
- "$ref": "#/components/schemas/Health.HealthReport"
1607
- }
1608
- }
1609
- }
1610
- }
1611
- },
1612
- "tags": [
1613
- "Health"
1614
- ]
1615
- }
1616
- },
1617
- "/runner/mcp/{resource}/resources/read": {
1618
- "post": {
1619
- "operationId": "RunnerMcpApi_readResource",
1620
- "description": "Accepts and returns MCP SDK-owned resources/read bodies without redefining the protocol DTOs.",
1621
- "parameters": [
1622
- {
1623
- "name": "resource",
1624
- "in": "path",
1625
- "required": true,
1626
- "schema": {
1627
- "type": "string"
1628
- }
1629
- }
1630
- ],
1631
- "responses": {
1632
- "200": {
1633
- "description": "The request has succeeded.",
1634
- "content": {
1635
- "application/json": {
1636
- "schema": {}
1637
- }
1638
- }
1639
- },
1640
- "400": {
1641
- "description": "Bad request - validation failed (400)",
1642
- "headers": {
1643
- "X-Trace-Id": {
1644
- "required": false,
1645
- "description": "Trace ID for correlation",
1646
- "schema": {
1647
- "type": "string"
1648
- }
1649
- },
1650
- "X-Request-Id": {
1651
- "required": false,
1652
- "description": "Request ID for support",
1653
- "schema": {
1654
- "type": "string"
1655
- }
1656
- }
1657
- },
1658
- "content": {
1659
- "application/problem+json": {
1660
- "schema": {
1661
- "$ref": "#/components/schemas/Common.Errors.ValidationError"
1662
- }
1663
- }
1664
- }
1665
- },
1666
- "403": {
1667
- "description": "Forbidden - insufficient permissions (403)",
1668
- "headers": {
1669
- "X-Trace-Id": {
1670
- "required": false,
1671
- "description": "Trace ID for correlation",
1672
- "schema": {
1673
- "type": "string"
1674
- }
1675
- },
1676
- "X-Request-Id": {
1677
- "required": false,
1678
- "description": "Request ID for support",
1679
- "schema": {
1680
- "type": "string"
1681
- }
1682
- }
1683
- },
1684
- "content": {
1685
- "application/problem+json": {
1686
- "schema": {
1687
- "$ref": "#/components/schemas/Common.Errors.ForbiddenError"
1688
- }
1689
- }
1690
- }
1691
- },
1692
- "404": {
1693
- "description": "Resource not found (404)",
1694
- "headers": {
1695
- "X-Trace-Id": {
1696
- "required": false,
1697
- "description": "Trace ID for correlation",
1698
- "schema": {
1699
- "type": "string"
1700
- }
1701
- },
1702
- "X-Request-Id": {
1703
- "required": false,
1704
- "description": "Request ID for support",
1705
- "schema": {
1706
- "type": "string"
1707
- }
1708
- }
1709
- },
1710
- "content": {
1711
- "application/problem+json": {
1712
- "schema": {
1713
- "$ref": "#/components/schemas/Common.Errors.NotFoundError"
1714
- }
1715
- }
1716
- }
1717
- },
1718
- "409": {
1719
- "description": "Conflict - resource state conflict (409)",
1720
- "headers": {
1721
- "X-Trace-Id": {
1722
- "required": false,
1723
- "description": "Trace ID for correlation",
1724
- "schema": {
1725
- "type": "string"
1726
- }
1727
- },
1728
- "X-Request-Id": {
1729
- "required": false,
1730
- "description": "Request ID for support",
1731
- "schema": {
1732
- "type": "string"
1733
- }
1734
- }
1735
- },
1736
- "content": {
1737
- "application/problem+json": {
1738
- "schema": {
1739
- "$ref": "#/components/schemas/Common.Errors.ConflictError"
1740
- }
1741
- }
1742
- }
1743
- },
1744
- "500": {
1745
- "description": "Internal server error (500)",
1746
- "headers": {
1747
- "X-Trace-Id": {
1748
- "required": false,
1749
- "description": "Trace ID for correlation",
1750
- "schema": {
1751
- "type": "string"
1752
- }
1753
- },
1754
- "X-Request-Id": {
1755
- "required": false,
1756
- "description": "Request ID for support",
1757
- "schema": {
1758
- "type": "string"
1759
- }
1760
- }
1761
- },
1762
- "content": {
1763
- "application/problem+json": {
1764
- "schema": {
1765
- "$ref": "#/components/schemas/Common.Errors.InternalServerError"
1766
- }
1767
- }
1768
- }
1769
- },
1770
- "502": {
1771
- "description": "Upstream dependency failed while fulfilling the request (502)",
1772
- "headers": {
1773
- "X-Trace-Id": {
1774
- "required": false,
1775
- "description": "Trace ID for correlation",
1776
- "schema": {
1777
- "type": "string"
1778
- }
1779
- },
1780
- "X-Request-Id": {
1781
- "required": false,
1782
- "description": "Request ID for support",
1783
- "schema": {
1784
- "type": "string"
1785
- }
1786
- }
1787
- },
1788
- "content": {
1789
- "application/problem+json": {
1790
- "schema": {
1791
- "$ref": "#/components/schemas/Common.Errors.BadGatewayError"
1792
- }
1793
- }
1794
- }
1795
- },
1796
- "503": {
1797
- "description": "Service unavailable (503)",
1798
- "headers": {
1799
- "Retry-After": {
1800
- "required": false,
1801
- "description": "Expected availability time",
1802
- "schema": {
1803
- "type": "integer",
1804
- "format": "int32"
1805
- }
1806
- },
1807
- "X-Trace-Id": {
1808
- "required": false,
1809
- "description": "Trace ID for correlation",
1810
- "schema": {
1811
- "type": "string"
1812
- }
1813
- },
1814
- "X-Request-Id": {
1815
- "required": false,
1816
- "description": "Request ID for support",
1817
- "schema": {
1818
- "type": "string"
1819
- }
1820
- }
1821
- },
1822
- "content": {
1823
- "application/problem+json": {
1824
- "schema": {
1825
- "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
1826
- }
1827
- }
1828
- }
1829
- }
1830
- },
1831
- "tags": [
1832
- "Runner MCP"
1833
- ],
1834
- "requestBody": {
1835
- "required": true,
1836
- "content": {
1837
- "application/json": {
1838
- "schema": {}
1839
- }
1840
- }
1841
- }
1842
- }
1843
- },
1844
- "/runner/mcp/{resource}/tools": {
1845
- "get": {
1846
- "operationId": "RunnerMcpApi_listTools",
1847
- "description": "Returns the MCP SDK-owned tools/list result without redefining its protocol body.",
1848
- "parameters": [
1849
- {
1850
- "name": "resource",
1851
- "in": "path",
1852
- "required": true,
1853
- "schema": {
1854
- "type": "string"
1855
- }
1856
- }
1857
- ],
1858
- "responses": {
1859
- "200": {
1860
- "description": "The request has succeeded.",
1861
- "content": {
1862
- "application/json": {
1863
- "schema": {}
1864
- }
1865
- }
1866
- },
1867
- "403": {
1868
- "description": "Forbidden - insufficient permissions (403)",
1869
- "headers": {
1870
- "X-Trace-Id": {
1871
- "required": false,
1872
- "description": "Trace ID for correlation",
1873
- "schema": {
1874
- "type": "string"
1875
- }
1876
- },
1877
- "X-Request-Id": {
1878
- "required": false,
1879
- "description": "Request ID for support",
1880
- "schema": {
1881
- "type": "string"
1882
- }
1883
- }
1884
- },
1885
- "content": {
1886
- "application/problem+json": {
1887
- "schema": {
1888
- "$ref": "#/components/schemas/Common.Errors.ForbiddenError"
1889
- }
1890
- }
1891
- }
1892
- },
1893
- "404": {
1894
- "description": "Resource not found (404)",
1895
- "headers": {
1896
- "X-Trace-Id": {
1897
- "required": false,
1898
- "description": "Trace ID for correlation",
1899
- "schema": {
1900
- "type": "string"
1901
- }
1902
- },
1903
- "X-Request-Id": {
1904
- "required": false,
1905
- "description": "Request ID for support",
1906
- "schema": {
1907
- "type": "string"
1908
- }
1909
- }
1910
- },
1911
- "content": {
1912
- "application/problem+json": {
1913
- "schema": {
1914
- "$ref": "#/components/schemas/Common.Errors.NotFoundError"
1915
- }
1916
- }
1917
- }
1918
- },
1919
- "409": {
1920
- "description": "Conflict - resource state conflict (409)",
1921
- "headers": {
1922
- "X-Trace-Id": {
1923
- "required": false,
1924
- "description": "Trace ID for correlation",
1925
- "schema": {
1926
- "type": "string"
1927
- }
1928
- },
1929
- "X-Request-Id": {
1930
- "required": false,
1931
- "description": "Request ID for support",
1932
- "schema": {
1933
- "type": "string"
1934
- }
1935
- }
1936
- },
1937
- "content": {
1938
- "application/problem+json": {
1939
- "schema": {
1940
- "$ref": "#/components/schemas/Common.Errors.ConflictError"
1941
- }
1942
- }
1943
- }
1944
- },
1945
- "500": {
1946
- "description": "Internal server error (500)",
1947
- "headers": {
1948
- "X-Trace-Id": {
1949
- "required": false,
1950
- "description": "Trace ID for correlation",
1951
- "schema": {
1952
- "type": "string"
1953
- }
1954
- },
1955
- "X-Request-Id": {
1956
- "required": false,
1957
- "description": "Request ID for support",
1958
- "schema": {
1959
- "type": "string"
1960
- }
1961
- }
1962
- },
1963
- "content": {
1964
- "application/problem+json": {
1965
- "schema": {
1966
- "$ref": "#/components/schemas/Common.Errors.InternalServerError"
1967
- }
1968
- }
1969
- }
1970
- },
1971
- "502": {
1972
- "description": "Upstream dependency failed while fulfilling the request (502)",
1973
- "headers": {
1974
- "X-Trace-Id": {
1975
- "required": false,
1976
- "description": "Trace ID for correlation",
1977
- "schema": {
1978
- "type": "string"
1979
- }
1980
- },
1981
- "X-Request-Id": {
1982
- "required": false,
1983
- "description": "Request ID for support",
1984
- "schema": {
1985
- "type": "string"
1986
- }
1987
- }
1988
- },
1989
- "content": {
1990
- "application/problem+json": {
1991
- "schema": {
1992
- "$ref": "#/components/schemas/Common.Errors.BadGatewayError"
1993
- }
1994
- }
1995
- }
1996
- },
1997
- "503": {
1998
- "description": "Service unavailable (503)",
1999
- "headers": {
2000
- "Retry-After": {
2001
- "required": false,
2002
- "description": "Expected availability time",
1264
+ "application/problem+json": {
2003
1265
  "schema": {
2004
- "type": "integer",
2005
- "format": "int32"
1266
+ "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
2006
1267
  }
2007
- },
1268
+ }
1269
+ }
1270
+ },
1271
+ "500": {
1272
+ "description": "Internal server error (500)",
1273
+ "headers": {
2008
1274
  "X-Trace-Id": {
2009
1275
  "required": false,
2010
1276
  "description": "Trace ID for correlation",
@@ -2023,28 +1289,35 @@
2023
1289
  "content": {
2024
1290
  "application/problem+json": {
2025
1291
  "schema": {
2026
- "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
1292
+ "$ref": "#/components/schemas/Common.Errors.InternalServerError"
2027
1293
  }
2028
1294
  }
2029
1295
  }
2030
1296
  }
2031
1297
  },
2032
1298
  "tags": [
2033
- "Runner MCP"
1299
+ "Traces"
1300
+ ],
1301
+ "security": [
1302
+ {
1303
+ "ApiKeyAuth": []
1304
+ }
2034
1305
  ]
2035
1306
  }
2036
1307
  },
2037
- "/runner/mcp/{resource}/tools/call": {
2038
- "post": {
2039
- "operationId": "RunnerMcpApi_callTool",
2040
- "description": "Accepts and returns MCP SDK-owned tools/call bodies without redefining the protocol DTOs.",
1308
+ "/api/v1/traces/{traceId}": {
1309
+ "get": {
1310
+ "operationId": "TracesApi_get",
2041
1311
  "parameters": [
2042
1312
  {
2043
- "name": "resource",
1313
+ "$ref": "#/components/parameters/ProjectScopeHeader"
1314
+ },
1315
+ {
1316
+ "name": "traceId",
2044
1317
  "in": "path",
2045
1318
  "required": true,
2046
1319
  "schema": {
2047
- "type": "string"
1320
+ "$ref": "#/components/schemas/Common.TraceId"
2048
1321
  }
2049
1322
  }
2050
1323
  ],
@@ -2053,39 +1326,22 @@
2053
1326
  "description": "The request has succeeded.",
2054
1327
  "content": {
2055
1328
  "application/json": {
2056
- "schema": {}
1329
+ "schema": {
1330
+ "$ref": "#/components/schemas/OTel.Traces.Trace"
1331
+ }
2057
1332
  }
2058
1333
  }
2059
1334
  },
2060
- "400": {
2061
- "description": "Bad request - validation failed (400)",
1335
+ "401": {
1336
+ "description": "Unauthorized - authentication required (401)",
2062
1337
  "headers": {
2063
- "X-Trace-Id": {
1338
+ "WWW-Authenticate": {
2064
1339
  "required": false,
2065
- "description": "Trace ID for correlation",
1340
+ "description": "Authentication scheme expected",
2066
1341
  "schema": {
2067
1342
  "type": "string"
2068
1343
  }
2069
1344
  },
2070
- "X-Request-Id": {
2071
- "required": false,
2072
- "description": "Request ID for support",
2073
- "schema": {
2074
- "type": "string"
2075
- }
2076
- }
2077
- },
2078
- "content": {
2079
- "application/problem+json": {
2080
- "schema": {
2081
- "$ref": "#/components/schemas/Common.Errors.ValidationError"
2082
- }
2083
- }
2084
- }
2085
- },
2086
- "403": {
2087
- "description": "Forbidden - insufficient permissions (403)",
2088
- "headers": {
2089
1345
  "X-Trace-Id": {
2090
1346
  "required": false,
2091
1347
  "description": "Trace ID for correlation",
@@ -2104,7 +1360,7 @@
2104
1360
  "content": {
2105
1361
  "application/problem+json": {
2106
1362
  "schema": {
2107
- "$ref": "#/components/schemas/Common.Errors.ForbiddenError"
1363
+ "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
2108
1364
  }
2109
1365
  }
2110
1366
  }
@@ -2135,8 +1391,8 @@
2135
1391
  }
2136
1392
  }
2137
1393
  },
2138
- "409": {
2139
- "description": "Conflict - resource state conflict (409)",
1394
+ "500": {
1395
+ "description": "Internal server error (500)",
2140
1396
  "headers": {
2141
1397
  "X-Trace-Id": {
2142
1398
  "required": false,
@@ -2156,14 +1412,88 @@
2156
1412
  "content": {
2157
1413
  "application/problem+json": {
2158
1414
  "schema": {
2159
- "$ref": "#/components/schemas/Common.Errors.ConflictError"
1415
+ "$ref": "#/components/schemas/Common.Errors.InternalServerError"
2160
1416
  }
2161
1417
  }
2162
1418
  }
1419
+ }
1420
+ },
1421
+ "tags": [
1422
+ "Traces"
1423
+ ],
1424
+ "security": [
1425
+ {
1426
+ "ApiKeyAuth": []
1427
+ }
1428
+ ]
1429
+ }
1430
+ },
1431
+ "/api/v1/traces/{traceId}/spans": {
1432
+ "get": {
1433
+ "operationId": "TracesApi_getSpans",
1434
+ "parameters": [
1435
+ {
1436
+ "$ref": "#/components/parameters/ProjectScopeHeader"
2163
1437
  },
2164
- "500": {
2165
- "description": "Internal server error (500)",
1438
+ {
1439
+ "name": "traceId",
1440
+ "in": "path",
1441
+ "required": true,
1442
+ "schema": {
1443
+ "$ref": "#/components/schemas/Common.TraceId"
1444
+ }
1445
+ }
1446
+ ],
1447
+ "responses": {
1448
+ "200": {
1449
+ "description": "The request has succeeded.",
1450
+ "content": {
1451
+ "application/json": {
1452
+ "schema": {
1453
+ "type": "object",
1454
+ "required": [
1455
+ "items",
1456
+ "has_more"
1457
+ ],
1458
+ "properties": {
1459
+ "items": {
1460
+ "type": "array",
1461
+ "items": {
1462
+ "$ref": "#/components/schemas/OTel.Traces.Span"
1463
+ },
1464
+ "description": "List of items in this page"
1465
+ },
1466
+ "next_cursor": {
1467
+ "type": "string",
1468
+ "description": "Cursor for the next page (null if no more pages)"
1469
+ },
1470
+ "prev_cursor": {
1471
+ "type": "string",
1472
+ "description": "Cursor for the previous page (null if first page)"
1473
+ },
1474
+ "has_more": {
1475
+ "type": "boolean",
1476
+ "description": "Whether there are more items available"
1477
+ }
1478
+ },
1479
+ "unevaluatedProperties": {
1480
+ "not": {}
1481
+ },
1482
+ "description": "Cursor-based paginated response wrapper"
1483
+ }
1484
+ }
1485
+ }
1486
+ },
1487
+ "401": {
1488
+ "description": "Unauthorized - authentication required (401)",
2166
1489
  "headers": {
1490
+ "WWW-Authenticate": {
1491
+ "required": false,
1492
+ "description": "Authentication scheme expected",
1493
+ "schema": {
1494
+ "type": "string"
1495
+ }
1496
+ },
2167
1497
  "X-Trace-Id": {
2168
1498
  "required": false,
2169
1499
  "description": "Trace ID for correlation",
@@ -2182,13 +1512,13 @@
2182
1512
  "content": {
2183
1513
  "application/problem+json": {
2184
1514
  "schema": {
2185
- "$ref": "#/components/schemas/Common.Errors.InternalServerError"
1515
+ "$ref": "#/components/schemas/Common.Errors.UnauthorizedError"
2186
1516
  }
2187
1517
  }
2188
1518
  }
2189
1519
  },
2190
- "502": {
2191
- "description": "Upstream dependency failed while fulfilling the request (502)",
1520
+ "404": {
1521
+ "description": "Resource not found (404)",
2192
1522
  "headers": {
2193
1523
  "X-Trace-Id": {
2194
1524
  "required": false,
@@ -2208,22 +1538,14 @@
2208
1538
  "content": {
2209
1539
  "application/problem+json": {
2210
1540
  "schema": {
2211
- "$ref": "#/components/schemas/Common.Errors.BadGatewayError"
1541
+ "$ref": "#/components/schemas/Common.Errors.NotFoundError"
2212
1542
  }
2213
1543
  }
2214
1544
  }
2215
1545
  },
2216
- "503": {
2217
- "description": "Service unavailable (503)",
1546
+ "500": {
1547
+ "description": "Internal server error (500)",
2218
1548
  "headers": {
2219
- "Retry-After": {
2220
- "required": false,
2221
- "description": "Expected availability time",
2222
- "schema": {
2223
- "type": "integer",
2224
- "format": "int32"
2225
- }
2226
- },
2227
1549
  "X-Trace-Id": {
2228
1550
  "required": false,
2229
1551
  "description": "Trace ID for correlation",
@@ -2242,23 +1564,51 @@
2242
1564
  "content": {
2243
1565
  "application/problem+json": {
2244
1566
  "schema": {
2245
- "$ref": "#/components/schemas/Common.Errors.ServiceUnavailableError"
1567
+ "$ref": "#/components/schemas/Common.Errors.InternalServerError"
2246
1568
  }
2247
1569
  }
2248
1570
  }
2249
1571
  }
2250
1572
  },
2251
1573
  "tags": [
2252
- "Runner MCP"
1574
+ "Traces"
2253
1575
  ],
2254
- "requestBody": {
2255
- "required": true,
2256
- "content": {
2257
- "application/json": {
2258
- "schema": {}
1576
+ "security": [
1577
+ {
1578
+ "ApiKeyAuth": []
1579
+ }
1580
+ ]
1581
+ }
1582
+ },
1583
+ "/health": {
1584
+ "get": {
1585
+ "operationId": "health_ready",
1586
+ "parameters": [],
1587
+ "responses": {
1588
+ "200": {
1589
+ "description": "The request has succeeded.",
1590
+ "content": {
1591
+ "application/json": {
1592
+ "schema": {
1593
+ "$ref": "#/components/schemas/Health.HealthReport"
1594
+ }
1595
+ }
1596
+ }
1597
+ },
1598
+ "503": {
1599
+ "description": "Service unavailable.",
1600
+ "content": {
1601
+ "application/json": {
1602
+ "schema": {
1603
+ "$ref": "#/components/schemas/Health.HealthReport"
1604
+ }
1605
+ }
2259
1606
  }
2260
1607
  }
2261
- }
1608
+ },
1609
+ "tags": [
1610
+ "Health"
1611
+ ]
2262
1612
  }
2263
1613
  },
2264
1614
  "/runner/resources": {
@@ -17815,29 +17165,6 @@
17815
17165
  ],
17816
17166
  "description": "HTTP authentication scheme applied to an environment-resolved header secret."
17817
17167
  },
17818
- "Runner.Mcp.RunnerMcpInProcessServerConfiguration": {
17819
- "type": "object",
17820
- "required": [
17821
- "transport",
17822
- "implementation"
17823
- ],
17824
- "properties": {
17825
- "transport": {
17826
- "type": "string",
17827
- "enum": [
17828
- "inproc"
17829
- ]
17830
- },
17831
- "implementation": {
17832
- "type": "string",
17833
- "minLength": 1
17834
- }
17835
- },
17836
- "unevaluatedProperties": {
17837
- "not": {}
17838
- },
17839
- "description": "Sanitized in-process MCP server configuration."
17840
- },
17841
17168
  "Runner.Mcp.RunnerMcpInitializationSnapshot": {
17842
17169
  "type": "object",
17843
17170
  "required": [
@@ -18214,12 +17541,6 @@
18214
17541
  {
18215
17542
  "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpStreamableHttpServerConfiguration"
18216
17543
  },
18217
- {
18218
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpSseServerConfiguration"
18219
- },
18220
- {
18221
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpInProcessServerConfiguration"
18222
- },
18223
17544
  {
18224
17545
  "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpBuiltinServerConfiguration"
18225
17546
  }
@@ -18318,35 +17639,6 @@
18318
17639
  "maxLength": 128,
18319
17640
  "description": "Opaque identifier for one authenticated local runner session."
18320
17641
  },
18321
- "Runner.Mcp.RunnerMcpSseServerConfiguration": {
18322
- "type": "object",
18323
- "required": [
18324
- "transport",
18325
- "endpoint"
18326
- ],
18327
- "properties": {
18328
- "transport": {
18329
- "type": "string",
18330
- "enum": [
18331
- "sse"
18332
- ]
18333
- },
18334
- "endpoint": {
18335
- "type": "string",
18336
- "format": "uri"
18337
- },
18338
- "headers": {
18339
- "type": "array",
18340
- "items": {
18341
- "$ref": "#/components/schemas/Runner.Mcp.RunnerMcpHeaderSecretReference"
18342
- }
18343
- }
18344
- },
18345
- "unevaluatedProperties": {
18346
- "not": {}
18347
- },
18348
- "description": "Sanitized legacy MCP SSE transport configuration."
18349
- },
18350
17642
  "Runner.Mcp.RunnerMcpStatusAssertion": {
18351
17643
  "type": "object",
18352
17644
  "required": [
@@ -18942,8 +18234,6 @@
18942
18234
  "enum": [
18943
18235
  "stdio",
18944
18236
  "streamable_http",
18945
- "sse",
18946
- "inproc",
18947
18237
  "builtin"
18948
18238
  ],
18949
18239
  "description": "Supported MCP server transport owned by the local runner."