@ellipsis-dev/sdk 0.32.0 → 0.34.0
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.
- package/dist/{chunk-G2AEYZW2.js → chunk-6V7QTLLF.js} +1 -1
- package/dist/index.d.ts +281 -134
- package/dist/index.js +105 -106
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.js +4 -2
- package/dist/stream/index.d.ts +2 -2
- package/dist/stream/index.js +1 -1
- package/dist/{types-DjY1VcOe.d.ts → types-sNAOvELB.d.ts} +1198 -660
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +830 -125
- package/schema/frames.schema.json +1103 -215
- package/schema/lifecycle.schema.json +30 -1
- package/schema/openapi.v1.json +1694 -736
- package/schema/trigger_fields.schema.json +348 -7
package/schema/openapi.v1.json
CHANGED
|
@@ -90,21 +90,21 @@
|
|
|
90
90
|
"title": "Fraction Used",
|
|
91
91
|
"type": "number"
|
|
92
92
|
},
|
|
93
|
-
"
|
|
94
|
-
"title": "Limit
|
|
95
|
-
"type": "
|
|
93
|
+
"limit": {
|
|
94
|
+
"title": "Limit",
|
|
95
|
+
"type": "integer"
|
|
96
96
|
},
|
|
97
|
-
"
|
|
98
|
-
"title": "Platform Max
|
|
99
|
-
"type": "
|
|
97
|
+
"platform_max": {
|
|
98
|
+
"title": "Platform Max",
|
|
99
|
+
"type": "integer"
|
|
100
100
|
},
|
|
101
|
-
"
|
|
102
|
-
"title": "Remaining
|
|
103
|
-
"type": "
|
|
101
|
+
"remaining": {
|
|
102
|
+
"title": "Remaining",
|
|
103
|
+
"type": "integer"
|
|
104
104
|
},
|
|
105
|
-
"
|
|
106
|
-
"title": "Spent
|
|
107
|
-
"type": "
|
|
105
|
+
"spent": {
|
|
106
|
+
"title": "Spent",
|
|
107
|
+
"type": "integer"
|
|
108
108
|
},
|
|
109
109
|
"window_days": {
|
|
110
110
|
"description": "Trailing window length: 1, 7 or 28 days.",
|
|
@@ -114,12 +114,12 @@
|
|
|
114
114
|
},
|
|
115
115
|
"required": [
|
|
116
116
|
"window_days",
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
117
|
+
"spent",
|
|
118
|
+
"limit",
|
|
119
|
+
"remaining",
|
|
120
120
|
"fraction_used",
|
|
121
121
|
"exhausted",
|
|
122
|
-
"
|
|
122
|
+
"platform_max"
|
|
123
123
|
],
|
|
124
124
|
"title": "AccountBudgetWindow",
|
|
125
125
|
"type": "object"
|
|
@@ -429,6 +429,11 @@
|
|
|
429
429
|
"description": "The open pull request that adds this agent's file. Non-null means the agent is not live yet: it starts running once the pull request merges and syncs.",
|
|
430
430
|
"title": "Pending Pull Request Url"
|
|
431
431
|
},
|
|
432
|
+
"raw_yaml": {
|
|
433
|
+
"description": "The agent's YAML: the file as written for agents defined in a repository, or the definition rendered as YAML for agents managed through the API. A failed sync keeps the last valid YAML.",
|
|
434
|
+
"title": "Raw Yaml",
|
|
435
|
+
"type": "string"
|
|
436
|
+
},
|
|
432
437
|
"sha": {
|
|
433
438
|
"description": "The definition's content identity: the version fingerprint frozen onto each session that runs it.",
|
|
434
439
|
"title": "Sha",
|
|
@@ -458,7 +463,8 @@
|
|
|
458
463
|
"created_at",
|
|
459
464
|
"updated_at",
|
|
460
465
|
"managed_by",
|
|
461
|
-
"config"
|
|
466
|
+
"config",
|
|
467
|
+
"raw_yaml"
|
|
462
468
|
],
|
|
463
469
|
"title": "Agent",
|
|
464
470
|
"type": "object"
|
|
@@ -722,28 +728,26 @@
|
|
|
722
728
|
"type": "object"
|
|
723
729
|
},
|
|
724
730
|
"AgentSessionSample": {
|
|
725
|
-
"description": "One finished session of the agent
|
|
731
|
+
"description": "One finished session of the agent: its duration, cost, and tokens.",
|
|
726
732
|
"properties": {
|
|
727
733
|
"cost": {
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
"type": "integer"
|
|
734
|
+
"$ref": "#/components/schemas/Cost",
|
|
735
|
+
"description": "What the session cost."
|
|
731
736
|
},
|
|
732
737
|
"duration_seconds": {
|
|
733
738
|
"description": "Wall-clock seconds from the session's creation to its last update.",
|
|
734
739
|
"title": "Duration Seconds",
|
|
735
740
|
"type": "number"
|
|
736
741
|
},
|
|
737
|
-
"
|
|
738
|
-
"
|
|
739
|
-
"
|
|
740
|
-
"type": "integer"
|
|
742
|
+
"tokens": {
|
|
743
|
+
"$ref": "#/components/schemas/Tokens",
|
|
744
|
+
"description": "The tokens the session used."
|
|
741
745
|
}
|
|
742
746
|
},
|
|
743
747
|
"required": [
|
|
744
748
|
"duration_seconds",
|
|
745
749
|
"cost",
|
|
746
|
-
"
|
|
750
|
+
"tokens"
|
|
747
751
|
],
|
|
748
752
|
"title": "AgentSessionSample",
|
|
749
753
|
"type": "object"
|
|
@@ -859,28 +863,14 @@
|
|
|
859
863
|
"type": "string"
|
|
860
864
|
},
|
|
861
865
|
"cta_label": {
|
|
862
|
-
"anyOf": [
|
|
863
|
-
{
|
|
864
|
-
"type": "string"
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"type": "null"
|
|
868
|
-
}
|
|
869
|
-
],
|
|
870
866
|
"description": "The label for the call-to-action link.",
|
|
871
|
-
"title": "Cta Label"
|
|
867
|
+
"title": "Cta Label",
|
|
868
|
+
"type": "string"
|
|
872
869
|
},
|
|
873
870
|
"cta_url": {
|
|
874
|
-
"
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
"type": "null"
|
|
880
|
-
}
|
|
881
|
-
],
|
|
882
|
-
"description": "An optional call-to-action link \u2014 where this alert should send the reader.",
|
|
883
|
-
"title": "Cta Url"
|
|
871
|
+
"description": "Where this alert sends the reader.",
|
|
872
|
+
"title": "Cta Url",
|
|
873
|
+
"type": "string"
|
|
884
874
|
},
|
|
885
875
|
"id": {
|
|
886
876
|
"description": "The alert's unique identifier.",
|
|
@@ -943,6 +933,8 @@
|
|
|
943
933
|
"severity",
|
|
944
934
|
"title",
|
|
945
935
|
"body",
|
|
936
|
+
"cta_url",
|
|
937
|
+
"cta_label",
|
|
946
938
|
"status"
|
|
947
939
|
],
|
|
948
940
|
"title": "Alert",
|
|
@@ -1408,9 +1400,9 @@
|
|
|
1408
1400
|
},
|
|
1409
1401
|
"AutoRechargeSettings": {
|
|
1410
1402
|
"properties": {
|
|
1411
|
-
"
|
|
1403
|
+
"amount": {
|
|
1412
1404
|
"description": "Credit bought on each recharge, before the platform fee.",
|
|
1413
|
-
"title": "Amount
|
|
1405
|
+
"title": "Amount",
|
|
1414
1406
|
"type": "integer"
|
|
1415
1407
|
},
|
|
1416
1408
|
"card": {
|
|
@@ -1445,23 +1437,23 @@
|
|
|
1445
1437
|
],
|
|
1446
1438
|
"title": "Last Attempted At"
|
|
1447
1439
|
},
|
|
1448
|
-
"
|
|
1449
|
-
"title": "Min Threshold
|
|
1440
|
+
"min_threshold": {
|
|
1441
|
+
"title": "Min Threshold",
|
|
1450
1442
|
"type": "integer"
|
|
1451
1443
|
},
|
|
1452
|
-
"
|
|
1453
|
-
"title": "Threshold
|
|
1444
|
+
"threshold": {
|
|
1445
|
+
"title": "Threshold",
|
|
1454
1446
|
"type": "integer"
|
|
1455
1447
|
}
|
|
1456
1448
|
},
|
|
1457
1449
|
"required": [
|
|
1458
1450
|
"enabled",
|
|
1459
1451
|
"card",
|
|
1460
|
-
"
|
|
1461
|
-
"
|
|
1452
|
+
"threshold",
|
|
1453
|
+
"amount",
|
|
1462
1454
|
"consecutive_failures",
|
|
1463
1455
|
"last_attempted_at",
|
|
1464
|
-
"
|
|
1456
|
+
"min_threshold"
|
|
1465
1457
|
],
|
|
1466
1458
|
"title": "AutoRechargeSettings",
|
|
1467
1459
|
"type": "object"
|
|
@@ -1469,9 +1461,10 @@
|
|
|
1469
1461
|
"AutoRechargeUpdate": {
|
|
1470
1462
|
"additionalProperties": false,
|
|
1471
1463
|
"properties": {
|
|
1472
|
-
"
|
|
1473
|
-
"minimum":
|
|
1474
|
-
"
|
|
1464
|
+
"amount": {
|
|
1465
|
+
"minimum": 500000.0,
|
|
1466
|
+
"multipleOf": 1000.0,
|
|
1467
|
+
"title": "Amount",
|
|
1475
1468
|
"type": "integer"
|
|
1476
1469
|
},
|
|
1477
1470
|
"enabled": {
|
|
@@ -1479,16 +1472,17 @@
|
|
|
1479
1472
|
"title": "Enabled",
|
|
1480
1473
|
"type": "boolean"
|
|
1481
1474
|
},
|
|
1482
|
-
"
|
|
1483
|
-
"minimum":
|
|
1484
|
-
"
|
|
1475
|
+
"threshold": {
|
|
1476
|
+
"minimum": 500000.0,
|
|
1477
|
+
"multipleOf": 1000.0,
|
|
1478
|
+
"title": "Threshold",
|
|
1485
1479
|
"type": "integer"
|
|
1486
1480
|
}
|
|
1487
1481
|
},
|
|
1488
1482
|
"required": [
|
|
1489
1483
|
"enabled",
|
|
1490
|
-
"
|
|
1491
|
-
"
|
|
1484
|
+
"threshold",
|
|
1485
|
+
"amount"
|
|
1492
1486
|
],
|
|
1493
1487
|
"title": "AutoRechargeUpdate",
|
|
1494
1488
|
"type": "object"
|
|
@@ -1531,6 +1525,70 @@
|
|
|
1531
1525
|
"title": "BillingPeriodOption",
|
|
1532
1526
|
"type": "object"
|
|
1533
1527
|
},
|
|
1528
|
+
"BillingSource": {
|
|
1529
|
+
"enum": [
|
|
1530
|
+
"platform",
|
|
1531
|
+
"claude_subscription",
|
|
1532
|
+
"codex_subscription",
|
|
1533
|
+
"unknown"
|
|
1534
|
+
],
|
|
1535
|
+
"title": "BillingSource",
|
|
1536
|
+
"type": "string"
|
|
1537
|
+
},
|
|
1538
|
+
"BillingSourceUsage": {
|
|
1539
|
+
"description": "Usage for one billing source.\n\nToken cost is priced at the recorded Ellipsis rate, not the provider's\ninvoice. Missing measurements are reported as pending or unresolved\nrequests, never as free ones. Amounts are in millicents. charged includes\ncompute charges and token_charged does not.",
|
|
1540
|
+
"properties": {
|
|
1541
|
+
"billing_source": {
|
|
1542
|
+
"$ref": "#/components/schemas/BillingSource"
|
|
1543
|
+
},
|
|
1544
|
+
"charged": {
|
|
1545
|
+
"default": 0,
|
|
1546
|
+
"title": "Charged",
|
|
1547
|
+
"type": "integer"
|
|
1548
|
+
},
|
|
1549
|
+
"pending_requests": {
|
|
1550
|
+
"default": 0,
|
|
1551
|
+
"title": "Pending Requests",
|
|
1552
|
+
"type": "integer"
|
|
1553
|
+
},
|
|
1554
|
+
"requests": {
|
|
1555
|
+
"default": 0,
|
|
1556
|
+
"title": "Requests",
|
|
1557
|
+
"type": "integer"
|
|
1558
|
+
},
|
|
1559
|
+
"token_charged": {
|
|
1560
|
+
"default": 0,
|
|
1561
|
+
"title": "Token Charged",
|
|
1562
|
+
"type": "integer"
|
|
1563
|
+
},
|
|
1564
|
+
"token_cost": {
|
|
1565
|
+
"anyOf": [
|
|
1566
|
+
{
|
|
1567
|
+
"type": "integer"
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"type": "null"
|
|
1571
|
+
}
|
|
1572
|
+
],
|
|
1573
|
+
"title": "Token Cost"
|
|
1574
|
+
},
|
|
1575
|
+
"tokens": {
|
|
1576
|
+
"default": 0,
|
|
1577
|
+
"title": "Tokens",
|
|
1578
|
+
"type": "integer"
|
|
1579
|
+
},
|
|
1580
|
+
"unresolved_requests": {
|
|
1581
|
+
"default": 0,
|
|
1582
|
+
"title": "Unresolved Requests",
|
|
1583
|
+
"type": "integer"
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"required": [
|
|
1587
|
+
"billing_source"
|
|
1588
|
+
],
|
|
1589
|
+
"title": "BillingSourceUsage",
|
|
1590
|
+
"type": "object"
|
|
1591
|
+
},
|
|
1534
1592
|
"BillingStatus": {
|
|
1535
1593
|
"properties": {
|
|
1536
1594
|
"workflows_block_reason": {
|
|
@@ -1562,46 +1620,46 @@
|
|
|
1562
1620
|
},
|
|
1563
1621
|
"BudgetAlertThresholds": {
|
|
1564
1622
|
"additionalProperties": false,
|
|
1565
|
-
"description": "Independent
|
|
1623
|
+
"description": "Independent notification thresholds in millicents. Null disables a window.",
|
|
1566
1624
|
"properties": {
|
|
1567
|
-
"
|
|
1625
|
+
"day": {
|
|
1568
1626
|
"anyOf": [
|
|
1569
1627
|
{
|
|
1570
|
-
"minimum":
|
|
1571
|
-
"multipleOf": 0
|
|
1572
|
-
"type": "
|
|
1628
|
+
"minimum": 100000.0,
|
|
1629
|
+
"multipleOf": 1000.0,
|
|
1630
|
+
"type": "integer"
|
|
1573
1631
|
},
|
|
1574
1632
|
{
|
|
1575
1633
|
"type": "null"
|
|
1576
1634
|
}
|
|
1577
1635
|
],
|
|
1578
|
-
"title": "
|
|
1636
|
+
"title": "Day"
|
|
1579
1637
|
},
|
|
1580
|
-
"
|
|
1638
|
+
"month": {
|
|
1581
1639
|
"anyOf": [
|
|
1582
1640
|
{
|
|
1583
|
-
"minimum":
|
|
1584
|
-
"multipleOf": 0
|
|
1585
|
-
"type": "
|
|
1641
|
+
"minimum": 100000.0,
|
|
1642
|
+
"multipleOf": 1000.0,
|
|
1643
|
+
"type": "integer"
|
|
1586
1644
|
},
|
|
1587
1645
|
{
|
|
1588
1646
|
"type": "null"
|
|
1589
1647
|
}
|
|
1590
1648
|
],
|
|
1591
|
-
"title": "
|
|
1649
|
+
"title": "Month"
|
|
1592
1650
|
},
|
|
1593
|
-
"
|
|
1651
|
+
"week": {
|
|
1594
1652
|
"anyOf": [
|
|
1595
1653
|
{
|
|
1596
|
-
"minimum":
|
|
1597
|
-
"multipleOf": 0
|
|
1598
|
-
"type": "
|
|
1654
|
+
"minimum": 100000.0,
|
|
1655
|
+
"multipleOf": 1000.0,
|
|
1656
|
+
"type": "integer"
|
|
1599
1657
|
},
|
|
1600
1658
|
{
|
|
1601
1659
|
"type": "null"
|
|
1602
1660
|
}
|
|
1603
1661
|
],
|
|
1604
|
-
"title": "
|
|
1662
|
+
"title": "Week"
|
|
1605
1663
|
}
|
|
1606
1664
|
},
|
|
1607
1665
|
"title": "BudgetAlertThresholds",
|
|
@@ -1641,18 +1699,19 @@
|
|
|
1641
1699
|
"type": "object"
|
|
1642
1700
|
},
|
|
1643
1701
|
"BudgetCeiling": {
|
|
1644
|
-
"description": "The organization's spend ceilings, in
|
|
1702
|
+
"description": "The organization's spend ceilings, in millicents.",
|
|
1645
1703
|
"properties": {
|
|
1646
1704
|
"session": {
|
|
1647
1705
|
"anyOf": [
|
|
1648
1706
|
{
|
|
1649
|
-
"
|
|
1707
|
+
"multipleOf": 1000.0,
|
|
1708
|
+
"type": "integer"
|
|
1650
1709
|
},
|
|
1651
1710
|
{
|
|
1652
1711
|
"type": "null"
|
|
1653
1712
|
}
|
|
1654
1713
|
],
|
|
1655
|
-
"description": "The most a single session may be budgeted, in
|
|
1714
|
+
"description": "The most a single session may be budgeted, in millicents, as a whole number of cents. A session request or agent asking for more is refused with 400. Null means the platform ceiling applies.",
|
|
1656
1715
|
"title": "Session"
|
|
1657
1716
|
}
|
|
1658
1717
|
},
|
|
@@ -1781,77 +1840,77 @@
|
|
|
1781
1840
|
},
|
|
1782
1841
|
"BudgetLimits": {
|
|
1783
1842
|
"additionalProperties": false,
|
|
1784
|
-
"description": "Spending ceilings over trailing 1, 7 and 28 days, in
|
|
1843
|
+
"description": "Spending ceilings over trailing 1, 7 and 28 days, in millicents. Each is at least 100,000 ($1) and a whole number of cents.",
|
|
1785
1844
|
"properties": {
|
|
1786
|
-
"
|
|
1787
|
-
"minimum":
|
|
1788
|
-
"multipleOf": 0
|
|
1789
|
-
"title": "
|
|
1790
|
-
"type": "
|
|
1845
|
+
"day": {
|
|
1846
|
+
"minimum": 100000.0,
|
|
1847
|
+
"multipleOf": 1000.0,
|
|
1848
|
+
"title": "Day",
|
|
1849
|
+
"type": "integer"
|
|
1791
1850
|
},
|
|
1792
|
-
"
|
|
1793
|
-
"minimum":
|
|
1794
|
-
"multipleOf": 0
|
|
1795
|
-
"title": "
|
|
1796
|
-
"type": "
|
|
1851
|
+
"month": {
|
|
1852
|
+
"minimum": 100000.0,
|
|
1853
|
+
"multipleOf": 1000.0,
|
|
1854
|
+
"title": "Month",
|
|
1855
|
+
"type": "integer"
|
|
1797
1856
|
},
|
|
1798
|
-
"
|
|
1799
|
-
"minimum":
|
|
1800
|
-
"multipleOf": 0
|
|
1801
|
-
"title": "
|
|
1802
|
-
"type": "
|
|
1857
|
+
"week": {
|
|
1858
|
+
"minimum": 100000.0,
|
|
1859
|
+
"multipleOf": 1000.0,
|
|
1860
|
+
"title": "Week",
|
|
1861
|
+
"type": "integer"
|
|
1803
1862
|
}
|
|
1804
1863
|
},
|
|
1805
1864
|
"required": [
|
|
1806
|
-
"
|
|
1807
|
-
"
|
|
1808
|
-
"
|
|
1865
|
+
"day",
|
|
1866
|
+
"week",
|
|
1867
|
+
"month"
|
|
1809
1868
|
],
|
|
1810
1869
|
"title": "BudgetLimits",
|
|
1811
1870
|
"type": "object"
|
|
1812
1871
|
},
|
|
1813
1872
|
"BudgetOverrides": {
|
|
1814
1873
|
"additionalProperties": false,
|
|
1815
|
-
"description": "Per-window overrides in
|
|
1874
|
+
"description": "Per-window overrides in millicents. Null inherits the developer default.",
|
|
1816
1875
|
"properties": {
|
|
1817
|
-
"
|
|
1876
|
+
"day": {
|
|
1818
1877
|
"anyOf": [
|
|
1819
1878
|
{
|
|
1820
|
-
"minimum":
|
|
1821
|
-
"multipleOf": 0
|
|
1822
|
-
"type": "
|
|
1879
|
+
"minimum": 100000.0,
|
|
1880
|
+
"multipleOf": 1000.0,
|
|
1881
|
+
"type": "integer"
|
|
1823
1882
|
},
|
|
1824
1883
|
{
|
|
1825
1884
|
"type": "null"
|
|
1826
1885
|
}
|
|
1827
1886
|
],
|
|
1828
|
-
"title": "
|
|
1887
|
+
"title": "Day"
|
|
1829
1888
|
},
|
|
1830
|
-
"
|
|
1889
|
+
"month": {
|
|
1831
1890
|
"anyOf": [
|
|
1832
1891
|
{
|
|
1833
|
-
"minimum":
|
|
1834
|
-
"multipleOf": 0
|
|
1835
|
-
"type": "
|
|
1892
|
+
"minimum": 100000.0,
|
|
1893
|
+
"multipleOf": 1000.0,
|
|
1894
|
+
"type": "integer"
|
|
1836
1895
|
},
|
|
1837
1896
|
{
|
|
1838
1897
|
"type": "null"
|
|
1839
1898
|
}
|
|
1840
1899
|
],
|
|
1841
|
-
"title": "
|
|
1900
|
+
"title": "Month"
|
|
1842
1901
|
},
|
|
1843
|
-
"
|
|
1902
|
+
"week": {
|
|
1844
1903
|
"anyOf": [
|
|
1845
1904
|
{
|
|
1846
|
-
"minimum":
|
|
1847
|
-
"multipleOf": 0
|
|
1848
|
-
"type": "
|
|
1905
|
+
"minimum": 100000.0,
|
|
1906
|
+
"multipleOf": 1000.0,
|
|
1907
|
+
"type": "integer"
|
|
1849
1908
|
},
|
|
1850
1909
|
{
|
|
1851
1910
|
"type": "null"
|
|
1852
1911
|
}
|
|
1853
1912
|
],
|
|
1854
|
-
"title": "
|
|
1913
|
+
"title": "Week"
|
|
1855
1914
|
}
|
|
1856
1915
|
},
|
|
1857
1916
|
"title": "BudgetOverrides",
|
|
@@ -1864,11 +1923,11 @@
|
|
|
1864
1923
|
"account": {
|
|
1865
1924
|
"$ref": "#/components/schemas/BudgetLimits"
|
|
1866
1925
|
},
|
|
1867
|
-
"
|
|
1868
|
-
"minimum":
|
|
1869
|
-
"multipleOf": 0
|
|
1870
|
-
"title": "Default Session
|
|
1871
|
-
"type": "
|
|
1926
|
+
"default_session": {
|
|
1927
|
+
"minimum": 100000.0,
|
|
1928
|
+
"multipleOf": 1000.0,
|
|
1929
|
+
"title": "Default Session",
|
|
1930
|
+
"type": "integer"
|
|
1872
1931
|
},
|
|
1873
1932
|
"developer_defaults": {
|
|
1874
1933
|
"anyOf": [
|
|
@@ -1889,7 +1948,7 @@
|
|
|
1889
1948
|
}
|
|
1890
1949
|
},
|
|
1891
1950
|
"required": [
|
|
1892
|
-
"
|
|
1951
|
+
"default_session",
|
|
1893
1952
|
"account",
|
|
1894
1953
|
"developer_defaults",
|
|
1895
1954
|
"developer_overrides"
|
|
@@ -1898,7 +1957,7 @@
|
|
|
1898
1957
|
"type": "object"
|
|
1899
1958
|
},
|
|
1900
1959
|
"BudgetSummary": {
|
|
1901
|
-
"description": "Prepaid credit and the actual trailing budgets enforced by the proxy.\n\nBudget windows roll continuously; they are not monthly credit renewals.\nAmounts
|
|
1960
|
+
"description": "Prepaid credit and the actual trailing budgets enforced by the proxy.\n\nBudget windows roll continuously; they are not monthly credit renewals.\nAmounts are in millicents and may be negative after overshoot.\nOne admitted request can exceed a limit.",
|
|
1902
1961
|
"properties": {
|
|
1903
1962
|
"alerts": {
|
|
1904
1963
|
"$ref": "#/components/schemas/BudgetAlerts"
|
|
@@ -1908,9 +1967,9 @@
|
|
|
1908
1967
|
"title": "As Of",
|
|
1909
1968
|
"type": "string"
|
|
1910
1969
|
},
|
|
1911
|
-
"
|
|
1912
|
-
"title": "Credit Balance
|
|
1913
|
-
"type": "
|
|
1970
|
+
"credit_balance": {
|
|
1971
|
+
"title": "Credit Balance",
|
|
1972
|
+
"type": "integer"
|
|
1914
1973
|
},
|
|
1915
1974
|
"credit_exhausted": {
|
|
1916
1975
|
"title": "Credit Exhausted",
|
|
@@ -1935,7 +1994,7 @@
|
|
|
1935
1994
|
},
|
|
1936
1995
|
"required": [
|
|
1937
1996
|
"as_of",
|
|
1938
|
-
"
|
|
1997
|
+
"credit_balance",
|
|
1939
1998
|
"credit_exhausted",
|
|
1940
1999
|
"policy",
|
|
1941
2000
|
"alerts",
|
|
@@ -1975,13 +2034,41 @@
|
|
|
1975
2034
|
"type": "object"
|
|
1976
2035
|
},
|
|
1977
2036
|
"CheckRunAction": {
|
|
1978
|
-
"description": "
|
|
2037
|
+
"description": "The state of a check run when GitHub reports it. A run created before it finishes fires its status, and `in_progress` is `started`. A finished run fires its conclusion, `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.",
|
|
1979
2038
|
"enum": [
|
|
1980
|
-
"
|
|
2039
|
+
"requested",
|
|
2040
|
+
"queued",
|
|
2041
|
+
"waiting",
|
|
2042
|
+
"pending",
|
|
2043
|
+
"started",
|
|
2044
|
+
"passed",
|
|
2045
|
+
"failed",
|
|
2046
|
+
"timed_out",
|
|
2047
|
+
"cancelled",
|
|
2048
|
+
"skipped",
|
|
2049
|
+
"neutral",
|
|
2050
|
+
"action_required",
|
|
2051
|
+
"stale"
|
|
1981
2052
|
],
|
|
1982
2053
|
"title": "CheckRunAction",
|
|
1983
2054
|
"type": "string"
|
|
1984
2055
|
},
|
|
2056
|
+
"CheckSuiteAction": {
|
|
2057
|
+
"description": "The conclusion of a finished check suite. `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.",
|
|
2058
|
+
"enum": [
|
|
2059
|
+
"passed",
|
|
2060
|
+
"failed",
|
|
2061
|
+
"timed_out",
|
|
2062
|
+
"cancelled",
|
|
2063
|
+
"skipped",
|
|
2064
|
+
"neutral",
|
|
2065
|
+
"action_required",
|
|
2066
|
+
"stale",
|
|
2067
|
+
"startup_failure"
|
|
2068
|
+
],
|
|
2069
|
+
"title": "CheckSuiteAction",
|
|
2070
|
+
"type": "string"
|
|
2071
|
+
},
|
|
1985
2072
|
"ClaudeAssistantEvent": {
|
|
1986
2073
|
"additionalProperties": true,
|
|
1987
2074
|
"properties": {
|
|
@@ -3283,6 +3370,10 @@
|
|
|
3283
3370
|
"output": {
|
|
3284
3371
|
"$ref": "#/components/schemas/ReviewOutputConfig",
|
|
3285
3372
|
"default": {
|
|
3373
|
+
"comments": {
|
|
3374
|
+
"max_per_review": 64,
|
|
3375
|
+
"max_per_reviewer": 64
|
|
3376
|
+
},
|
|
3286
3377
|
"on_fail": "comment",
|
|
3287
3378
|
"on_pass": "silent",
|
|
3288
3379
|
"summary": false
|
|
@@ -5962,32 +6053,32 @@
|
|
|
5962
6053
|
"ConfigSpendWindow": {
|
|
5963
6054
|
"description": "A saved agent or handler's trailing spend against its budget.",
|
|
5964
6055
|
"properties": {
|
|
5965
|
-
"
|
|
5966
|
-
"description": "The enforced configuration cap in
|
|
5967
|
-
"title": "Limit
|
|
5968
|
-
"type": "
|
|
6056
|
+
"limit": {
|
|
6057
|
+
"description": "The enforced configuration cap in millicents. It is the configuration's own budget limited to the platform maximum, or the maximum when unset. Account and developer limits also apply.",
|
|
6058
|
+
"title": "Limit",
|
|
6059
|
+
"type": "integer"
|
|
5969
6060
|
},
|
|
5970
|
-
"
|
|
5971
|
-
"description": "The platform ceiling for this window, in
|
|
5972
|
-
"title": "Platform Max
|
|
5973
|
-
"type": "
|
|
6061
|
+
"platform_max": {
|
|
6062
|
+
"description": "The platform ceiling for this window, in millicents.",
|
|
6063
|
+
"title": "Platform Max",
|
|
6064
|
+
"type": "integer"
|
|
5974
6065
|
},
|
|
5975
|
-
"
|
|
5976
|
-
"description": "Recorded credit debits during the window across this configuration's sessions, in
|
|
5977
|
-
"title": "Spent
|
|
5978
|
-
"type": "
|
|
6066
|
+
"spent": {
|
|
6067
|
+
"description": "Recorded credit debits during the window across this configuration's sessions, in millicents.",
|
|
6068
|
+
"title": "Spent",
|
|
6069
|
+
"type": "integer"
|
|
5979
6070
|
},
|
|
5980
6071
|
"window_days": {
|
|
5981
|
-
"description": "The trailing window
|
|
6072
|
+
"description": "The trailing window in days, which is 1, 7, or 28.",
|
|
5982
6073
|
"title": "Window Days",
|
|
5983
6074
|
"type": "integer"
|
|
5984
6075
|
}
|
|
5985
6076
|
},
|
|
5986
6077
|
"required": [
|
|
5987
6078
|
"window_days",
|
|
5988
|
-
"
|
|
5989
|
-
"
|
|
5990
|
-
"
|
|
6079
|
+
"spent",
|
|
6080
|
+
"limit",
|
|
6081
|
+
"platform_max"
|
|
5991
6082
|
],
|
|
5992
6083
|
"title": "ConfigSpendWindow",
|
|
5993
6084
|
"type": "object"
|
|
@@ -6050,6 +6141,55 @@
|
|
|
6050
6141
|
"title": "ContributorUsage",
|
|
6051
6142
|
"type": "object"
|
|
6052
6143
|
},
|
|
6144
|
+
"Cost": {
|
|
6145
|
+
"description": "What something cost, in millicents.",
|
|
6146
|
+
"properties": {
|
|
6147
|
+
"charged": {
|
|
6148
|
+
"default": 0,
|
|
6149
|
+
"description": "What Ellipsis charged to credit, in millicents. It is everything except subscription tokens, and it is what the budget caps.",
|
|
6150
|
+
"title": "Charged",
|
|
6151
|
+
"type": "integer"
|
|
6152
|
+
},
|
|
6153
|
+
"cpu": {
|
|
6154
|
+
"default": 0,
|
|
6155
|
+
"description": "CPU spend in millicents.",
|
|
6156
|
+
"title": "Cpu",
|
|
6157
|
+
"type": "integer"
|
|
6158
|
+
},
|
|
6159
|
+
"fee": {
|
|
6160
|
+
"default": 0,
|
|
6161
|
+
"description": "Platform fee in millicents.",
|
|
6162
|
+
"title": "Fee",
|
|
6163
|
+
"type": "integer"
|
|
6164
|
+
},
|
|
6165
|
+
"llm": {
|
|
6166
|
+
"$ref": "#/components/schemas/LlmCost",
|
|
6167
|
+
"description": "LLM token cost, in total and by model, split by who paid."
|
|
6168
|
+
},
|
|
6169
|
+
"memory": {
|
|
6170
|
+
"default": 0,
|
|
6171
|
+
"description": "Memory spend in millicents.",
|
|
6172
|
+
"title": "Memory",
|
|
6173
|
+
"type": "integer"
|
|
6174
|
+
},
|
|
6175
|
+
"total": {
|
|
6176
|
+
"default": 0,
|
|
6177
|
+
"description": "Everything it cost, whoever paid, in millicents. It is the sum of llm.all.total, cpu, memory, and fee.",
|
|
6178
|
+
"title": "Total",
|
|
6179
|
+
"type": "integer"
|
|
6180
|
+
}
|
|
6181
|
+
},
|
|
6182
|
+
"required": [
|
|
6183
|
+
"charged",
|
|
6184
|
+
"cpu",
|
|
6185
|
+
"fee",
|
|
6186
|
+
"llm",
|
|
6187
|
+
"memory",
|
|
6188
|
+
"total"
|
|
6189
|
+
],
|
|
6190
|
+
"title": "Cost",
|
|
6191
|
+
"type": "object"
|
|
6192
|
+
},
|
|
6053
6193
|
"CreateAgentRequest": {
|
|
6054
6194
|
"description": "Parameters for creating an agent.",
|
|
6055
6195
|
"properties": {
|
|
@@ -6129,9 +6269,9 @@
|
|
|
6129
6269
|
"CreditGrant": {
|
|
6130
6270
|
"description": "Confirmed credit issuance or reversal, without internal payment identifiers.",
|
|
6131
6271
|
"properties": {
|
|
6132
|
-
"
|
|
6133
|
-
"description": "Granted credit
|
|
6134
|
-
"title": "Amount
|
|
6272
|
+
"amount": {
|
|
6273
|
+
"description": "Granted credit. It is negative for a reversal.",
|
|
6274
|
+
"title": "Amount",
|
|
6135
6275
|
"type": "integer"
|
|
6136
6276
|
},
|
|
6137
6277
|
"category": {
|
|
@@ -6157,7 +6297,7 @@
|
|
|
6157
6297
|
"required": [
|
|
6158
6298
|
"id",
|
|
6159
6299
|
"created_at",
|
|
6160
|
-
"
|
|
6300
|
+
"amount",
|
|
6161
6301
|
"category",
|
|
6162
6302
|
"source",
|
|
6163
6303
|
"name"
|
|
@@ -6197,15 +6337,15 @@
|
|
|
6197
6337
|
"title": "Grants",
|
|
6198
6338
|
"type": "array"
|
|
6199
6339
|
},
|
|
6200
|
-
"
|
|
6340
|
+
"total_granted": {
|
|
6201
6341
|
"description": "Sum of grants before usage. Read the current balance from /v1/account/budget.",
|
|
6202
|
-
"title": "Total Granted
|
|
6342
|
+
"title": "Total Granted",
|
|
6203
6343
|
"type": "integer"
|
|
6204
6344
|
}
|
|
6205
6345
|
},
|
|
6206
6346
|
"required": [
|
|
6207
6347
|
"grants",
|
|
6208
|
-
"
|
|
6348
|
+
"total_granted"
|
|
6209
6349
|
],
|
|
6210
6350
|
"title": "CreditGrantsResponse",
|
|
6211
6351
|
"type": "object"
|
|
@@ -6217,42 +6357,42 @@
|
|
|
6217
6357
|
"title": "Fee Fraction",
|
|
6218
6358
|
"type": "number"
|
|
6219
6359
|
},
|
|
6220
|
-
"
|
|
6221
|
-
"title": "Max Amount
|
|
6360
|
+
"max_amount": {
|
|
6361
|
+
"title": "Max Amount",
|
|
6222
6362
|
"type": "integer"
|
|
6223
6363
|
},
|
|
6224
|
-
"
|
|
6225
|
-
"title": "Min Amount
|
|
6364
|
+
"min_amount": {
|
|
6365
|
+
"title": "Min Amount",
|
|
6226
6366
|
"type": "integer"
|
|
6227
6367
|
},
|
|
6228
|
-
"
|
|
6368
|
+
"preset_amounts": {
|
|
6229
6369
|
"description": "Suggested purchase amounts.",
|
|
6230
6370
|
"items": {
|
|
6231
6371
|
"type": "integer"
|
|
6232
6372
|
},
|
|
6233
|
-
"title": "Preset Amounts
|
|
6373
|
+
"title": "Preset Amounts",
|
|
6234
6374
|
"type": "array"
|
|
6235
6375
|
}
|
|
6236
6376
|
},
|
|
6237
6377
|
"required": [
|
|
6238
|
-
"
|
|
6239
|
-
"
|
|
6378
|
+
"min_amount",
|
|
6379
|
+
"max_amount",
|
|
6240
6380
|
"fee_fraction",
|
|
6241
|
-
"
|
|
6381
|
+
"preset_amounts"
|
|
6242
6382
|
],
|
|
6243
6383
|
"title": "CreditPurchaseOptions",
|
|
6244
6384
|
"type": "object"
|
|
6245
6385
|
},
|
|
6246
6386
|
"CreditPurchaseReceipt": {
|
|
6247
6387
|
"properties": {
|
|
6248
|
-
"
|
|
6388
|
+
"amount_paid": {
|
|
6249
6389
|
"description": "Amount collected for a completed credit purchase, including the platform fee.",
|
|
6250
|
-
"title": "Amount Paid
|
|
6390
|
+
"title": "Amount Paid",
|
|
6251
6391
|
"type": "integer"
|
|
6252
6392
|
}
|
|
6253
6393
|
},
|
|
6254
6394
|
"required": [
|
|
6255
|
-
"
|
|
6395
|
+
"amount_paid"
|
|
6256
6396
|
],
|
|
6257
6397
|
"title": "CreditPurchaseReceipt",
|
|
6258
6398
|
"type": "object"
|
|
@@ -6260,15 +6400,16 @@
|
|
|
6260
6400
|
"CreditPurchaseRequest": {
|
|
6261
6401
|
"additionalProperties": false,
|
|
6262
6402
|
"properties": {
|
|
6263
|
-
"
|
|
6264
|
-
"description": "Credit to buy. The platform fee is added at checkout.",
|
|
6265
|
-
"minimum":
|
|
6266
|
-
"
|
|
6403
|
+
"amount": {
|
|
6404
|
+
"description": "Credit to buy, in millicents, as a whole number of cents. The platform fee is added at checkout.",
|
|
6405
|
+
"minimum": 500000.0,
|
|
6406
|
+
"multipleOf": 1000.0,
|
|
6407
|
+
"title": "Amount",
|
|
6267
6408
|
"type": "integer"
|
|
6268
6409
|
}
|
|
6269
6410
|
},
|
|
6270
6411
|
"required": [
|
|
6271
|
-
"
|
|
6412
|
+
"amount"
|
|
6272
6413
|
],
|
|
6273
6414
|
"title": "CreditPurchaseRequest",
|
|
6274
6415
|
"type": "object"
|
|
@@ -6525,13 +6666,13 @@
|
|
|
6525
6666
|
},
|
|
6526
6667
|
"DeveloperBudgetDefaultWindow": {
|
|
6527
6668
|
"properties": {
|
|
6528
|
-
"
|
|
6529
|
-
"title": "Limit
|
|
6530
|
-
"type": "
|
|
6669
|
+
"limit": {
|
|
6670
|
+
"title": "Limit",
|
|
6671
|
+
"type": "integer"
|
|
6531
6672
|
},
|
|
6532
|
-
"
|
|
6533
|
-
"title": "Platform Max
|
|
6534
|
-
"type": "
|
|
6673
|
+
"platform_max": {
|
|
6674
|
+
"title": "Platform Max",
|
|
6675
|
+
"type": "integer"
|
|
6535
6676
|
},
|
|
6536
6677
|
"window_days": {
|
|
6537
6678
|
"title": "Window Days",
|
|
@@ -6540,8 +6681,8 @@
|
|
|
6540
6681
|
},
|
|
6541
6682
|
"required": [
|
|
6542
6683
|
"window_days",
|
|
6543
|
-
"
|
|
6544
|
-
"
|
|
6684
|
+
"limit",
|
|
6685
|
+
"platform_max"
|
|
6545
6686
|
],
|
|
6546
6687
|
"title": "DeveloperBudgetDefaultWindow",
|
|
6547
6688
|
"type": "object"
|
|
@@ -6552,42 +6693,42 @@
|
|
|
6552
6693
|
"title": "Exhausted",
|
|
6553
6694
|
"type": "boolean"
|
|
6554
6695
|
},
|
|
6555
|
-
"
|
|
6696
|
+
"limit": {
|
|
6556
6697
|
"anyOf": [
|
|
6557
6698
|
{
|
|
6558
|
-
"type": "
|
|
6699
|
+
"type": "integer"
|
|
6559
6700
|
},
|
|
6560
6701
|
{
|
|
6561
6702
|
"type": "null"
|
|
6562
6703
|
}
|
|
6563
6704
|
],
|
|
6564
|
-
"title": "Limit
|
|
6705
|
+
"title": "Limit"
|
|
6565
6706
|
},
|
|
6566
|
-
"
|
|
6707
|
+
"override": {
|
|
6567
6708
|
"anyOf": [
|
|
6568
6709
|
{
|
|
6569
|
-
"type": "
|
|
6710
|
+
"type": "integer"
|
|
6570
6711
|
},
|
|
6571
6712
|
{
|
|
6572
6713
|
"type": "null"
|
|
6573
6714
|
}
|
|
6574
6715
|
],
|
|
6575
|
-
"title": "Override
|
|
6716
|
+
"title": "Override"
|
|
6576
6717
|
},
|
|
6577
|
-
"
|
|
6718
|
+
"remaining": {
|
|
6578
6719
|
"anyOf": [
|
|
6579
6720
|
{
|
|
6580
|
-
"type": "
|
|
6721
|
+
"type": "integer"
|
|
6581
6722
|
},
|
|
6582
6723
|
{
|
|
6583
6724
|
"type": "null"
|
|
6584
6725
|
}
|
|
6585
6726
|
],
|
|
6586
|
-
"title": "Remaining
|
|
6727
|
+
"title": "Remaining"
|
|
6587
6728
|
},
|
|
6588
|
-
"
|
|
6589
|
-
"title": "Spent
|
|
6590
|
-
"type": "
|
|
6729
|
+
"spent": {
|
|
6730
|
+
"title": "Spent",
|
|
6731
|
+
"type": "integer"
|
|
6591
6732
|
},
|
|
6592
6733
|
"window_days": {
|
|
6593
6734
|
"title": "Window Days",
|
|
@@ -6596,10 +6737,10 @@
|
|
|
6596
6737
|
},
|
|
6597
6738
|
"required": [
|
|
6598
6739
|
"window_days",
|
|
6599
|
-
"
|
|
6600
|
-
"
|
|
6601
|
-
"
|
|
6602
|
-
"
|
|
6740
|
+
"spent",
|
|
6741
|
+
"limit",
|
|
6742
|
+
"override",
|
|
6743
|
+
"remaining",
|
|
6603
6744
|
"exhausted"
|
|
6604
6745
|
],
|
|
6605
6746
|
"title": "DeveloperBudgetWindow",
|
|
@@ -6635,8 +6776,8 @@
|
|
|
6635
6776
|
"title": "DeveloperBudgets",
|
|
6636
6777
|
"type": "object"
|
|
6637
6778
|
},
|
|
6638
|
-
"
|
|
6639
|
-
"description": "
|
|
6779
|
+
"DeveloperUsage": {
|
|
6780
|
+
"description": "One developer's agent sessions over the period. A developer is a distinct attribution_type and attribution_id.",
|
|
6640
6781
|
"properties": {
|
|
6641
6782
|
"attribution_id": {
|
|
6642
6783
|
"anyOf": [
|
|
@@ -6671,43 +6812,29 @@
|
|
|
6671
6812
|
],
|
|
6672
6813
|
"title": "Attribution Type"
|
|
6673
6814
|
},
|
|
6674
|
-
"
|
|
6675
|
-
"
|
|
6676
|
-
"
|
|
6677
|
-
},
|
|
6678
|
-
"cost_fee_millicents": {
|
|
6679
|
-
"title": "Cost Fee Millicents",
|
|
6680
|
-
"type": "integer"
|
|
6681
|
-
},
|
|
6682
|
-
"cost_memory_millicents": {
|
|
6683
|
-
"title": "Cost Memory Millicents",
|
|
6684
|
-
"type": "integer"
|
|
6685
|
-
},
|
|
6686
|
-
"cost_tokens_millicents": {
|
|
6687
|
-
"title": "Cost Tokens Millicents",
|
|
6688
|
-
"type": "integer"
|
|
6815
|
+
"cost": {
|
|
6816
|
+
"$ref": "#/components/schemas/Cost",
|
|
6817
|
+
"description": "What the developer's agent sessions cost."
|
|
6689
6818
|
},
|
|
6690
6819
|
"runs": {
|
|
6820
|
+
"description": "Agent sessions the developer started.",
|
|
6691
6821
|
"title": "Runs",
|
|
6692
6822
|
"type": "integer"
|
|
6693
6823
|
},
|
|
6694
6824
|
"tokens": {
|
|
6695
|
-
"
|
|
6696
|
-
"
|
|
6825
|
+
"$ref": "#/components/schemas/Tokens",
|
|
6826
|
+
"description": "The tokens the developer's agent sessions used."
|
|
6697
6827
|
}
|
|
6698
6828
|
},
|
|
6699
6829
|
"required": [
|
|
6700
6830
|
"attribution_type",
|
|
6701
6831
|
"attribution_id",
|
|
6702
6832
|
"attribution_login",
|
|
6703
|
-
"
|
|
6704
|
-
"
|
|
6705
|
-
"
|
|
6706
|
-
"cost_memory_millicents",
|
|
6707
|
-
"cost_fee_millicents",
|
|
6708
|
-
"runs"
|
|
6833
|
+
"runs",
|
|
6834
|
+
"cost",
|
|
6835
|
+
"tokens"
|
|
6709
6836
|
],
|
|
6710
|
-
"title": "
|
|
6837
|
+
"title": "DeveloperUsage",
|
|
6711
6838
|
"type": "object"
|
|
6712
6839
|
},
|
|
6713
6840
|
"Duration-Input": {
|
|
@@ -7034,6 +7161,11 @@
|
|
|
7034
7161
|
"title": "Name",
|
|
7035
7162
|
"type": "string"
|
|
7036
7163
|
},
|
|
7164
|
+
"raw_yaml": {
|
|
7165
|
+
"description": "The environment's YAML: the file as written for environments defined in a repository, or the definition rendered as YAML for environments managed through the API. A failed sync keeps the last valid YAML.",
|
|
7166
|
+
"title": "Raw Yaml",
|
|
7167
|
+
"type": "string"
|
|
7168
|
+
},
|
|
7037
7169
|
"sha": {
|
|
7038
7170
|
"description": "The environment's content identity fingerprint.",
|
|
7039
7171
|
"title": "Sha",
|
|
@@ -7064,7 +7196,8 @@
|
|
|
7064
7196
|
"created_at",
|
|
7065
7197
|
"updated_at",
|
|
7066
7198
|
"managed_by",
|
|
7067
|
-
"environment"
|
|
7199
|
+
"environment",
|
|
7200
|
+
"raw_yaml"
|
|
7068
7201
|
],
|
|
7069
7202
|
"title": "Environment",
|
|
7070
7203
|
"type": "object"
|
|
@@ -8359,70 +8492,6 @@
|
|
|
8359
8492
|
"title": "FeeScheduleResponse",
|
|
8360
8493
|
"type": "object"
|
|
8361
8494
|
},
|
|
8362
|
-
"FundingSource": {
|
|
8363
|
-
"enum": [
|
|
8364
|
-
"ellipsis",
|
|
8365
|
-
"claude_subscription",
|
|
8366
|
-
"codex_subscription",
|
|
8367
|
-
"unknown"
|
|
8368
|
-
],
|
|
8369
|
-
"title": "FundingSource",
|
|
8370
|
-
"type": "string"
|
|
8371
|
-
},
|
|
8372
|
-
"FundingSourceUsage": {
|
|
8373
|
-
"description": "Actual credit debits and separately rated token usage for one funding source.\n\nRated usage is our estimate at the recorded model rate, not an external\nprovider invoice. Missing measurements are reported explicitly, not as free\nrequests. Compute and carried-forward charges contribute to credit debits.",
|
|
8374
|
-
"properties": {
|
|
8375
|
-
"charged_millicents": {
|
|
8376
|
-
"default": 0,
|
|
8377
|
-
"title": "Charged Millicents",
|
|
8378
|
-
"type": "integer"
|
|
8379
|
-
},
|
|
8380
|
-
"funding_source": {
|
|
8381
|
-
"$ref": "#/components/schemas/FundingSource"
|
|
8382
|
-
},
|
|
8383
|
-
"pending_requests": {
|
|
8384
|
-
"default": 0,
|
|
8385
|
-
"title": "Pending Requests",
|
|
8386
|
-
"type": "integer"
|
|
8387
|
-
},
|
|
8388
|
-
"rated_token_cost_millicents": {
|
|
8389
|
-
"anyOf": [
|
|
8390
|
-
{
|
|
8391
|
-
"type": "integer"
|
|
8392
|
-
},
|
|
8393
|
-
{
|
|
8394
|
-
"type": "null"
|
|
8395
|
-
}
|
|
8396
|
-
],
|
|
8397
|
-
"title": "Rated Token Cost Millicents"
|
|
8398
|
-
},
|
|
8399
|
-
"requests": {
|
|
8400
|
-
"default": 0,
|
|
8401
|
-
"title": "Requests",
|
|
8402
|
-
"type": "integer"
|
|
8403
|
-
},
|
|
8404
|
-
"token_charged_millicents": {
|
|
8405
|
-
"default": 0,
|
|
8406
|
-
"title": "Token Charged Millicents",
|
|
8407
|
-
"type": "integer"
|
|
8408
|
-
},
|
|
8409
|
-
"tokens": {
|
|
8410
|
-
"default": 0,
|
|
8411
|
-
"title": "Tokens",
|
|
8412
|
-
"type": "integer"
|
|
8413
|
-
},
|
|
8414
|
-
"unresolved_requests": {
|
|
8415
|
-
"default": 0,
|
|
8416
|
-
"title": "Unresolved Requests",
|
|
8417
|
-
"type": "integer"
|
|
8418
|
-
}
|
|
8419
|
-
},
|
|
8420
|
-
"required": [
|
|
8421
|
-
"funding_source"
|
|
8422
|
-
],
|
|
8423
|
-
"title": "FundingSourceUsage",
|
|
8424
|
-
"type": "object"
|
|
8425
|
-
},
|
|
8426
8495
|
"GetAnalyticsMetricsResponse": {
|
|
8427
8496
|
"description": "Organization-wide pull-request and review analytics, aggregated\nserver-side over the requested window and filters, with filter facets\nderived from the unfiltered pull-request set.",
|
|
8428
8497
|
"properties": {
|
|
@@ -8703,12 +8772,9 @@
|
|
|
8703
8772
|
},
|
|
8704
8773
|
"GetUsageOverTimeResponse": {
|
|
8705
8774
|
"properties": {
|
|
8706
|
-
"
|
|
8707
|
-
"
|
|
8708
|
-
|
|
8709
|
-
},
|
|
8710
|
-
"title": "Agent By Model",
|
|
8711
|
-
"type": "array"
|
|
8775
|
+
"agent_sessions": {
|
|
8776
|
+
"$ref": "#/components/schemas/UsageTotals",
|
|
8777
|
+
"description": "Cost and tokens of agent sessions only."
|
|
8712
8778
|
},
|
|
8713
8779
|
"billing_periods": {
|
|
8714
8780
|
"items": {
|
|
@@ -8717,33 +8783,32 @@
|
|
|
8717
8783
|
"title": "Billing Periods",
|
|
8718
8784
|
"type": "array"
|
|
8719
8785
|
},
|
|
8720
|
-
"
|
|
8786
|
+
"by_billing_source": {
|
|
8721
8787
|
"items": {
|
|
8722
|
-
"$ref": "#/components/schemas/
|
|
8788
|
+
"$ref": "#/components/schemas/BillingSourceUsage"
|
|
8723
8789
|
},
|
|
8724
|
-
"title": "By
|
|
8790
|
+
"title": "By Billing Source",
|
|
8725
8791
|
"type": "array"
|
|
8726
8792
|
},
|
|
8727
|
-
"
|
|
8793
|
+
"by_day": {
|
|
8794
|
+
"description": "One entry per day of the period, oldest first, with zeros for days without usage.",
|
|
8728
8795
|
"items": {
|
|
8729
|
-
"$ref": "#/components/schemas/
|
|
8796
|
+
"$ref": "#/components/schemas/UsageDay"
|
|
8730
8797
|
},
|
|
8731
|
-
"title": "By
|
|
8798
|
+
"title": "By Day",
|
|
8732
8799
|
"type": "array"
|
|
8733
8800
|
},
|
|
8734
|
-
"
|
|
8801
|
+
"by_developer": {
|
|
8802
|
+
"description": "Agent session cost and tokens for each developer, highest cost first.",
|
|
8735
8803
|
"items": {
|
|
8736
|
-
"$ref": "#/components/schemas/
|
|
8804
|
+
"$ref": "#/components/schemas/DeveloperUsage"
|
|
8737
8805
|
},
|
|
8738
|
-
"title": "
|
|
8806
|
+
"title": "By Developer",
|
|
8739
8807
|
"type": "array"
|
|
8740
8808
|
},
|
|
8741
|
-
"
|
|
8742
|
-
"
|
|
8743
|
-
|
|
8744
|
-
},
|
|
8745
|
-
"title": "Developer Spend",
|
|
8746
|
-
"type": "array"
|
|
8809
|
+
"cost": {
|
|
8810
|
+
"$ref": "#/components/schemas/Cost",
|
|
8811
|
+
"description": "What the period's usage has cost so far."
|
|
8747
8812
|
},
|
|
8748
8813
|
"period_end": {
|
|
8749
8814
|
"title": "Period End",
|
|
@@ -8753,35 +8818,30 @@
|
|
|
8753
8818
|
"title": "Period Start",
|
|
8754
8819
|
"type": "string"
|
|
8755
8820
|
},
|
|
8756
|
-
"
|
|
8757
|
-
"
|
|
8758
|
-
"
|
|
8759
|
-
},
|
|
8760
|
-
"prior_total_tokens": {
|
|
8761
|
-
"title": "Prior Total Tokens",
|
|
8762
|
-
"type": "integer"
|
|
8821
|
+
"prior_cost": {
|
|
8822
|
+
"$ref": "#/components/schemas/Cost",
|
|
8823
|
+
"description": "What the prior period cost over the same number of elapsed days."
|
|
8763
8824
|
},
|
|
8764
|
-
"
|
|
8765
|
-
"
|
|
8766
|
-
"
|
|
8825
|
+
"prior_tokens": {
|
|
8826
|
+
"$ref": "#/components/schemas/Tokens",
|
|
8827
|
+
"description": "The tokens the prior period used over the same number of elapsed days."
|
|
8767
8828
|
},
|
|
8768
|
-
"
|
|
8769
|
-
"
|
|
8770
|
-
"
|
|
8829
|
+
"tokens": {
|
|
8830
|
+
"$ref": "#/components/schemas/Tokens",
|
|
8831
|
+
"description": "The tokens used in the period so far."
|
|
8771
8832
|
}
|
|
8772
8833
|
},
|
|
8773
8834
|
"required": [
|
|
8774
8835
|
"billing_periods",
|
|
8775
8836
|
"period_start",
|
|
8776
8837
|
"period_end",
|
|
8777
|
-
"
|
|
8778
|
-
"
|
|
8779
|
-
"
|
|
8780
|
-
"
|
|
8781
|
-
"
|
|
8782
|
-
"
|
|
8783
|
-
"
|
|
8784
|
-
"developer_spend"
|
|
8838
|
+
"cost",
|
|
8839
|
+
"tokens",
|
|
8840
|
+
"prior_cost",
|
|
8841
|
+
"prior_tokens",
|
|
8842
|
+
"by_day",
|
|
8843
|
+
"agent_sessions",
|
|
8844
|
+
"by_developer"
|
|
8785
8845
|
],
|
|
8786
8846
|
"title": "GetUsageOverTimeResponse",
|
|
8787
8847
|
"type": "object"
|
|
@@ -9062,6 +9122,99 @@
|
|
|
9062
9122
|
"title": "GithubCheckRunEvent",
|
|
9063
9123
|
"type": "object"
|
|
9064
9124
|
},
|
|
9125
|
+
"GithubCheckSuiteEvent": {
|
|
9126
|
+
"properties": {
|
|
9127
|
+
"action": {
|
|
9128
|
+
"$ref": "#/components/schemas/CheckSuiteAction"
|
|
9129
|
+
},
|
|
9130
|
+
"actor": {
|
|
9131
|
+
"anyOf": [
|
|
9132
|
+
{
|
|
9133
|
+
"$ref": "#/components/schemas/SessionEventActor"
|
|
9134
|
+
},
|
|
9135
|
+
{
|
|
9136
|
+
"type": "null"
|
|
9137
|
+
}
|
|
9138
|
+
]
|
|
9139
|
+
},
|
|
9140
|
+
"app": {
|
|
9141
|
+
"anyOf": [
|
|
9142
|
+
{
|
|
9143
|
+
"type": "string"
|
|
9144
|
+
},
|
|
9145
|
+
{
|
|
9146
|
+
"type": "null"
|
|
9147
|
+
}
|
|
9148
|
+
],
|
|
9149
|
+
"title": "App"
|
|
9150
|
+
},
|
|
9151
|
+
"branch": {
|
|
9152
|
+
"anyOf": [
|
|
9153
|
+
{
|
|
9154
|
+
"type": "string"
|
|
9155
|
+
},
|
|
9156
|
+
{
|
|
9157
|
+
"type": "null"
|
|
9158
|
+
}
|
|
9159
|
+
],
|
|
9160
|
+
"title": "Branch"
|
|
9161
|
+
},
|
|
9162
|
+
"conclusion": {
|
|
9163
|
+
"anyOf": [
|
|
9164
|
+
{
|
|
9165
|
+
"type": "string"
|
|
9166
|
+
},
|
|
9167
|
+
{
|
|
9168
|
+
"type": "null"
|
|
9169
|
+
}
|
|
9170
|
+
],
|
|
9171
|
+
"title": "Conclusion"
|
|
9172
|
+
},
|
|
9173
|
+
"head_sha": {
|
|
9174
|
+
"title": "Head Sha",
|
|
9175
|
+
"type": "string"
|
|
9176
|
+
},
|
|
9177
|
+
"pull_request_number": {
|
|
9178
|
+
"anyOf": [
|
|
9179
|
+
{
|
|
9180
|
+
"type": "integer"
|
|
9181
|
+
},
|
|
9182
|
+
{
|
|
9183
|
+
"type": "null"
|
|
9184
|
+
}
|
|
9185
|
+
],
|
|
9186
|
+
"title": "Pull Request Number"
|
|
9187
|
+
},
|
|
9188
|
+
"repository": {
|
|
9189
|
+
"title": "Repository",
|
|
9190
|
+
"type": "string"
|
|
9191
|
+
},
|
|
9192
|
+
"type": {
|
|
9193
|
+
"const": "github.check_suite",
|
|
9194
|
+
"default": "github.check_suite",
|
|
9195
|
+
"title": "Type",
|
|
9196
|
+
"type": "string"
|
|
9197
|
+
},
|
|
9198
|
+
"url": {
|
|
9199
|
+
"title": "Url",
|
|
9200
|
+
"type": "string"
|
|
9201
|
+
}
|
|
9202
|
+
},
|
|
9203
|
+
"required": [
|
|
9204
|
+
"action",
|
|
9205
|
+
"actor",
|
|
9206
|
+
"app",
|
|
9207
|
+
"branch",
|
|
9208
|
+
"conclusion",
|
|
9209
|
+
"head_sha",
|
|
9210
|
+
"pull_request_number",
|
|
9211
|
+
"repository",
|
|
9212
|
+
"type",
|
|
9213
|
+
"url"
|
|
9214
|
+
],
|
|
9215
|
+
"title": "GithubCheckSuiteEvent",
|
|
9216
|
+
"type": "object"
|
|
9217
|
+
},
|
|
9065
9218
|
"GithubConfig": {
|
|
9066
9219
|
"additionalProperties": false,
|
|
9067
9220
|
"properties": {
|
|
@@ -9509,7 +9662,7 @@
|
|
|
9509
9662
|
},
|
|
9510
9663
|
"GithubPermissions-Input": {
|
|
9511
9664
|
"additionalProperties": false,
|
|
9512
|
-
"description": "The agent's GitHub access: the scope of the installation token minted for\nits session's environment \u2014 the credential `git` and `gh` authenticate\nwith.\n\nBy default the token carries the installation's full permissions on all of\nthe installation's repositories. `permissions` narrows what it may do:\nthe string `read_only` grants read access to
|
|
9665
|
+
"description": "The agent's GitHub access: the scope of the installation token minted for\nits session's environment \u2014 the credential `git` and `gh` authenticate\nwith.\n\nBy default the token carries the installation's full permissions on all of\nthe installation's repositories. `permissions` narrows what it may do:\nthe string `read_only` grants read access to every scope the installation\ngranted; a map requests explicit levels per GitHub App permission\nscope (e.g. `{contents: read, pull_requests: write}`) and may never exceed\nwhat the installation granted. `repositories` scopes the token to exactly\nthe listed repos, by name (they must belong to the installation).\n\nRestriction is enforced by GitHub, not by Ellipsis: the token itself is\nminted with the reduced scope, so nothing running in the environment can\nexceed it.",
|
|
9513
9666
|
"properties": {
|
|
9514
9667
|
"permissions": {
|
|
9515
9668
|
"anyOf": [
|
|
@@ -9549,7 +9702,7 @@
|
|
|
9549
9702
|
},
|
|
9550
9703
|
"GithubPermissions-Output": {
|
|
9551
9704
|
"additionalProperties": false,
|
|
9552
|
-
"description": "The agent's GitHub access: the scope of the installation token minted for\nits session's environment \u2014 the credential `git` and `gh` authenticate\nwith.\n\nBy default the token carries the installation's full permissions on all of\nthe installation's repositories. `permissions` narrows what it may do:\nthe string `read_only` grants read access to
|
|
9705
|
+
"description": "The agent's GitHub access: the scope of the installation token minted for\nits session's environment \u2014 the credential `git` and `gh` authenticate\nwith.\n\nBy default the token carries the installation's full permissions on all of\nthe installation's repositories. `permissions` narrows what it may do:\nthe string `read_only` grants read access to every scope the installation\ngranted; a map requests explicit levels per GitHub App permission\nscope (e.g. `{contents: read, pull_requests: write}`) and may never exceed\nwhat the installation granted. `repositories` scopes the token to exactly\nthe listed repos, by name (they must belong to the installation).\n\nRestriction is enforced by GitHub, not by Ellipsis: the token itself is\nminted with the reduced scope, so nothing running in the environment can\nexceed it.",
|
|
9553
9706
|
"properties": {
|
|
9554
9707
|
"permissions": {
|
|
9555
9708
|
"anyOf": [
|
|
@@ -9907,6 +10060,85 @@
|
|
|
9907
10060
|
"title": "GithubSourceDetails",
|
|
9908
10061
|
"type": "object"
|
|
9909
10062
|
},
|
|
10063
|
+
"GithubStatusEvent": {
|
|
10064
|
+
"properties": {
|
|
10065
|
+
"action": {
|
|
10066
|
+
"$ref": "#/components/schemas/StatusAction"
|
|
10067
|
+
},
|
|
10068
|
+
"actor": {
|
|
10069
|
+
"anyOf": [
|
|
10070
|
+
{
|
|
10071
|
+
"$ref": "#/components/schemas/SessionEventActor"
|
|
10072
|
+
},
|
|
10073
|
+
{
|
|
10074
|
+
"type": "null"
|
|
10075
|
+
}
|
|
10076
|
+
]
|
|
10077
|
+
},
|
|
10078
|
+
"branch": {
|
|
10079
|
+
"anyOf": [
|
|
10080
|
+
{
|
|
10081
|
+
"type": "string"
|
|
10082
|
+
},
|
|
10083
|
+
{
|
|
10084
|
+
"type": "null"
|
|
10085
|
+
}
|
|
10086
|
+
],
|
|
10087
|
+
"title": "Branch"
|
|
10088
|
+
},
|
|
10089
|
+
"context": {
|
|
10090
|
+
"title": "Context",
|
|
10091
|
+
"type": "string"
|
|
10092
|
+
},
|
|
10093
|
+
"head_sha": {
|
|
10094
|
+
"title": "Head Sha",
|
|
10095
|
+
"type": "string"
|
|
10096
|
+
},
|
|
10097
|
+
"pull_request_number": {
|
|
10098
|
+
"anyOf": [
|
|
10099
|
+
{
|
|
10100
|
+
"type": "integer"
|
|
10101
|
+
},
|
|
10102
|
+
{
|
|
10103
|
+
"type": "null"
|
|
10104
|
+
}
|
|
10105
|
+
],
|
|
10106
|
+
"title": "Pull Request Number"
|
|
10107
|
+
},
|
|
10108
|
+
"repository": {
|
|
10109
|
+
"title": "Repository",
|
|
10110
|
+
"type": "string"
|
|
10111
|
+
},
|
|
10112
|
+
"state": {
|
|
10113
|
+
"title": "State",
|
|
10114
|
+
"type": "string"
|
|
10115
|
+
},
|
|
10116
|
+
"type": {
|
|
10117
|
+
"const": "github.status",
|
|
10118
|
+
"default": "github.status",
|
|
10119
|
+
"title": "Type",
|
|
10120
|
+
"type": "string"
|
|
10121
|
+
},
|
|
10122
|
+
"url": {
|
|
10123
|
+
"title": "Url",
|
|
10124
|
+
"type": "string"
|
|
10125
|
+
}
|
|
10126
|
+
},
|
|
10127
|
+
"required": [
|
|
10128
|
+
"action",
|
|
10129
|
+
"actor",
|
|
10130
|
+
"branch",
|
|
10131
|
+
"context",
|
|
10132
|
+
"head_sha",
|
|
10133
|
+
"pull_request_number",
|
|
10134
|
+
"repository",
|
|
10135
|
+
"state",
|
|
10136
|
+
"type",
|
|
10137
|
+
"url"
|
|
10138
|
+
],
|
|
10139
|
+
"title": "GithubStatusEvent",
|
|
10140
|
+
"type": "object"
|
|
10141
|
+
},
|
|
9910
10142
|
"GithubUser": {
|
|
9911
10143
|
"description": "This is a full user account. It's the most amount of info we need to represent a GitHub user.\n\nRepresents both a public and private user.",
|
|
9912
10144
|
"properties": {
|
|
@@ -10287,6 +10519,97 @@
|
|
|
10287
10519
|
"title": "GithubUser",
|
|
10288
10520
|
"type": "object"
|
|
10289
10521
|
},
|
|
10522
|
+
"GithubWorkflowRunEvent": {
|
|
10523
|
+
"properties": {
|
|
10524
|
+
"action": {
|
|
10525
|
+
"$ref": "#/components/schemas/WorkflowRunAction"
|
|
10526
|
+
},
|
|
10527
|
+
"actor": {
|
|
10528
|
+
"anyOf": [
|
|
10529
|
+
{
|
|
10530
|
+
"$ref": "#/components/schemas/SessionEventActor"
|
|
10531
|
+
},
|
|
10532
|
+
{
|
|
10533
|
+
"type": "null"
|
|
10534
|
+
}
|
|
10535
|
+
]
|
|
10536
|
+
},
|
|
10537
|
+
"branch": {
|
|
10538
|
+
"anyOf": [
|
|
10539
|
+
{
|
|
10540
|
+
"type": "string"
|
|
10541
|
+
},
|
|
10542
|
+
{
|
|
10543
|
+
"type": "null"
|
|
10544
|
+
}
|
|
10545
|
+
],
|
|
10546
|
+
"title": "Branch"
|
|
10547
|
+
},
|
|
10548
|
+
"conclusion": {
|
|
10549
|
+
"anyOf": [
|
|
10550
|
+
{
|
|
10551
|
+
"type": "string"
|
|
10552
|
+
},
|
|
10553
|
+
{
|
|
10554
|
+
"type": "null"
|
|
10555
|
+
}
|
|
10556
|
+
],
|
|
10557
|
+
"title": "Conclusion"
|
|
10558
|
+
},
|
|
10559
|
+
"head_sha": {
|
|
10560
|
+
"title": "Head Sha",
|
|
10561
|
+
"type": "string"
|
|
10562
|
+
},
|
|
10563
|
+
"name": {
|
|
10564
|
+
"title": "Name",
|
|
10565
|
+
"type": "string"
|
|
10566
|
+
},
|
|
10567
|
+
"pull_request_number": {
|
|
10568
|
+
"anyOf": [
|
|
10569
|
+
{
|
|
10570
|
+
"type": "integer"
|
|
10571
|
+
},
|
|
10572
|
+
{
|
|
10573
|
+
"type": "null"
|
|
10574
|
+
}
|
|
10575
|
+
],
|
|
10576
|
+
"title": "Pull Request Number"
|
|
10577
|
+
},
|
|
10578
|
+
"repository": {
|
|
10579
|
+
"title": "Repository",
|
|
10580
|
+
"type": "string"
|
|
10581
|
+
},
|
|
10582
|
+
"run_number": {
|
|
10583
|
+
"title": "Run Number",
|
|
10584
|
+
"type": "integer"
|
|
10585
|
+
},
|
|
10586
|
+
"type": {
|
|
10587
|
+
"const": "github.workflow_run",
|
|
10588
|
+
"default": "github.workflow_run",
|
|
10589
|
+
"title": "Type",
|
|
10590
|
+
"type": "string"
|
|
10591
|
+
},
|
|
10592
|
+
"url": {
|
|
10593
|
+
"title": "Url",
|
|
10594
|
+
"type": "string"
|
|
10595
|
+
}
|
|
10596
|
+
},
|
|
10597
|
+
"required": [
|
|
10598
|
+
"action",
|
|
10599
|
+
"actor",
|
|
10600
|
+
"branch",
|
|
10601
|
+
"conclusion",
|
|
10602
|
+
"head_sha",
|
|
10603
|
+
"name",
|
|
10604
|
+
"pull_request_number",
|
|
10605
|
+
"repository",
|
|
10606
|
+
"run_number",
|
|
10607
|
+
"type",
|
|
10608
|
+
"url"
|
|
10609
|
+
],
|
|
10610
|
+
"title": "GithubWorkflowRunEvent",
|
|
10611
|
+
"type": "object"
|
|
10612
|
+
},
|
|
10290
10613
|
"HTTPValidationError": {
|
|
10291
10614
|
"properties": {
|
|
10292
10615
|
"detail": {
|
|
@@ -10329,9 +10652,8 @@
|
|
|
10329
10652
|
"description": "Session counts and spend attributed to one saved handler.",
|
|
10330
10653
|
"properties": {
|
|
10331
10654
|
"cost": {
|
|
10332
|
-
"
|
|
10333
|
-
"
|
|
10334
|
-
"type": "integer"
|
|
10655
|
+
"$ref": "#/components/schemas/Cost",
|
|
10656
|
+
"description": "What the selected sessions cost together."
|
|
10335
10657
|
},
|
|
10336
10658
|
"end": {
|
|
10337
10659
|
"anyOf": [
|
|
@@ -11666,6 +11988,66 @@
|
|
|
11666
11988
|
"title": "ListUserTokensResponse",
|
|
11667
11989
|
"type": "object"
|
|
11668
11990
|
},
|
|
11991
|
+
"LlmCost": {
|
|
11992
|
+
"description": "What LLM tokens cost, in total and by model.",
|
|
11993
|
+
"properties": {
|
|
11994
|
+
"all": {
|
|
11995
|
+
"$ref": "#/components/schemas/LlmCostSplit",
|
|
11996
|
+
"description": "Token cost across every model."
|
|
11997
|
+
},
|
|
11998
|
+
"by_model": {
|
|
11999
|
+
"description": "Token cost for each model that used tokens.",
|
|
12000
|
+
"items": {
|
|
12001
|
+
"$ref": "#/components/schemas/ModelLlmCostSplit"
|
|
12002
|
+
},
|
|
12003
|
+
"title": "By Model",
|
|
12004
|
+
"type": "array"
|
|
12005
|
+
}
|
|
12006
|
+
},
|
|
12007
|
+
"required": [
|
|
12008
|
+
"all",
|
|
12009
|
+
"by_model"
|
|
12010
|
+
],
|
|
12011
|
+
"title": "LlmCost",
|
|
12012
|
+
"type": "object"
|
|
12013
|
+
},
|
|
12014
|
+
"LlmCostSplit": {
|
|
12015
|
+
"description": "What LLM tokens cost, in millicents, split by who paid (Ellipsis credit or the user's own subscription).",
|
|
12016
|
+
"properties": {
|
|
12017
|
+
"claude_subscription": {
|
|
12018
|
+
"default": 0,
|
|
12019
|
+
"description": "Token cost paid by a Claude subscription, at Ellipsis rates, in millicents.",
|
|
12020
|
+
"title": "Claude Subscription",
|
|
12021
|
+
"type": "integer"
|
|
12022
|
+
},
|
|
12023
|
+
"codex_subscription": {
|
|
12024
|
+
"default": 0,
|
|
12025
|
+
"description": "Token cost paid by a Codex subscription, at Ellipsis rates, in millicents.",
|
|
12026
|
+
"title": "Codex Subscription",
|
|
12027
|
+
"type": "integer"
|
|
12028
|
+
},
|
|
12029
|
+
"platform": {
|
|
12030
|
+
"default": 0,
|
|
12031
|
+
"description": "Token cost charged to Ellipsis credit, in millicents.",
|
|
12032
|
+
"title": "Platform",
|
|
12033
|
+
"type": "integer"
|
|
12034
|
+
},
|
|
12035
|
+
"total": {
|
|
12036
|
+
"default": 0,
|
|
12037
|
+
"description": "All token cost, in millicents. It is the sum of platform, claude_subscription, and codex_subscription.",
|
|
12038
|
+
"title": "Total",
|
|
12039
|
+
"type": "integer"
|
|
12040
|
+
}
|
|
12041
|
+
},
|
|
12042
|
+
"required": [
|
|
12043
|
+
"claude_subscription",
|
|
12044
|
+
"codex_subscription",
|
|
12045
|
+
"platform",
|
|
12046
|
+
"total"
|
|
12047
|
+
],
|
|
12048
|
+
"title": "LlmCostSplit",
|
|
12049
|
+
"type": "object"
|
|
12050
|
+
},
|
|
11669
12051
|
"McpRemoteServer-Input": {
|
|
11670
12052
|
"additionalProperties": false,
|
|
11671
12053
|
"description": "A bring-your-own remote MCP server: the harness talks HTTP to `url`.\nNothing runs in the environment image. `headers` carry static auth (e.g.\n`Authorization: Bearer ${TOKEN}`); values may embed `${NAME}` secret\nreferences, resolved at run time from the account's secrets store.",
|
|
@@ -12337,7 +12719,7 @@
|
|
|
12337
12719
|
},
|
|
12338
12720
|
"MessageRequeuedPayload": {
|
|
12339
12721
|
"additionalProperties": true,
|
|
12340
|
-
"description": "message_requeued: a turn was interrupted before answering, so the\nmessage goes back to the inbox with a new
|
|
12722
|
+
"description": "message_requeued: a turn was interrupted before answering, so the\nmessage goes back to the inbox with a new queued turn.",
|
|
12341
12723
|
"properties": {
|
|
12342
12724
|
"message_id": {
|
|
12343
12725
|
"title": "Message Id",
|
|
@@ -12598,94 +12980,139 @@
|
|
|
12598
12980
|
"title": "Model",
|
|
12599
12981
|
"type": "object"
|
|
12600
12982
|
},
|
|
12983
|
+
"ModelLlmCostSplit": {
|
|
12984
|
+
"description": "What one model's tokens cost, in millicents, split by who paid.",
|
|
12985
|
+
"properties": {
|
|
12986
|
+
"claude_subscription": {
|
|
12987
|
+
"default": 0,
|
|
12988
|
+
"description": "Token cost paid by a Claude subscription, at Ellipsis rates, in millicents.",
|
|
12989
|
+
"title": "Claude Subscription",
|
|
12990
|
+
"type": "integer"
|
|
12991
|
+
},
|
|
12992
|
+
"codex_subscription": {
|
|
12993
|
+
"default": 0,
|
|
12994
|
+
"description": "Token cost paid by a Codex subscription, at Ellipsis rates, in millicents.",
|
|
12995
|
+
"title": "Codex Subscription",
|
|
12996
|
+
"type": "integer"
|
|
12997
|
+
},
|
|
12998
|
+
"model": {
|
|
12999
|
+
"description": "The model that used these tokens.",
|
|
13000
|
+
"title": "Model",
|
|
13001
|
+
"type": "string"
|
|
13002
|
+
},
|
|
13003
|
+
"platform": {
|
|
13004
|
+
"default": 0,
|
|
13005
|
+
"description": "Token cost charged to Ellipsis credit, in millicents.",
|
|
13006
|
+
"title": "Platform",
|
|
13007
|
+
"type": "integer"
|
|
13008
|
+
},
|
|
13009
|
+
"total": {
|
|
13010
|
+
"default": 0,
|
|
13011
|
+
"description": "All token cost, in millicents. It is the sum of platform, claude_subscription, and codex_subscription.",
|
|
13012
|
+
"title": "Total",
|
|
13013
|
+
"type": "integer"
|
|
13014
|
+
}
|
|
13015
|
+
},
|
|
13016
|
+
"required": [
|
|
13017
|
+
"claude_subscription",
|
|
13018
|
+
"codex_subscription",
|
|
13019
|
+
"model",
|
|
13020
|
+
"platform",
|
|
13021
|
+
"total"
|
|
13022
|
+
],
|
|
13023
|
+
"title": "ModelLlmCostSplit",
|
|
13024
|
+
"type": "object"
|
|
13025
|
+
},
|
|
12601
13026
|
"ModelManufacturer": {
|
|
12602
|
-
"description": "Who BUILT a model. Never who serves it.\n\nServing path is irrelevant here. Anthropic built every Claude model, so all of\nthem are ANTHROPIC even though OpenRouter is what actually serves them.\nLikewise the `gpt-5.6-*` rows are OPENAI (OpenAI's models, resold to us by\nOpenRouter)
|
|
13027
|
+
"description": "Who BUILT a model. Never who serves it.\n\nServing path is irrelevant here. Anthropic built every Claude model, so all of\nthem are ANTHROPIC even though OpenRouter is what actually serves them.\nLikewise the `gpt-5.6-*` rows are OPENAI (OpenAI's models, resold to us by\nOpenRouter).\n\nSo this is deliberately NOT derived from `EgressRoute.provider`: routing is an\ninfrastructure fact that changes when we move a model between providers, while\nthe manufacturer is a property of the model itself and never changes.\n\nThe frontend renders a vendor logo per model, which is why it needs the maker.\nKeying that UI off the egress provider would put OpenRouter's logo on every\nmodel.",
|
|
12603
13028
|
"enum": [
|
|
12604
13029
|
"anthropic",
|
|
12605
|
-
"openai"
|
|
12606
|
-
"zai",
|
|
12607
|
-
"minimax",
|
|
12608
|
-
"moonshot"
|
|
13030
|
+
"openai"
|
|
12609
13031
|
],
|
|
12610
13032
|
"title": "ModelManufacturer",
|
|
12611
13033
|
"type": "string"
|
|
12612
13034
|
},
|
|
12613
13035
|
"ModelRateCardApi": {
|
|
12614
13036
|
"properties": {
|
|
12615
|
-
"
|
|
12616
|
-
"title": "Cache Read
|
|
13037
|
+
"cache_read_per_1m_tokens": {
|
|
13038
|
+
"title": "Cache Read Per 1M Tokens",
|
|
12617
13039
|
"type": "integer"
|
|
12618
13040
|
},
|
|
12619
|
-
"
|
|
12620
|
-
"title": "Cache Write 1H
|
|
13041
|
+
"cache_write_1h_per_1m_tokens": {
|
|
13042
|
+
"title": "Cache Write 1H Per 1M Tokens",
|
|
12621
13043
|
"type": "integer"
|
|
12622
13044
|
},
|
|
12623
|
-
"
|
|
12624
|
-
"title": "Cache Write 5M
|
|
13045
|
+
"cache_write_5m_per_1m_tokens": {
|
|
13046
|
+
"title": "Cache Write 5M Per 1M Tokens",
|
|
12625
13047
|
"type": "integer"
|
|
12626
13048
|
},
|
|
12627
|
-
"
|
|
12628
|
-
"title": "Input
|
|
13049
|
+
"input_per_1m_tokens": {
|
|
13050
|
+
"title": "Input Per 1M Tokens",
|
|
12629
13051
|
"type": "integer"
|
|
12630
13052
|
},
|
|
12631
|
-
"
|
|
12632
|
-
"title": "Output
|
|
13053
|
+
"output_per_1m_tokens": {
|
|
13054
|
+
"title": "Output Per 1M Tokens",
|
|
12633
13055
|
"type": "integer"
|
|
12634
13056
|
}
|
|
12635
13057
|
},
|
|
12636
13058
|
"required": [
|
|
12637
|
-
"
|
|
12638
|
-
"
|
|
12639
|
-
"
|
|
12640
|
-
"
|
|
12641
|
-
"
|
|
13059
|
+
"input_per_1m_tokens",
|
|
13060
|
+
"cache_write_5m_per_1m_tokens",
|
|
13061
|
+
"cache_write_1h_per_1m_tokens",
|
|
13062
|
+
"cache_read_per_1m_tokens",
|
|
13063
|
+
"output_per_1m_tokens"
|
|
12642
13064
|
],
|
|
12643
13065
|
"title": "ModelRateCardApi",
|
|
12644
13066
|
"type": "object"
|
|
12645
13067
|
},
|
|
12646
|
-
"
|
|
12647
|
-
"description": "
|
|
13068
|
+
"ModelTokenCounts": {
|
|
13069
|
+
"description": "Token counts for one model.",
|
|
12648
13070
|
"properties": {
|
|
12649
|
-
"
|
|
12650
|
-
"
|
|
12651
|
-
"
|
|
12652
|
-
"
|
|
12653
|
-
},
|
|
12654
|
-
"cost_fee_millicents": {
|
|
12655
|
-
"description": "Platform fee, in millicents.",
|
|
12656
|
-
"title": "Cost Fee Millicents",
|
|
13071
|
+
"cache_creation": {
|
|
13072
|
+
"default": 0,
|
|
13073
|
+
"description": "Tokens written to the prompt cache.",
|
|
13074
|
+
"title": "Cache Creation",
|
|
12657
13075
|
"type": "integer"
|
|
12658
13076
|
},
|
|
12659
|
-
"
|
|
12660
|
-
"
|
|
12661
|
-
"
|
|
13077
|
+
"cache_read": {
|
|
13078
|
+
"default": 0,
|
|
13079
|
+
"description": "Tokens read from the prompt cache.",
|
|
13080
|
+
"title": "Cache Read",
|
|
12662
13081
|
"type": "integer"
|
|
12663
13082
|
},
|
|
12664
|
-
"
|
|
12665
|
-
"
|
|
12666
|
-
"
|
|
13083
|
+
"input": {
|
|
13084
|
+
"default": 0,
|
|
13085
|
+
"description": "Input tokens used.",
|
|
13086
|
+
"title": "Input",
|
|
12667
13087
|
"type": "integer"
|
|
12668
13088
|
},
|
|
12669
|
-
"
|
|
12670
|
-
"description": "The model
|
|
12671
|
-
"title": "Model
|
|
13089
|
+
"model": {
|
|
13090
|
+
"description": "The model that used these tokens.",
|
|
13091
|
+
"title": "Model",
|
|
12672
13092
|
"type": "string"
|
|
12673
13093
|
},
|
|
12674
|
-
"
|
|
12675
|
-
"
|
|
12676
|
-
"
|
|
13094
|
+
"output": {
|
|
13095
|
+
"default": 0,
|
|
13096
|
+
"description": "Output tokens used.",
|
|
13097
|
+
"title": "Output",
|
|
13098
|
+
"type": "integer"
|
|
13099
|
+
},
|
|
13100
|
+
"total": {
|
|
13101
|
+
"default": 0,
|
|
13102
|
+
"description": "All tokens used, including prompt cache reads and writes. Token cost is priced on this.",
|
|
13103
|
+
"title": "Total",
|
|
12677
13104
|
"type": "integer"
|
|
12678
13105
|
}
|
|
12679
13106
|
},
|
|
12680
13107
|
"required": [
|
|
12681
|
-
"
|
|
12682
|
-
"
|
|
12683
|
-
"
|
|
12684
|
-
"
|
|
12685
|
-
"
|
|
12686
|
-
"
|
|
13108
|
+
"cache_creation",
|
|
13109
|
+
"cache_read",
|
|
13110
|
+
"input",
|
|
13111
|
+
"model",
|
|
13112
|
+
"output",
|
|
13113
|
+
"total"
|
|
12687
13114
|
],
|
|
12688
|
-
"title": "
|
|
13115
|
+
"title": "ModelTokenCounts",
|
|
12689
13116
|
"type": "object"
|
|
12690
13117
|
},
|
|
12691
13118
|
"ModelsListResponse": {
|
|
@@ -12973,6 +13400,7 @@
|
|
|
12973
13400
|
"message_requeued": "#/components/schemas/MessageRequeuedRecord",
|
|
12974
13401
|
"session_closed": "#/components/schemas/SessionClosedRecord",
|
|
12975
13402
|
"turn_ended": "#/components/schemas/TurnEndedRecord",
|
|
13403
|
+
"turn_queued": "#/components/schemas/TurnQueuedRecord",
|
|
12976
13404
|
"turn_started": "#/components/schemas/TurnStartedRecord"
|
|
12977
13405
|
},
|
|
12978
13406
|
"propertyName": "record_type"
|
|
@@ -12990,6 +13418,9 @@
|
|
|
12990
13418
|
{
|
|
12991
13419
|
"$ref": "#/components/schemas/MessageRequeuedRecord"
|
|
12992
13420
|
},
|
|
13421
|
+
{
|
|
13422
|
+
"$ref": "#/components/schemas/TurnQueuedRecord"
|
|
13423
|
+
},
|
|
12993
13424
|
{
|
|
12994
13425
|
"$ref": "#/components/schemas/TurnStartedRecord"
|
|
12995
13426
|
},
|
|
@@ -13047,30 +13478,30 @@
|
|
|
13047
13478
|
"type": "string"
|
|
13048
13479
|
},
|
|
13049
13480
|
"PublicFeeSchedule": {
|
|
13050
|
-
"description": "Rates in
|
|
13481
|
+
"description": "Rates in millicents. purchase_fee_fraction is a fraction, for example 0.10.",
|
|
13051
13482
|
"properties": {
|
|
13052
|
-
"
|
|
13053
|
-
"title": "Cpu
|
|
13054
|
-
"type": "
|
|
13483
|
+
"cpu_per_core_hour": {
|
|
13484
|
+
"title": "Cpu Per Core Hour",
|
|
13485
|
+
"type": "integer"
|
|
13055
13486
|
},
|
|
13056
|
-
"
|
|
13057
|
-
"title": "Memory
|
|
13058
|
-
"type": "
|
|
13487
|
+
"memory_per_gib_hour": {
|
|
13488
|
+
"title": "Memory Per Gib Hour",
|
|
13489
|
+
"type": "integer"
|
|
13059
13490
|
},
|
|
13060
13491
|
"purchase_fee_fraction": {
|
|
13061
13492
|
"title": "Purchase Fee Fraction",
|
|
13062
13493
|
"type": "number"
|
|
13063
13494
|
},
|
|
13064
|
-
"
|
|
13065
|
-
"title": "Signup Credit
|
|
13066
|
-
"type": "
|
|
13495
|
+
"signup_credit": {
|
|
13496
|
+
"title": "Signup Credit",
|
|
13497
|
+
"type": "integer"
|
|
13067
13498
|
}
|
|
13068
13499
|
},
|
|
13069
13500
|
"required": [
|
|
13070
|
-
"
|
|
13501
|
+
"signup_credit",
|
|
13071
13502
|
"purchase_fee_fraction",
|
|
13072
|
-
"
|
|
13073
|
-
"
|
|
13503
|
+
"cpu_per_core_hour",
|
|
13504
|
+
"memory_per_gib_hour"
|
|
13074
13505
|
],
|
|
13075
13506
|
"title": "PublicFeeSchedule",
|
|
13076
13507
|
"type": "object"
|
|
@@ -13373,7 +13804,7 @@
|
|
|
13373
13804
|
},
|
|
13374
13805
|
"ReactCheckRun-Input": {
|
|
13375
13806
|
"additionalProperties": false,
|
|
13376
|
-
"description": "A
|
|
13807
|
+
"description": "A check run changing state on a commit. A check run is a GitHub Actions job or a check another CI app reports. `on` lists the states that fire. `names` matches check names exactly or by a prefix ending in `*`. `branch` is the branch the check ran on. `for` is the author of the commit the check ran on. Needs the Checks permission.",
|
|
13377
13808
|
"properties": {
|
|
13378
13809
|
"branch": {
|
|
13379
13810
|
"items": {
|
|
@@ -13408,7 +13839,7 @@
|
|
|
13408
13839
|
},
|
|
13409
13840
|
"ReactCheckRun-Output": {
|
|
13410
13841
|
"additionalProperties": false,
|
|
13411
|
-
"description": "A
|
|
13842
|
+
"description": "A check run changing state on a commit. A check run is a GitHub Actions job or a check another CI app reports. `on` lists the states that fire. `names` matches check names exactly or by a prefix ending in `*`. `branch` is the branch the check ran on. `for` is the author of the commit the check ran on. Needs the Checks permission.",
|
|
13412
13843
|
"properties": {
|
|
13413
13844
|
"branch": {
|
|
13414
13845
|
"default": [],
|
|
@@ -13453,6 +13884,88 @@
|
|
|
13453
13884
|
"title": "ReactCheckRun",
|
|
13454
13885
|
"type": "object"
|
|
13455
13886
|
},
|
|
13887
|
+
"ReactCheckSuite-Input": {
|
|
13888
|
+
"additionalProperties": false,
|
|
13889
|
+
"description": "Every check one CI app reported on a commit finishing. GitHub reports a check suite only when it finishes, so `on` takes only finished states. `apps` matches the reporting app slug, such as `github-actions`, exactly or by a prefix ending in `*`. `branch` and `for` work as on `check_run`. Needs the Checks permission.",
|
|
13890
|
+
"properties": {
|
|
13891
|
+
"apps": {
|
|
13892
|
+
"items": {
|
|
13893
|
+
"type": "string"
|
|
13894
|
+
},
|
|
13895
|
+
"title": "Apps",
|
|
13896
|
+
"type": "array"
|
|
13897
|
+
},
|
|
13898
|
+
"branch": {
|
|
13899
|
+
"items": {
|
|
13900
|
+
"type": "string"
|
|
13901
|
+
},
|
|
13902
|
+
"title": "Branch",
|
|
13903
|
+
"type": "array"
|
|
13904
|
+
},
|
|
13905
|
+
"for": {
|
|
13906
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Input"
|
|
13907
|
+
},
|
|
13908
|
+
"on": {
|
|
13909
|
+
"items": {
|
|
13910
|
+
"$ref": "#/components/schemas/CheckSuiteAction"
|
|
13911
|
+
},
|
|
13912
|
+
"title": "On",
|
|
13913
|
+
"type": "array"
|
|
13914
|
+
},
|
|
13915
|
+
"repositories": {
|
|
13916
|
+
"$ref": "#/components/schemas/RepositoryFilter-Input"
|
|
13917
|
+
}
|
|
13918
|
+
},
|
|
13919
|
+
"title": "ReactCheckSuite",
|
|
13920
|
+
"type": "object"
|
|
13921
|
+
},
|
|
13922
|
+
"ReactCheckSuite-Output": {
|
|
13923
|
+
"additionalProperties": false,
|
|
13924
|
+
"description": "Every check one CI app reported on a commit finishing. GitHub reports a check suite only when it finishes, so `on` takes only finished states. `apps` matches the reporting app slug, such as `github-actions`, exactly or by a prefix ending in `*`. `branch` and `for` work as on `check_run`. Needs the Checks permission.",
|
|
13925
|
+
"properties": {
|
|
13926
|
+
"apps": {
|
|
13927
|
+
"default": [],
|
|
13928
|
+
"items": {
|
|
13929
|
+
"type": "string"
|
|
13930
|
+
},
|
|
13931
|
+
"title": "Apps",
|
|
13932
|
+
"type": "array"
|
|
13933
|
+
},
|
|
13934
|
+
"branch": {
|
|
13935
|
+
"default": [],
|
|
13936
|
+
"items": {
|
|
13937
|
+
"type": "string"
|
|
13938
|
+
},
|
|
13939
|
+
"title": "Branch",
|
|
13940
|
+
"type": "array"
|
|
13941
|
+
},
|
|
13942
|
+
"for": {
|
|
13943
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Output"
|
|
13944
|
+
},
|
|
13945
|
+
"on": {
|
|
13946
|
+
"default": [
|
|
13947
|
+
"failed"
|
|
13948
|
+
],
|
|
13949
|
+
"items": {
|
|
13950
|
+
"$ref": "#/components/schemas/CheckSuiteAction"
|
|
13951
|
+
},
|
|
13952
|
+
"title": "On",
|
|
13953
|
+
"type": "array"
|
|
13954
|
+
},
|
|
13955
|
+
"repositories": {
|
|
13956
|
+
"$ref": "#/components/schemas/RepositoryFilter-Output"
|
|
13957
|
+
}
|
|
13958
|
+
},
|
|
13959
|
+
"required": [
|
|
13960
|
+
"apps",
|
|
13961
|
+
"branch",
|
|
13962
|
+
"for",
|
|
13963
|
+
"on",
|
|
13964
|
+
"repositories"
|
|
13965
|
+
],
|
|
13966
|
+
"title": "ReactCheckSuite",
|
|
13967
|
+
"type": "object"
|
|
13968
|
+
},
|
|
13456
13969
|
"ReactIssue-Input": {
|
|
13457
13970
|
"additionalProperties": false,
|
|
13458
13971
|
"properties": {
|
|
@@ -13900,6 +14413,88 @@
|
|
|
13900
14413
|
"title": "ReactSlackChannel",
|
|
13901
14414
|
"type": "object"
|
|
13902
14415
|
},
|
|
14416
|
+
"ReactStatus-Input": {
|
|
14417
|
+
"additionalProperties": false,
|
|
14418
|
+
"description": "A commit status changing state, from CI that posts statuses instead of checks. `names` matches status contexts exactly or by a prefix ending in `*`. `branch` matches when any branch GitHub lists for the commit matches. `for` works as on `check_run`. Needs the Commit statuses permission.",
|
|
14419
|
+
"properties": {
|
|
14420
|
+
"branch": {
|
|
14421
|
+
"items": {
|
|
14422
|
+
"type": "string"
|
|
14423
|
+
},
|
|
14424
|
+
"title": "Branch",
|
|
14425
|
+
"type": "array"
|
|
14426
|
+
},
|
|
14427
|
+
"for": {
|
|
14428
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Input"
|
|
14429
|
+
},
|
|
14430
|
+
"names": {
|
|
14431
|
+
"items": {
|
|
14432
|
+
"type": "string"
|
|
14433
|
+
},
|
|
14434
|
+
"title": "Names",
|
|
14435
|
+
"type": "array"
|
|
14436
|
+
},
|
|
14437
|
+
"on": {
|
|
14438
|
+
"items": {
|
|
14439
|
+
"$ref": "#/components/schemas/StatusAction"
|
|
14440
|
+
},
|
|
14441
|
+
"title": "On",
|
|
14442
|
+
"type": "array"
|
|
14443
|
+
},
|
|
14444
|
+
"repositories": {
|
|
14445
|
+
"$ref": "#/components/schemas/RepositoryFilter-Input"
|
|
14446
|
+
}
|
|
14447
|
+
},
|
|
14448
|
+
"title": "ReactStatus",
|
|
14449
|
+
"type": "object"
|
|
14450
|
+
},
|
|
14451
|
+
"ReactStatus-Output": {
|
|
14452
|
+
"additionalProperties": false,
|
|
14453
|
+
"description": "A commit status changing state, from CI that posts statuses instead of checks. `names` matches status contexts exactly or by a prefix ending in `*`. `branch` matches when any branch GitHub lists for the commit matches. `for` works as on `check_run`. Needs the Commit statuses permission.",
|
|
14454
|
+
"properties": {
|
|
14455
|
+
"branch": {
|
|
14456
|
+
"default": [],
|
|
14457
|
+
"items": {
|
|
14458
|
+
"type": "string"
|
|
14459
|
+
},
|
|
14460
|
+
"title": "Branch",
|
|
14461
|
+
"type": "array"
|
|
14462
|
+
},
|
|
14463
|
+
"for": {
|
|
14464
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Output"
|
|
14465
|
+
},
|
|
14466
|
+
"names": {
|
|
14467
|
+
"default": [],
|
|
14468
|
+
"items": {
|
|
14469
|
+
"type": "string"
|
|
14470
|
+
},
|
|
14471
|
+
"title": "Names",
|
|
14472
|
+
"type": "array"
|
|
14473
|
+
},
|
|
14474
|
+
"on": {
|
|
14475
|
+
"default": [
|
|
14476
|
+
"failed"
|
|
14477
|
+
],
|
|
14478
|
+
"items": {
|
|
14479
|
+
"$ref": "#/components/schemas/StatusAction"
|
|
14480
|
+
},
|
|
14481
|
+
"title": "On",
|
|
14482
|
+
"type": "array"
|
|
14483
|
+
},
|
|
14484
|
+
"repositories": {
|
|
14485
|
+
"$ref": "#/components/schemas/RepositoryFilter-Output"
|
|
14486
|
+
}
|
|
14487
|
+
},
|
|
14488
|
+
"required": [
|
|
14489
|
+
"branch",
|
|
14490
|
+
"for",
|
|
14491
|
+
"names",
|
|
14492
|
+
"on",
|
|
14493
|
+
"repositories"
|
|
14494
|
+
],
|
|
14495
|
+
"title": "ReactStatus",
|
|
14496
|
+
"type": "object"
|
|
14497
|
+
},
|
|
13903
14498
|
"ReactTrigger-Input": {
|
|
13904
14499
|
"additionalProperties": false,
|
|
13905
14500
|
"description": "An event trigger: exactly one surface block names the events to match.\n\n`enabled: false` pauses the trigger and keeps its definition: events stop\nmatching while the agent stays live for on-demand starts and open\nsessions keep taking follow-ups (`ellipsis.enabled: false` pauses the\nwhole file instead).",
|
|
@@ -13914,6 +14509,16 @@
|
|
|
13914
14509
|
}
|
|
13915
14510
|
]
|
|
13916
14511
|
},
|
|
14512
|
+
"check_suite": {
|
|
14513
|
+
"anyOf": [
|
|
14514
|
+
{
|
|
14515
|
+
"$ref": "#/components/schemas/ReactCheckSuite-Input"
|
|
14516
|
+
},
|
|
14517
|
+
{
|
|
14518
|
+
"type": "null"
|
|
14519
|
+
}
|
|
14520
|
+
]
|
|
14521
|
+
},
|
|
13917
14522
|
"enabled": {
|
|
13918
14523
|
"title": "Enabled",
|
|
13919
14524
|
"type": "boolean"
|
|
@@ -13988,11 +14593,31 @@
|
|
|
13988
14593
|
}
|
|
13989
14594
|
]
|
|
13990
14595
|
},
|
|
14596
|
+
"status": {
|
|
14597
|
+
"anyOf": [
|
|
14598
|
+
{
|
|
14599
|
+
"$ref": "#/components/schemas/ReactStatus-Input"
|
|
14600
|
+
},
|
|
14601
|
+
{
|
|
14602
|
+
"type": "null"
|
|
14603
|
+
}
|
|
14604
|
+
]
|
|
14605
|
+
},
|
|
13991
14606
|
"type": {
|
|
13992
14607
|
"const": "react",
|
|
13993
14608
|
"default": "react",
|
|
13994
14609
|
"title": "Type",
|
|
13995
14610
|
"type": "string"
|
|
14611
|
+
},
|
|
14612
|
+
"workflow_run": {
|
|
14613
|
+
"anyOf": [
|
|
14614
|
+
{
|
|
14615
|
+
"$ref": "#/components/schemas/ReactWorkflowRun-Input"
|
|
14616
|
+
},
|
|
14617
|
+
{
|
|
14618
|
+
"type": "null"
|
|
14619
|
+
}
|
|
14620
|
+
]
|
|
13996
14621
|
}
|
|
13997
14622
|
},
|
|
13998
14623
|
"title": "ReactTrigger",
|
|
@@ -14012,6 +14637,16 @@
|
|
|
14012
14637
|
}
|
|
14013
14638
|
]
|
|
14014
14639
|
},
|
|
14640
|
+
"check_suite": {
|
|
14641
|
+
"anyOf": [
|
|
14642
|
+
{
|
|
14643
|
+
"$ref": "#/components/schemas/ReactCheckSuite-Output"
|
|
14644
|
+
},
|
|
14645
|
+
{
|
|
14646
|
+
"type": "null"
|
|
14647
|
+
}
|
|
14648
|
+
]
|
|
14649
|
+
},
|
|
14015
14650
|
"enabled": {
|
|
14016
14651
|
"default": true,
|
|
14017
14652
|
"title": "Enabled",
|
|
@@ -14087,15 +14722,36 @@
|
|
|
14087
14722
|
}
|
|
14088
14723
|
]
|
|
14089
14724
|
},
|
|
14725
|
+
"status": {
|
|
14726
|
+
"anyOf": [
|
|
14727
|
+
{
|
|
14728
|
+
"$ref": "#/components/schemas/ReactStatus-Output"
|
|
14729
|
+
},
|
|
14730
|
+
{
|
|
14731
|
+
"type": "null"
|
|
14732
|
+
}
|
|
14733
|
+
]
|
|
14734
|
+
},
|
|
14090
14735
|
"type": {
|
|
14091
14736
|
"const": "react",
|
|
14092
14737
|
"default": "react",
|
|
14093
14738
|
"title": "Type",
|
|
14094
14739
|
"type": "string"
|
|
14740
|
+
},
|
|
14741
|
+
"workflow_run": {
|
|
14742
|
+
"anyOf": [
|
|
14743
|
+
{
|
|
14744
|
+
"$ref": "#/components/schemas/ReactWorkflowRun-Output"
|
|
14745
|
+
},
|
|
14746
|
+
{
|
|
14747
|
+
"type": "null"
|
|
14748
|
+
}
|
|
14749
|
+
]
|
|
14095
14750
|
}
|
|
14096
14751
|
},
|
|
14097
14752
|
"required": [
|
|
14098
14753
|
"check_run",
|
|
14754
|
+
"check_suite",
|
|
14099
14755
|
"enabled",
|
|
14100
14756
|
"issue",
|
|
14101
14757
|
"linear_issue",
|
|
@@ -14104,11 +14760,95 @@
|
|
|
14104
14760
|
"release",
|
|
14105
14761
|
"sentry",
|
|
14106
14762
|
"slack_channel",
|
|
14107
|
-
"
|
|
14763
|
+
"status",
|
|
14764
|
+
"type",
|
|
14765
|
+
"workflow_run"
|
|
14108
14766
|
],
|
|
14109
14767
|
"title": "ReactTrigger",
|
|
14110
14768
|
"type": "object"
|
|
14111
14769
|
},
|
|
14770
|
+
"ReactWorkflowRun-Input": {
|
|
14771
|
+
"additionalProperties": false,
|
|
14772
|
+
"description": "A GitHub Actions workflow run changing state. `names` matches workflow names exactly or by a prefix ending in `*`. `branch` is the branch the run is for. `for` works as on `check_run`. Needs the Actions permission.",
|
|
14773
|
+
"properties": {
|
|
14774
|
+
"branch": {
|
|
14775
|
+
"items": {
|
|
14776
|
+
"type": "string"
|
|
14777
|
+
},
|
|
14778
|
+
"title": "Branch",
|
|
14779
|
+
"type": "array"
|
|
14780
|
+
},
|
|
14781
|
+
"for": {
|
|
14782
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Input"
|
|
14783
|
+
},
|
|
14784
|
+
"names": {
|
|
14785
|
+
"items": {
|
|
14786
|
+
"type": "string"
|
|
14787
|
+
},
|
|
14788
|
+
"title": "Names",
|
|
14789
|
+
"type": "array"
|
|
14790
|
+
},
|
|
14791
|
+
"on": {
|
|
14792
|
+
"items": {
|
|
14793
|
+
"$ref": "#/components/schemas/WorkflowRunAction"
|
|
14794
|
+
},
|
|
14795
|
+
"title": "On",
|
|
14796
|
+
"type": "array"
|
|
14797
|
+
},
|
|
14798
|
+
"repositories": {
|
|
14799
|
+
"$ref": "#/components/schemas/RepositoryFilter-Input"
|
|
14800
|
+
}
|
|
14801
|
+
},
|
|
14802
|
+
"title": "ReactWorkflowRun",
|
|
14803
|
+
"type": "object"
|
|
14804
|
+
},
|
|
14805
|
+
"ReactWorkflowRun-Output": {
|
|
14806
|
+
"additionalProperties": false,
|
|
14807
|
+
"description": "A GitHub Actions workflow run changing state. `names` matches workflow names exactly or by a prefix ending in `*`. `branch` is the branch the run is for. `for` works as on `check_run`. Needs the Actions permission.",
|
|
14808
|
+
"properties": {
|
|
14809
|
+
"branch": {
|
|
14810
|
+
"default": [],
|
|
14811
|
+
"items": {
|
|
14812
|
+
"type": "string"
|
|
14813
|
+
},
|
|
14814
|
+
"title": "Branch",
|
|
14815
|
+
"type": "array"
|
|
14816
|
+
},
|
|
14817
|
+
"for": {
|
|
14818
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Output"
|
|
14819
|
+
},
|
|
14820
|
+
"names": {
|
|
14821
|
+
"default": [],
|
|
14822
|
+
"items": {
|
|
14823
|
+
"type": "string"
|
|
14824
|
+
},
|
|
14825
|
+
"title": "Names",
|
|
14826
|
+
"type": "array"
|
|
14827
|
+
},
|
|
14828
|
+
"on": {
|
|
14829
|
+
"default": [
|
|
14830
|
+
"failed"
|
|
14831
|
+
],
|
|
14832
|
+
"items": {
|
|
14833
|
+
"$ref": "#/components/schemas/WorkflowRunAction"
|
|
14834
|
+
},
|
|
14835
|
+
"title": "On",
|
|
14836
|
+
"type": "array"
|
|
14837
|
+
},
|
|
14838
|
+
"repositories": {
|
|
14839
|
+
"$ref": "#/components/schemas/RepositoryFilter-Output"
|
|
14840
|
+
}
|
|
14841
|
+
},
|
|
14842
|
+
"required": [
|
|
14843
|
+
"branch",
|
|
14844
|
+
"for",
|
|
14845
|
+
"names",
|
|
14846
|
+
"on",
|
|
14847
|
+
"repositories"
|
|
14848
|
+
],
|
|
14849
|
+
"title": "ReactWorkflowRun",
|
|
14850
|
+
"type": "object"
|
|
14851
|
+
},
|
|
14112
14852
|
"RecentPullRequest": {
|
|
14113
14853
|
"description": "One pull request in the recent-activity table.",
|
|
14114
14854
|
"properties": {
|
|
@@ -14479,9 +15219,9 @@
|
|
|
14479
15219
|
"type": "string"
|
|
14480
15220
|
},
|
|
14481
15221
|
"budget": {
|
|
14482
|
-
"description": "The reviewer sessions' spend budgets together, in
|
|
15222
|
+
"description": "The reviewer sessions' spend budgets together, in millicents.",
|
|
14483
15223
|
"title": "Budget",
|
|
14484
|
-
"type": "
|
|
15224
|
+
"type": "integer"
|
|
14485
15225
|
},
|
|
14486
15226
|
"comments": {
|
|
14487
15227
|
"items": {
|
|
@@ -14491,9 +15231,8 @@
|
|
|
14491
15231
|
"type": "array"
|
|
14492
15232
|
},
|
|
14493
15233
|
"cost": {
|
|
14494
|
-
"
|
|
14495
|
-
"
|
|
14496
|
-
"type": "integer"
|
|
15234
|
+
"$ref": "#/components/schemas/Cost",
|
|
15235
|
+
"description": "What the reviewer sessions cost together."
|
|
14497
15236
|
},
|
|
14498
15237
|
"created_at": {
|
|
14499
15238
|
"format": "date-time",
|
|
@@ -14578,9 +15317,8 @@
|
|
|
14578
15317
|
"description": "running: reviewers are working. posted: one GitHub review was posted. empty: the review passed silently, so nothing was posted. failed: no reviewer finished or GitHub refused the review."
|
|
14579
15318
|
},
|
|
14580
15319
|
"tokens": {
|
|
14581
|
-
"
|
|
14582
|
-
"
|
|
14583
|
-
"type": "integer"
|
|
15320
|
+
"$ref": "#/components/schemas/Tokens",
|
|
15321
|
+
"description": "Tokens the reviewer sessions used together."
|
|
14584
15322
|
}
|
|
14585
15323
|
},
|
|
14586
15324
|
"required": [
|
|
@@ -14874,6 +15612,25 @@
|
|
|
14874
15612
|
"title": "ReviewCommentListItem",
|
|
14875
15613
|
"type": "object"
|
|
14876
15614
|
},
|
|
15615
|
+
"ReviewComments": {
|
|
15616
|
+
"additionalProperties": false,
|
|
15617
|
+
"properties": {
|
|
15618
|
+
"max_per_review": {
|
|
15619
|
+
"default": 64,
|
|
15620
|
+
"minimum": 1.0,
|
|
15621
|
+
"title": "Max Per Review",
|
|
15622
|
+
"type": "integer"
|
|
15623
|
+
},
|
|
15624
|
+
"max_per_reviewer": {
|
|
15625
|
+
"default": 64,
|
|
15626
|
+
"minimum": 1.0,
|
|
15627
|
+
"title": "Max Per Reviewer",
|
|
15628
|
+
"type": "integer"
|
|
15629
|
+
}
|
|
15630
|
+
},
|
|
15631
|
+
"title": "ReviewComments",
|
|
15632
|
+
"type": "object"
|
|
15633
|
+
},
|
|
14877
15634
|
"ReviewConfig": {
|
|
14878
15635
|
"description": "A code review config: a kind: code_review file synced from a\nrepository, plus the state of that sync. Every pull request push in a\nrepository the file covers runs its reviewers. An explicit field allowlist\nover the internal saved config, the same way Agent projects a saved agent.",
|
|
14879
15636
|
"properties": {
|
|
@@ -14939,6 +15696,11 @@
|
|
|
14939
15696
|
"description": "The display name from the file's ellipsis.name, or null when the file sets none.",
|
|
14940
15697
|
"title": "Name"
|
|
14941
15698
|
},
|
|
15699
|
+
"raw_yaml": {
|
|
15700
|
+
"description": "The config's YAML file as written. A failed sync keeps the last valid YAML.",
|
|
15701
|
+
"title": "Raw Yaml",
|
|
15702
|
+
"type": "string"
|
|
15703
|
+
},
|
|
14942
15704
|
"sha": {
|
|
14943
15705
|
"description": "The config's content identity: it changes with every edit that changes how reviews run.",
|
|
14944
15706
|
"title": "Sha",
|
|
@@ -14961,6 +15723,7 @@
|
|
|
14961
15723
|
"created_at",
|
|
14962
15724
|
"updated_at",
|
|
14963
15725
|
"config",
|
|
15726
|
+
"raw_yaml",
|
|
14964
15727
|
"source_details"
|
|
14965
15728
|
],
|
|
14966
15729
|
"title": "ReviewConfig",
|
|
@@ -15105,8 +15868,15 @@
|
|
|
15105
15868
|
},
|
|
15106
15869
|
"ReviewOutputConfig": {
|
|
15107
15870
|
"additionalProperties": false,
|
|
15108
|
-
"description": "What the posted review is. A review passes when no reviewer returned a\nblocking comment and fails otherwise; the pass and fail events are the\nGitHub review the platform submits in each case. `summary` asks every\nreviewer for the text the body opens with.",
|
|
15871
|
+
"description": "What the posted review is. A review passes when no reviewer returned a\nblocking comment and fails otherwise; the pass and fail events are the\nGitHub review the platform submits in each case. `summary` asks every\nreviewer for the text the body opens with. `comments` caps the comments\none review posts and each reviewer returns; a reviewer's own\n`comments.max` wins over `comments.max_per_reviewer`.",
|
|
15109
15872
|
"properties": {
|
|
15873
|
+
"comments": {
|
|
15874
|
+
"$ref": "#/components/schemas/ReviewComments",
|
|
15875
|
+
"default": {
|
|
15876
|
+
"max_per_review": 64,
|
|
15877
|
+
"max_per_reviewer": 64
|
|
15878
|
+
}
|
|
15879
|
+
},
|
|
15110
15880
|
"on_fail": {
|
|
15111
15881
|
"default": "comment",
|
|
15112
15882
|
"enum": [
|
|
@@ -15557,6 +16327,10 @@
|
|
|
15557
16327
|
],
|
|
15558
16328
|
"description": "Codex input and native options. Set exactly one of claude_code or codex."
|
|
15559
16329
|
},
|
|
16330
|
+
"comments": {
|
|
16331
|
+
"$ref": "#/components/schemas/ReviewerComments",
|
|
16332
|
+
"default": {}
|
|
16333
|
+
},
|
|
15560
16334
|
"environment": {
|
|
15561
16335
|
"anyOf": [
|
|
15562
16336
|
{
|
|
@@ -15609,6 +16383,25 @@
|
|
|
15609
16383
|
"title": "Reviewer",
|
|
15610
16384
|
"type": "object"
|
|
15611
16385
|
},
|
|
16386
|
+
"ReviewerComments": {
|
|
16387
|
+
"additionalProperties": false,
|
|
16388
|
+
"properties": {
|
|
16389
|
+
"max": {
|
|
16390
|
+
"anyOf": [
|
|
16391
|
+
{
|
|
16392
|
+
"minimum": 1.0,
|
|
16393
|
+
"type": "integer"
|
|
16394
|
+
},
|
|
16395
|
+
{
|
|
16396
|
+
"type": "null"
|
|
16397
|
+
}
|
|
16398
|
+
],
|
|
16399
|
+
"title": "Max"
|
|
16400
|
+
}
|
|
16401
|
+
},
|
|
16402
|
+
"title": "ReviewerComments",
|
|
16403
|
+
"type": "object"
|
|
16404
|
+
},
|
|
15612
16405
|
"ReviewerUsage": {
|
|
15613
16406
|
"description": "A person who reviewed pull requests in the window.",
|
|
15614
16407
|
"properties": {
|
|
@@ -16932,9 +17725,9 @@
|
|
|
16932
17725
|
},
|
|
16933
17726
|
"budget": {
|
|
16934
17727
|
"default": 0,
|
|
16935
|
-
"description": "The spend budget enforced for this session, in
|
|
17728
|
+
"description": "The spend budget enforced for this session, in millicents, after resolving defaults and ceilings.",
|
|
16936
17729
|
"title": "Budget",
|
|
16937
|
-
"type": "
|
|
17730
|
+
"type": "integer"
|
|
16938
17731
|
},
|
|
16939
17732
|
"claude_code": {
|
|
16940
17733
|
"anyOf": [
|
|
@@ -16963,8 +17756,8 @@
|
|
|
16963
17756
|
"description": "Whether the session can take more messages, and whether an agent is warm to answer one."
|
|
16964
17757
|
},
|
|
16965
17758
|
"cost": {
|
|
16966
|
-
"$ref": "#/components/schemas/
|
|
16967
|
-
"description": "What the session has cost so far
|
|
17759
|
+
"$ref": "#/components/schemas/Cost",
|
|
17760
|
+
"description": "What the session has cost so far."
|
|
16968
17761
|
},
|
|
16969
17762
|
"created_at": {
|
|
16970
17763
|
"description": "When the session was created.",
|
|
@@ -16982,10 +17775,13 @@
|
|
|
16982
17775
|
"discriminator": {
|
|
16983
17776
|
"mapping": {
|
|
16984
17777
|
"github.check_run": "#/components/schemas/GithubCheckRunEvent",
|
|
17778
|
+
"github.check_suite": "#/components/schemas/GithubCheckSuiteEvent",
|
|
16985
17779
|
"github.issue": "#/components/schemas/GithubIssueEvent",
|
|
16986
17780
|
"github.pull_request": "#/components/schemas/GithubPullRequestEvent",
|
|
16987
17781
|
"github.push": "#/components/schemas/GithubPushEvent",
|
|
16988
17782
|
"github.release": "#/components/schemas/GithubReleaseEvent",
|
|
17783
|
+
"github.status": "#/components/schemas/GithubStatusEvent",
|
|
17784
|
+
"github.workflow_run": "#/components/schemas/GithubWorkflowRunEvent",
|
|
16989
17785
|
"linear.issue": "#/components/schemas/LinearIssueEvent",
|
|
16990
17786
|
"sentry.alert": "#/components/schemas/SentryAlertEvent",
|
|
16991
17787
|
"slack.channel_created": "#/components/schemas/SlackChannelCreatedEvent",
|
|
@@ -17006,6 +17802,15 @@
|
|
|
17006
17802
|
{
|
|
17007
17803
|
"$ref": "#/components/schemas/GithubCheckRunEvent"
|
|
17008
17804
|
},
|
|
17805
|
+
{
|
|
17806
|
+
"$ref": "#/components/schemas/GithubCheckSuiteEvent"
|
|
17807
|
+
},
|
|
17808
|
+
{
|
|
17809
|
+
"$ref": "#/components/schemas/GithubWorkflowRunEvent"
|
|
17810
|
+
},
|
|
17811
|
+
{
|
|
17812
|
+
"$ref": "#/components/schemas/GithubStatusEvent"
|
|
17813
|
+
},
|
|
17009
17814
|
{
|
|
17010
17815
|
"$ref": "#/components/schemas/GithubReleaseEvent"
|
|
17011
17816
|
},
|
|
@@ -17116,8 +17921,8 @@
|
|
|
17116
17921
|
"description": "The latest live summary of the session's progress while it runs, and when it was generated."
|
|
17117
17922
|
},
|
|
17118
17923
|
"tokens": {
|
|
17119
|
-
"$ref": "#/components/schemas/
|
|
17120
|
-
"description": "The tokens the session
|
|
17924
|
+
"$ref": "#/components/schemas/Tokens",
|
|
17925
|
+
"description": "The tokens the session has used so far."
|
|
17121
17926
|
},
|
|
17122
17927
|
"turn": {
|
|
17123
17928
|
"anyOf": [
|
|
@@ -17216,12 +18021,8 @@
|
|
|
17216
18021
|
"title": "Bucket Seconds",
|
|
17217
18022
|
"type": "integer"
|
|
17218
18023
|
},
|
|
17219
|
-
"
|
|
17220
|
-
"title": "Charged
|
|
17221
|
-
"type": "integer"
|
|
17222
|
-
},
|
|
17223
|
-
"external_token_value_millicents": {
|
|
17224
|
-
"title": "External Token Value Millicents",
|
|
18024
|
+
"charged": {
|
|
18025
|
+
"title": "Charged",
|
|
17225
18026
|
"type": "integer"
|
|
17226
18027
|
},
|
|
17227
18028
|
"historical_entries": {
|
|
@@ -17270,8 +18071,7 @@
|
|
|
17270
18071
|
"historical_entries",
|
|
17271
18072
|
"pending_requests",
|
|
17272
18073
|
"unresolved_requests",
|
|
17273
|
-
"
|
|
17274
|
-
"external_token_value_millicents",
|
|
18074
|
+
"charged",
|
|
17275
18075
|
"bucket_seconds",
|
|
17276
18076
|
"series",
|
|
17277
18077
|
"spend",
|
|
@@ -17359,24 +18159,24 @@
|
|
|
17359
18159
|
},
|
|
17360
18160
|
"SessionBudgetDefault": {
|
|
17361
18161
|
"properties": {
|
|
17362
|
-
"
|
|
17363
|
-
"title": "Budget
|
|
17364
|
-
"type": "
|
|
18162
|
+
"budget": {
|
|
18163
|
+
"title": "Budget",
|
|
18164
|
+
"type": "integer"
|
|
17365
18165
|
},
|
|
17366
|
-
"
|
|
18166
|
+
"ceiling": {
|
|
17367
18167
|
"description": "Current effective session ceiling from /account/settings.",
|
|
17368
|
-
"title": "Ceiling
|
|
17369
|
-
"type": "
|
|
18168
|
+
"title": "Ceiling",
|
|
18169
|
+
"type": "integer"
|
|
17370
18170
|
},
|
|
17371
|
-
"
|
|
17372
|
-
"title": "Platform Max
|
|
17373
|
-
"type": "
|
|
18171
|
+
"platform_max": {
|
|
18172
|
+
"title": "Platform Max",
|
|
18173
|
+
"type": "integer"
|
|
17374
18174
|
}
|
|
17375
18175
|
},
|
|
17376
18176
|
"required": [
|
|
17377
|
-
"
|
|
17378
|
-
"
|
|
17379
|
-
"
|
|
18177
|
+
"budget",
|
|
18178
|
+
"platform_max",
|
|
18179
|
+
"ceiling"
|
|
17380
18180
|
],
|
|
17381
18181
|
"title": "SessionBudgetDefault",
|
|
17382
18182
|
"type": "object"
|
|
@@ -17868,54 +18668,10 @@
|
|
|
17868
18668
|
"title": "SessionConversationConfig",
|
|
17869
18669
|
"type": "object"
|
|
17870
18670
|
},
|
|
17871
|
-
"SessionCost": {
|
|
17872
|
-
"description": "What a session (or one turn of it) cost, in millicents.\n\n`llm` is deliberately NOT called `tokens`: it would sit beside the `tokens`\nobject and read as \"the token count's cost\" rather than \"the cost of the\nLLM leg\".",
|
|
17873
|
-
"properties": {
|
|
17874
|
-
"cpu": {
|
|
17875
|
-
"default": 0,
|
|
17876
|
-
"description": "CPU spend in millicents.",
|
|
17877
|
-
"title": "Cpu",
|
|
17878
|
-
"type": "integer"
|
|
17879
|
-
},
|
|
17880
|
-
"fee": {
|
|
17881
|
-
"default": 0,
|
|
17882
|
-
"description": "Platform fee in millicents.",
|
|
17883
|
-
"title": "Fee",
|
|
17884
|
-
"type": "integer"
|
|
17885
|
-
},
|
|
17886
|
-
"llm": {
|
|
17887
|
-
"default": 0,
|
|
17888
|
-
"description": "LLM spend in millicents.",
|
|
17889
|
-
"title": "Llm",
|
|
17890
|
-
"type": "integer"
|
|
17891
|
-
},
|
|
17892
|
-
"memory": {
|
|
17893
|
-
"default": 0,
|
|
17894
|
-
"description": "Memory spend in millicents.",
|
|
17895
|
-
"title": "Memory",
|
|
17896
|
-
"type": "integer"
|
|
17897
|
-
},
|
|
17898
|
-
"total": {
|
|
17899
|
-
"default": 0,
|
|
17900
|
-
"description": "The grand total in millicents: llm + cpu + memory + fee.",
|
|
17901
|
-
"title": "Total",
|
|
17902
|
-
"type": "integer"
|
|
17903
|
-
}
|
|
17904
|
-
},
|
|
17905
|
-
"required": [
|
|
17906
|
-
"cpu",
|
|
17907
|
-
"fee",
|
|
17908
|
-
"llm",
|
|
17909
|
-
"memory",
|
|
17910
|
-
"total"
|
|
17911
|
-
],
|
|
17912
|
-
"title": "SessionCost",
|
|
17913
|
-
"type": "object"
|
|
17914
|
-
},
|
|
17915
18671
|
"SessionCostCategory": {
|
|
17916
18672
|
"properties": {
|
|
17917
|
-
"
|
|
17918
|
-
"title": "Charged
|
|
18673
|
+
"charged": {
|
|
18674
|
+
"title": "Charged",
|
|
17919
18675
|
"type": "integer"
|
|
17920
18676
|
},
|
|
17921
18677
|
"items": {
|
|
@@ -17937,7 +18693,7 @@
|
|
|
17937
18693
|
"required": [
|
|
17938
18694
|
"key",
|
|
17939
18695
|
"label",
|
|
17940
|
-
"
|
|
18696
|
+
"charged",
|
|
17941
18697
|
"items"
|
|
17942
18698
|
],
|
|
17943
18699
|
"title": "SessionCostCategory",
|
|
@@ -18605,7 +19361,7 @@
|
|
|
18605
19361
|
},
|
|
18606
19362
|
"turn": {
|
|
18607
19363
|
"$ref": "#/components/schemas/SessionTurn",
|
|
18608
|
-
"description": "The turn that will answer the message. Wait on it: poll GET /v1/sessions/{
|
|
19364
|
+
"description": "The turn that will answer the message. Wait on it: poll GET /v1/sessions/{session_id}/turns/{id} or watch the stream's session frames until its status is final."
|
|
18609
19365
|
}
|
|
18610
19366
|
},
|
|
18611
19367
|
"required": [
|
|
@@ -19252,9 +20008,14 @@
|
|
|
19252
20008
|
},
|
|
19253
20009
|
"SessionSpendItem": {
|
|
19254
20010
|
"properties": {
|
|
19255
|
-
"
|
|
20011
|
+
"charged": {
|
|
20012
|
+
"default": 0,
|
|
20013
|
+
"title": "Charged",
|
|
20014
|
+
"type": "integer"
|
|
20015
|
+
},
|
|
20016
|
+
"cost": {
|
|
19256
20017
|
"default": 0,
|
|
19257
|
-
"title": "
|
|
20018
|
+
"title": "Cost",
|
|
19258
20019
|
"type": "integer"
|
|
19259
20020
|
},
|
|
19260
20021
|
"key": {
|
|
@@ -19265,11 +20026,6 @@
|
|
|
19265
20026
|
"title": "Label",
|
|
19266
20027
|
"type": "string"
|
|
19267
20028
|
},
|
|
19268
|
-
"rated_millicents": {
|
|
19269
|
-
"default": 0,
|
|
19270
|
-
"title": "Rated Millicents",
|
|
19271
|
-
"type": "integer"
|
|
19272
|
-
},
|
|
19273
20029
|
"tokens": {
|
|
19274
20030
|
"default": 0,
|
|
19275
20031
|
"title": "Tokens",
|
|
@@ -19349,57 +20105,6 @@
|
|
|
19349
20105
|
"title": "SessionSummary",
|
|
19350
20106
|
"type": "object"
|
|
19351
20107
|
},
|
|
19352
|
-
"SessionTokens": {
|
|
19353
|
-
"description": "The token counts a session (or turn) spent, and the model they went to.\n\n`total` INCLUDES the cache lanes, unlike the old flat `tokens_total` which\ncounted input+output+thinking only and left callers to add cache reads and\nwrites back themselves (the deleted `tokensTotalAll` helper). Cache tokens\ndominate an agent run's token bill, so a \"total\" that omits them is the\nwrong default and produced two competing totals in the dashboard.",
|
|
19354
|
-
"properties": {
|
|
19355
|
-
"cache_creation": {
|
|
19356
|
-
"default": 0,
|
|
19357
|
-
"description": "Tokens written to the prompt cache.",
|
|
19358
|
-
"title": "Cache Creation",
|
|
19359
|
-
"type": "integer"
|
|
19360
|
-
},
|
|
19361
|
-
"cache_read": {
|
|
19362
|
-
"default": 0,
|
|
19363
|
-
"description": "Tokens read from the prompt cache.",
|
|
19364
|
-
"title": "Cache Read",
|
|
19365
|
-
"type": "integer"
|
|
19366
|
-
},
|
|
19367
|
-
"input": {
|
|
19368
|
-
"default": 0,
|
|
19369
|
-
"description": "Input tokens used.",
|
|
19370
|
-
"title": "Input",
|
|
19371
|
-
"type": "integer"
|
|
19372
|
-
},
|
|
19373
|
-
"model": {
|
|
19374
|
-
"default": "",
|
|
19375
|
-
"description": "The model the token counts are attributed to.",
|
|
19376
|
-
"title": "Model",
|
|
19377
|
-
"type": "string"
|
|
19378
|
-
},
|
|
19379
|
-
"output": {
|
|
19380
|
-
"default": 0,
|
|
19381
|
-
"description": "Output tokens used.",
|
|
19382
|
-
"title": "Output",
|
|
19383
|
-
"type": "integer"
|
|
19384
|
-
},
|
|
19385
|
-
"total": {
|
|
19386
|
-
"default": 0,
|
|
19387
|
-
"description": "Total tokens consumed, INCLUDING the prompt-cache reads and writes \u2014 the same basis the token cost is priced on.",
|
|
19388
|
-
"title": "Total",
|
|
19389
|
-
"type": "integer"
|
|
19390
|
-
}
|
|
19391
|
-
},
|
|
19392
|
-
"required": [
|
|
19393
|
-
"cache_creation",
|
|
19394
|
-
"cache_read",
|
|
19395
|
-
"input",
|
|
19396
|
-
"model",
|
|
19397
|
-
"output",
|
|
19398
|
-
"total"
|
|
19399
|
-
],
|
|
19400
|
-
"title": "SessionTokens",
|
|
19401
|
-
"type": "object"
|
|
19402
|
-
},
|
|
19403
20108
|
"SessionToolCount": {
|
|
19404
20109
|
"properties": {
|
|
19405
20110
|
"calls": {
|
|
@@ -19419,10 +20124,10 @@
|
|
|
19419
20124
|
"type": "object"
|
|
19420
20125
|
},
|
|
19421
20126
|
"SessionTurn": {
|
|
19422
|
-
"description": "One message and the agent's answer to it. A turn is `
|
|
20127
|
+
"description": "One message and the agent's answer to it. A turn is `queued` from the\nmoment its message is received, `preparing` while its environment is set\nup, `running` while the agent works, then `completed`, `failed`,\n`stopped`, or `cancelled`.",
|
|
19423
20128
|
"properties": {
|
|
19424
20129
|
"cost": {
|
|
19425
|
-
"$ref": "#/components/schemas/
|
|
20130
|
+
"$ref": "#/components/schemas/Cost",
|
|
19426
20131
|
"description": "What the turn cost so far, in millicents, broken down by leg."
|
|
19427
20132
|
},
|
|
19428
20133
|
"created_at": {
|
|
@@ -19440,7 +20145,7 @@
|
|
|
19440
20145
|
"type": "null"
|
|
19441
20146
|
}
|
|
19442
20147
|
],
|
|
19443
|
-
"description": "A human-readable explanation of a failed, stopped, or cancelled turn.",
|
|
20148
|
+
"description": "A human-readable explanation of a failed, stopped, or cancelled turn, or of why a queued turn waits.",
|
|
19444
20149
|
"title": "Detail"
|
|
19445
20150
|
},
|
|
19446
20151
|
"ended_at": {
|
|
@@ -19506,7 +20211,7 @@
|
|
|
19506
20211
|
"description": "When and by whom a stop was requested; null when none was."
|
|
19507
20212
|
},
|
|
19508
20213
|
"tokens": {
|
|
19509
|
-
"$ref": "#/components/schemas/
|
|
20214
|
+
"$ref": "#/components/schemas/Tokens",
|
|
19510
20215
|
"description": "The tokens the turn spent and the model they went to."
|
|
19511
20216
|
}
|
|
19512
20217
|
},
|
|
@@ -19579,9 +20284,9 @@
|
|
|
19579
20284
|
"title": "Cache Write Tokens",
|
|
19580
20285
|
"type": "integer"
|
|
19581
20286
|
},
|
|
19582
|
-
"
|
|
20287
|
+
"charged": {
|
|
19583
20288
|
"default": 0,
|
|
19584
|
-
"title": "Charged
|
|
20289
|
+
"title": "Charged",
|
|
19585
20290
|
"type": "integer"
|
|
19586
20291
|
},
|
|
19587
20292
|
"date": {
|
|
@@ -20687,7 +21392,7 @@
|
|
|
20687
21392
|
]
|
|
20688
21393
|
}
|
|
20689
21394
|
],
|
|
20690
|
-
"description": "Parameters for starting a raw session: where it runs, its first\nmessage, and the session's own settings. Flat, in the AgentConfig\nvocabulary: the `session:` block of an agent file pastes in as the request\nbody, except that the agent-wide `budget.day`, `week`, and `month` are\nrejected here. There is no agent behind a raw session; to start a\nsession from a saved agent, use POST /v1/agents/{
|
|
21395
|
+
"description": "Parameters for starting a raw session: where it runs, its first\nmessage, and the session's own settings. Flat, in the AgentConfig\nvocabulary: the `session:` block of an agent file pastes in as the request\nbody, except that the agent-wide `budget.day`, `week`, and `month` are\nrejected here. There is no agent behind a raw session; to start a\nsession from a saved agent, use POST /v1/agents/{id}/sessions.\n\nExtra keys are a 422, not silently dropped: a retired field\n(`from_config_id`, `input`, `ellipsis`, `config_id`, `repositories`) must\nfail loudly on an old client, never no-op.",
|
|
20691
21396
|
"properties": {
|
|
20692
21397
|
"budget": {
|
|
20693
21398
|
"anyOf": [
|
|
@@ -20803,6 +21508,17 @@
|
|
|
20803
21508
|
"title": "StartSessionRequest",
|
|
20804
21509
|
"type": "object"
|
|
20805
21510
|
},
|
|
21511
|
+
"StatusAction": {
|
|
21512
|
+
"description": "The state of a commit status. `success` is `passed`, `failure` is `failed`, and `error` is `errored`.",
|
|
21513
|
+
"enum": [
|
|
21514
|
+
"pending",
|
|
21515
|
+
"passed",
|
|
21516
|
+
"failed",
|
|
21517
|
+
"errored"
|
|
21518
|
+
],
|
|
21519
|
+
"title": "StatusAction",
|
|
21520
|
+
"type": "string"
|
|
21521
|
+
},
|
|
20806
21522
|
"StreamTicketResponse": {
|
|
20807
21523
|
"description": "Open ws_url with ?ticket=<ticket> within 60 seconds.\n\nA ticket is bound to this stream and the issuing credential. The server\nchecks current authorization again when the WebSocket connects.",
|
|
20808
21524
|
"properties": {
|
|
@@ -21074,6 +21790,50 @@
|
|
|
21074
21790
|
"title": "SubscriptionUsageWindow",
|
|
21075
21791
|
"type": "object"
|
|
21076
21792
|
},
|
|
21793
|
+
"TokenCounts": {
|
|
21794
|
+
"description": "Token counts.",
|
|
21795
|
+
"properties": {
|
|
21796
|
+
"cache_creation": {
|
|
21797
|
+
"default": 0,
|
|
21798
|
+
"description": "Tokens written to the prompt cache.",
|
|
21799
|
+
"title": "Cache Creation",
|
|
21800
|
+
"type": "integer"
|
|
21801
|
+
},
|
|
21802
|
+
"cache_read": {
|
|
21803
|
+
"default": 0,
|
|
21804
|
+
"description": "Tokens read from the prompt cache.",
|
|
21805
|
+
"title": "Cache Read",
|
|
21806
|
+
"type": "integer"
|
|
21807
|
+
},
|
|
21808
|
+
"input": {
|
|
21809
|
+
"default": 0,
|
|
21810
|
+
"description": "Input tokens used.",
|
|
21811
|
+
"title": "Input",
|
|
21812
|
+
"type": "integer"
|
|
21813
|
+
},
|
|
21814
|
+
"output": {
|
|
21815
|
+
"default": 0,
|
|
21816
|
+
"description": "Output tokens used.",
|
|
21817
|
+
"title": "Output",
|
|
21818
|
+
"type": "integer"
|
|
21819
|
+
},
|
|
21820
|
+
"total": {
|
|
21821
|
+
"default": 0,
|
|
21822
|
+
"description": "All tokens used, including prompt cache reads and writes. Token cost is priced on this.",
|
|
21823
|
+
"title": "Total",
|
|
21824
|
+
"type": "integer"
|
|
21825
|
+
}
|
|
21826
|
+
},
|
|
21827
|
+
"required": [
|
|
21828
|
+
"cache_creation",
|
|
21829
|
+
"cache_read",
|
|
21830
|
+
"input",
|
|
21831
|
+
"output",
|
|
21832
|
+
"total"
|
|
21833
|
+
],
|
|
21834
|
+
"title": "TokenCounts",
|
|
21835
|
+
"type": "object"
|
|
21836
|
+
},
|
|
21077
21837
|
"TokenRevokedResponse": {
|
|
21078
21838
|
"properties": {
|
|
21079
21839
|
"ok": {
|
|
@@ -21085,6 +21845,29 @@
|
|
|
21085
21845
|
"title": "TokenRevokedResponse",
|
|
21086
21846
|
"type": "object"
|
|
21087
21847
|
},
|
|
21848
|
+
"Tokens": {
|
|
21849
|
+
"description": "Tokens used, in total and by model.",
|
|
21850
|
+
"properties": {
|
|
21851
|
+
"all": {
|
|
21852
|
+
"$ref": "#/components/schemas/TokenCounts",
|
|
21853
|
+
"description": "Token counts across every model."
|
|
21854
|
+
},
|
|
21855
|
+
"by_model": {
|
|
21856
|
+
"description": "Token counts for each model that used tokens.",
|
|
21857
|
+
"items": {
|
|
21858
|
+
"$ref": "#/components/schemas/ModelTokenCounts"
|
|
21859
|
+
},
|
|
21860
|
+
"title": "By Model",
|
|
21861
|
+
"type": "array"
|
|
21862
|
+
}
|
|
21863
|
+
},
|
|
21864
|
+
"required": [
|
|
21865
|
+
"all",
|
|
21866
|
+
"by_model"
|
|
21867
|
+
],
|
|
21868
|
+
"title": "Tokens",
|
|
21869
|
+
"type": "object"
|
|
21870
|
+
},
|
|
21088
21871
|
"TokensInfo": {
|
|
21089
21872
|
"additionalProperties": false,
|
|
21090
21873
|
"description": "Token/cost usage, per record (one API call's counts, aggregate fields at\ntheir zero defaults) or aggregated per turn/session\n(compute_spend_from_records derives num_turns and cost_usd).\n\nStrict on purpose: this is our own persisted schema, so an unknown key is a\nwriter bug (the num_turns=0 bug shipped because a Claude Code usage dict\nvalidated leniently against this model, silently zeroing every\nnon-overlapping field). Legacy keys were dropped from persisted blobs by\nthe 2026-07-26 tokens_info migration; per-model usage (CC's modelUsage,\nverbatim) is stored separately, not here.",
|
|
@@ -21362,6 +22145,184 @@
|
|
|
21362
22145
|
"type": "object",
|
|
21363
22146
|
"x-ellipsis-preserve-payload": true
|
|
21364
22147
|
},
|
|
22148
|
+
"TurnQueuedPayload": {
|
|
22149
|
+
"additionalProperties": true,
|
|
22150
|
+
"description": "turn_queued: the turn waits because the account already has\n`sessions_alive` sessions alive, its limit.",
|
|
22151
|
+
"properties": {
|
|
22152
|
+
"limit": {
|
|
22153
|
+
"title": "Limit",
|
|
22154
|
+
"type": "integer"
|
|
22155
|
+
},
|
|
22156
|
+
"sessions_alive": {
|
|
22157
|
+
"title": "Sessions Alive",
|
|
22158
|
+
"type": "integer"
|
|
22159
|
+
},
|
|
22160
|
+
"turn_id": {
|
|
22161
|
+
"title": "Turn Id",
|
|
22162
|
+
"type": "string"
|
|
22163
|
+
}
|
|
22164
|
+
},
|
|
22165
|
+
"required": [
|
|
22166
|
+
"turn_id",
|
|
22167
|
+
"sessions_alive",
|
|
22168
|
+
"limit"
|
|
22169
|
+
],
|
|
22170
|
+
"title": "TurnQueuedPayload",
|
|
22171
|
+
"type": "object"
|
|
22172
|
+
},
|
|
22173
|
+
"TurnQueuedRecord": {
|
|
22174
|
+
"properties": {
|
|
22175
|
+
"cost": {
|
|
22176
|
+
"anyOf": [
|
|
22177
|
+
{
|
|
22178
|
+
"type": "integer"
|
|
22179
|
+
},
|
|
22180
|
+
{
|
|
22181
|
+
"type": "null"
|
|
22182
|
+
}
|
|
22183
|
+
],
|
|
22184
|
+
"title": "Cost"
|
|
22185
|
+
},
|
|
22186
|
+
"created_at": {
|
|
22187
|
+
"format": "date-time",
|
|
22188
|
+
"title": "Created At",
|
|
22189
|
+
"type": "string"
|
|
22190
|
+
},
|
|
22191
|
+
"duration": {
|
|
22192
|
+
"anyOf": [
|
|
22193
|
+
{
|
|
22194
|
+
"type": "integer"
|
|
22195
|
+
},
|
|
22196
|
+
{
|
|
22197
|
+
"type": "null"
|
|
22198
|
+
}
|
|
22199
|
+
],
|
|
22200
|
+
"title": "Duration"
|
|
22201
|
+
},
|
|
22202
|
+
"feed_seq": {
|
|
22203
|
+
"description": "Position in the session feed and the stream's resume cursor.",
|
|
22204
|
+
"title": "Feed Seq",
|
|
22205
|
+
"type": "integer"
|
|
22206
|
+
},
|
|
22207
|
+
"id": {
|
|
22208
|
+
"description": "Unique identifier of the record.",
|
|
22209
|
+
"title": "Id",
|
|
22210
|
+
"type": "string"
|
|
22211
|
+
},
|
|
22212
|
+
"kind": {
|
|
22213
|
+
"const": "platform",
|
|
22214
|
+
"default": "platform",
|
|
22215
|
+
"title": "Kind",
|
|
22216
|
+
"type": "string"
|
|
22217
|
+
},
|
|
22218
|
+
"model": {
|
|
22219
|
+
"anyOf": [
|
|
22220
|
+
{
|
|
22221
|
+
"type": "string"
|
|
22222
|
+
},
|
|
22223
|
+
{
|
|
22224
|
+
"type": "null"
|
|
22225
|
+
}
|
|
22226
|
+
],
|
|
22227
|
+
"title": "Model"
|
|
22228
|
+
},
|
|
22229
|
+
"payload": {
|
|
22230
|
+
"$ref": "#/components/schemas/TurnQueuedPayload"
|
|
22231
|
+
},
|
|
22232
|
+
"record_format": {
|
|
22233
|
+
"const": "ellipsis_lifecycle@1",
|
|
22234
|
+
"default": "ellipsis_lifecycle@1",
|
|
22235
|
+
"title": "Record Format",
|
|
22236
|
+
"type": "string"
|
|
22237
|
+
},
|
|
22238
|
+
"record_type": {
|
|
22239
|
+
"const": "turn_queued",
|
|
22240
|
+
"default": "turn_queued",
|
|
22241
|
+
"title": "Record Type",
|
|
22242
|
+
"type": "string"
|
|
22243
|
+
},
|
|
22244
|
+
"session_id": {
|
|
22245
|
+
"description": "Session containing this record.",
|
|
22246
|
+
"title": "Session Id",
|
|
22247
|
+
"type": "string"
|
|
22248
|
+
},
|
|
22249
|
+
"session_message_id": {
|
|
22250
|
+
"anyOf": [
|
|
22251
|
+
{
|
|
22252
|
+
"type": "string"
|
|
22253
|
+
},
|
|
22254
|
+
{
|
|
22255
|
+
"type": "null"
|
|
22256
|
+
}
|
|
22257
|
+
],
|
|
22258
|
+
"description": "Message this record receives, delivers, requeues, or echoes.",
|
|
22259
|
+
"title": "Session Message Id"
|
|
22260
|
+
},
|
|
22261
|
+
"source": {
|
|
22262
|
+
"const": "lifecycle",
|
|
22263
|
+
"default": "lifecycle",
|
|
22264
|
+
"title": "Source",
|
|
22265
|
+
"type": "string"
|
|
22266
|
+
},
|
|
22267
|
+
"tokens_info": {
|
|
22268
|
+
"anyOf": [
|
|
22269
|
+
{
|
|
22270
|
+
"$ref": "#/components/schemas/TokensInfo"
|
|
22271
|
+
},
|
|
22272
|
+
{
|
|
22273
|
+
"type": "null"
|
|
22274
|
+
}
|
|
22275
|
+
]
|
|
22276
|
+
},
|
|
22277
|
+
"tools": {
|
|
22278
|
+
"anyOf": [
|
|
22279
|
+
{
|
|
22280
|
+
"items": {
|
|
22281
|
+
"type": "string"
|
|
22282
|
+
},
|
|
22283
|
+
"type": "array"
|
|
22284
|
+
},
|
|
22285
|
+
{
|
|
22286
|
+
"type": "null"
|
|
22287
|
+
}
|
|
22288
|
+
],
|
|
22289
|
+
"title": "Tools"
|
|
22290
|
+
},
|
|
22291
|
+
"turn_id": {
|
|
22292
|
+
"anyOf": [
|
|
22293
|
+
{
|
|
22294
|
+
"type": "string"
|
|
22295
|
+
},
|
|
22296
|
+
{
|
|
22297
|
+
"type": "null"
|
|
22298
|
+
}
|
|
22299
|
+
],
|
|
22300
|
+
"description": "Turn containing this record, when applicable.",
|
|
22301
|
+
"title": "Turn Id"
|
|
22302
|
+
}
|
|
22303
|
+
},
|
|
22304
|
+
"required": [
|
|
22305
|
+
"id",
|
|
22306
|
+
"session_id",
|
|
22307
|
+
"turn_id",
|
|
22308
|
+
"session_message_id",
|
|
22309
|
+
"feed_seq",
|
|
22310
|
+
"source",
|
|
22311
|
+
"record_type",
|
|
22312
|
+
"record_format",
|
|
22313
|
+
"payload",
|
|
22314
|
+
"tools",
|
|
22315
|
+
"tokens_info",
|
|
22316
|
+
"cost",
|
|
22317
|
+
"duration",
|
|
22318
|
+
"model",
|
|
22319
|
+
"created_at",
|
|
22320
|
+
"kind"
|
|
22321
|
+
],
|
|
22322
|
+
"title": "TurnQueuedRecord",
|
|
22323
|
+
"type": "object",
|
|
22324
|
+
"x-ellipsis-preserve-payload": true
|
|
22325
|
+
},
|
|
21365
22326
|
"TurnReason": {
|
|
21366
22327
|
"description": "Why a turn failed or was cancelled. Null on every other outcome.",
|
|
21367
22328
|
"enum": [
|
|
@@ -21559,9 +22520,10 @@
|
|
|
21559
22520
|
"x-ellipsis-preserve-payload": true
|
|
21560
22521
|
},
|
|
21561
22522
|
"TurnStatus": {
|
|
21562
|
-
"description": "Where one turn is:
|
|
22523
|
+
"description": "Where one turn is: waiting, preparing, being answered, or over.\n\n`queued` turns wait to start, behind another turn or for a free session\nslot on the account. `preparing` turns wait while the environment is set\nup. `stopped` and `cancelled` are their own outcomes; `reason` explains a\n`failed` or `cancelled` turn.",
|
|
21563
22524
|
"enum": [
|
|
21564
|
-
"
|
|
22525
|
+
"queued",
|
|
22526
|
+
"preparing",
|
|
21565
22527
|
"running",
|
|
21566
22528
|
"completed",
|
|
21567
22529
|
"failed",
|
|
@@ -21797,28 +22759,12 @@
|
|
|
21797
22759
|
"title": "UpdateSessionRequest",
|
|
21798
22760
|
"type": "object"
|
|
21799
22761
|
},
|
|
21800
|
-
"
|
|
21801
|
-
"description": "One day's
|
|
22762
|
+
"UsageDay": {
|
|
22763
|
+
"description": "One UTC day's cost and tokens.",
|
|
21802
22764
|
"properties": {
|
|
21803
|
-
"
|
|
21804
|
-
"
|
|
21805
|
-
"
|
|
21806
|
-
"type": "integer"
|
|
21807
|
-
},
|
|
21808
|
-
"cost_fee_millicents": {
|
|
21809
|
-
"description": "Platform fee this day, in millicents.",
|
|
21810
|
-
"title": "Cost Fee Millicents",
|
|
21811
|
-
"type": "integer"
|
|
21812
|
-
},
|
|
21813
|
-
"cost_memory_millicents": {
|
|
21814
|
-
"description": "Memory cost this day, in millicents.",
|
|
21815
|
-
"title": "Cost Memory Millicents",
|
|
21816
|
-
"type": "integer"
|
|
21817
|
-
},
|
|
21818
|
-
"cost_tokens_millicents": {
|
|
21819
|
-
"description": "LLM token cost this day, in millicents (1000 = $0.01).",
|
|
21820
|
-
"title": "Cost Tokens Millicents",
|
|
21821
|
-
"type": "integer"
|
|
22765
|
+
"cost": {
|
|
22766
|
+
"$ref": "#/components/schemas/Cost",
|
|
22767
|
+
"description": "What the day's usage cost."
|
|
21822
22768
|
},
|
|
21823
22769
|
"date": {
|
|
21824
22770
|
"description": "The UTC day, formatted yyyy-MM-dd.",
|
|
@@ -21826,44 +22772,35 @@
|
|
|
21826
22772
|
"type": "string"
|
|
21827
22773
|
},
|
|
21828
22774
|
"tokens": {
|
|
21829
|
-
"
|
|
21830
|
-
"
|
|
21831
|
-
"type": "integer"
|
|
21832
|
-
},
|
|
21833
|
-
"tokens_cache_creation": {
|
|
21834
|
-
"description": "Cache-creation tokens used this day.",
|
|
21835
|
-
"title": "Tokens Cache Creation",
|
|
21836
|
-
"type": "integer"
|
|
21837
|
-
},
|
|
21838
|
-
"tokens_cache_read": {
|
|
21839
|
-
"description": "Cache-read tokens used this day.",
|
|
21840
|
-
"title": "Tokens Cache Read",
|
|
21841
|
-
"type": "integer"
|
|
21842
|
-
},
|
|
21843
|
-
"tokens_input": {
|
|
21844
|
-
"description": "Input tokens used this day.",
|
|
21845
|
-
"title": "Tokens Input",
|
|
21846
|
-
"type": "integer"
|
|
21847
|
-
},
|
|
21848
|
-
"tokens_output": {
|
|
21849
|
-
"description": "Output tokens used this day.",
|
|
21850
|
-
"title": "Tokens Output",
|
|
21851
|
-
"type": "integer"
|
|
22775
|
+
"$ref": "#/components/schemas/Tokens",
|
|
22776
|
+
"description": "The tokens used that day."
|
|
21852
22777
|
}
|
|
21853
22778
|
},
|
|
21854
22779
|
"required": [
|
|
21855
22780
|
"date",
|
|
21856
|
-
"
|
|
21857
|
-
"
|
|
21858
|
-
"tokens_output",
|
|
21859
|
-
"tokens_cache_read",
|
|
21860
|
-
"tokens_cache_creation",
|
|
21861
|
-
"cost_tokens_millicents",
|
|
21862
|
-
"cost_cpu_millicents",
|
|
21863
|
-
"cost_memory_millicents",
|
|
21864
|
-
"cost_fee_millicents"
|
|
22781
|
+
"cost",
|
|
22782
|
+
"tokens"
|
|
21865
22783
|
],
|
|
21866
|
-
"title": "
|
|
22784
|
+
"title": "UsageDay",
|
|
22785
|
+
"type": "object"
|
|
22786
|
+
},
|
|
22787
|
+
"UsageTotals": {
|
|
22788
|
+
"description": "Cost and tokens over a set of sessions.",
|
|
22789
|
+
"properties": {
|
|
22790
|
+
"cost": {
|
|
22791
|
+
"$ref": "#/components/schemas/Cost",
|
|
22792
|
+
"description": "What the sessions cost."
|
|
22793
|
+
},
|
|
22794
|
+
"tokens": {
|
|
22795
|
+
"$ref": "#/components/schemas/Tokens",
|
|
22796
|
+
"description": "The tokens the sessions used."
|
|
22797
|
+
}
|
|
22798
|
+
},
|
|
22799
|
+
"required": [
|
|
22800
|
+
"cost",
|
|
22801
|
+
"tokens"
|
|
22802
|
+
],
|
|
22803
|
+
"title": "UsageTotals",
|
|
21867
22804
|
"type": "object"
|
|
21868
22805
|
},
|
|
21869
22806
|
"UserPlan": {
|
|
@@ -23103,6 +24040,27 @@
|
|
|
23103
24040
|
],
|
|
23104
24041
|
"title": "WebhooksListResponse",
|
|
23105
24042
|
"type": "object"
|
|
24043
|
+
},
|
|
24044
|
+
"WorkflowRunAction": {
|
|
24045
|
+
"description": "The state of a GitHub Actions workflow run when GitHub reports it. Before the run finishes it is the status, and `in_progress` is `started`. After it finishes it is the conclusion, `success` is `passed` and `failure` is `failed`. Every other value is the GitHub word.",
|
|
24046
|
+
"enum": [
|
|
24047
|
+
"requested",
|
|
24048
|
+
"queued",
|
|
24049
|
+
"waiting",
|
|
24050
|
+
"pending",
|
|
24051
|
+
"started",
|
|
24052
|
+
"passed",
|
|
24053
|
+
"failed",
|
|
24054
|
+
"timed_out",
|
|
24055
|
+
"cancelled",
|
|
24056
|
+
"skipped",
|
|
24057
|
+
"neutral",
|
|
24058
|
+
"action_required",
|
|
24059
|
+
"stale",
|
|
24060
|
+
"startup_failure"
|
|
24061
|
+
],
|
|
24062
|
+
"title": "WorkflowRunAction",
|
|
24063
|
+
"type": "string"
|
|
23106
24064
|
}
|
|
23107
24065
|
},
|
|
23108
24066
|
"securitySchemes": {
|
|
@@ -23607,17 +24565,17 @@
|
|
|
23607
24565
|
"x-ellipsis-sdk-method": "account.api_keys.create"
|
|
23608
24566
|
}
|
|
23609
24567
|
},
|
|
23610
|
-
"/v1/account/api-keys/{
|
|
24568
|
+
"/v1/account/api-keys/{id}": {
|
|
23611
24569
|
"delete": {
|
|
23612
24570
|
"description": "Revoke an organization key as a verified GitHub administrator.",
|
|
23613
24571
|
"operationId": "revoke_api_key",
|
|
23614
24572
|
"parameters": [
|
|
23615
24573
|
{
|
|
23616
24574
|
"in": "path",
|
|
23617
|
-
"name": "
|
|
24575
|
+
"name": "id",
|
|
23618
24576
|
"required": true,
|
|
23619
24577
|
"schema": {
|
|
23620
|
-
"title": "
|
|
24578
|
+
"title": "Id",
|
|
23621
24579
|
"type": "string"
|
|
23622
24580
|
}
|
|
23623
24581
|
},
|
|
@@ -24087,7 +25045,7 @@
|
|
|
24087
25045
|
"x-ellipsis-sdk-method": "account.billing.auto_recharge.get"
|
|
24088
25046
|
},
|
|
24089
25047
|
"put": {
|
|
24090
|
-
"description": "Set your automatic credit recharge policy.\n\nRequires a human account administrator; API keys and session tokens\ncannot change this policy. Supply enabled explicitly. Saving amounts\nwith enabled=false keeps recharge off; enabling requires a saved card.\nA recharge buys
|
|
25048
|
+
"description": "Set your automatic credit recharge policy.\n\nRequires a human account administrator; API keys and session tokens\ncannot change this policy. Supply enabled explicitly. Saving amounts\nwith enabled=false keeps recharge off; enabling requires a saved card.\nA recharge buys `amount` of credit and charges the platform fee in\naddition. Amounts and thresholds are millicents in whole cents.",
|
|
24091
25049
|
"operationId": "update_auto_recharge",
|
|
24092
25050
|
"parameters": [
|
|
24093
25051
|
{
|
|
@@ -24339,7 +25297,7 @@
|
|
|
24339
25297
|
},
|
|
24340
25298
|
"/v1/account/billing/checkout": {
|
|
24341
25299
|
"post": {
|
|
24342
|
-
"description": "Buy prepaid credit through Stripe's hosted checkout.\n\nRequires a human account administrator. Open the returned URL to\ncomplete payment. Credit is granted only after payment succeeds;\nthe platform fee is charged in addition to
|
|
25300
|
+
"description": "Buy prepaid credit through Stripe's hosted checkout.\n\nRequires a human account administrator. Open the returned URL to\ncomplete payment. Credit is granted only after payment succeeds;\nthe platform fee is charged in addition to `amount`. Returning\nto Billing carries the checkout session ID for receipt lookup.",
|
|
24343
25301
|
"operationId": "create_credit_checkout_session",
|
|
24344
25302
|
"parameters": [
|
|
24345
25303
|
{
|
|
@@ -24704,7 +25662,7 @@
|
|
|
24704
25662
|
},
|
|
24705
25663
|
"/v1/account/billing/fee-schedule": {
|
|
24706
25664
|
"get": {
|
|
24707
|
-
"description": "Get the account's rate card, in
|
|
25665
|
+
"description": "Get the account's rate card, in millicents.",
|
|
24708
25666
|
"operationId": "get_fee_schedule",
|
|
24709
25667
|
"parameters": [
|
|
24710
25668
|
{
|
|
@@ -24821,7 +25779,7 @@
|
|
|
24821
25779
|
},
|
|
24822
25780
|
"/v1/account/billing/purchase-options": {
|
|
24823
25781
|
"get": {
|
|
24824
|
-
"description": "Get credit purchase bounds and the platform fee.\n\nAll amounts are
|
|
25782
|
+
"description": "Get credit purchase bounds and the platform fee.\n\nAll amounts are in millicents. The fee is added to the credit\namount; it does not reduce the credit granted.",
|
|
24825
25783
|
"operationId": "get_credit_purchase_options",
|
|
24826
25784
|
"parameters": [
|
|
24827
25785
|
{
|
|
@@ -24936,17 +25894,17 @@
|
|
|
24936
25894
|
"x-ellipsis-sdk-method": "account.billing.purchase_options"
|
|
24937
25895
|
}
|
|
24938
25896
|
},
|
|
24939
|
-
"/v1/account/billing/purchases/{
|
|
25897
|
+
"/v1/account/billing/purchases/{id}": {
|
|
24940
25898
|
"get": {
|
|
24941
25899
|
"description": "Read the amount collected for a credit purchase.\n\nThe amount includes the platform fee and comes from Stripe. An\nincomplete, missing, or other-account purchase returns 404.",
|
|
24942
25900
|
"operationId": "get_credit_purchase",
|
|
24943
25901
|
"parameters": [
|
|
24944
25902
|
{
|
|
24945
25903
|
"in": "path",
|
|
24946
|
-
"name": "
|
|
25904
|
+
"name": "id",
|
|
24947
25905
|
"required": true,
|
|
24948
25906
|
"schema": {
|
|
24949
|
-
"title": "
|
|
25907
|
+
"title": "Id",
|
|
24950
25908
|
"type": "string"
|
|
24951
25909
|
}
|
|
24952
25910
|
},
|
|
@@ -25074,7 +26032,7 @@
|
|
|
25074
26032
|
},
|
|
25075
26033
|
"/v1/account/budget": {
|
|
25076
26034
|
"get": {
|
|
25077
|
-
"description": "Get prepaid credit, actual trailing budgets, and developer/API-key limits.\n\nBudgets cover the trailing 1, 7 and 28 days; they do not replenish\nprepaid credit. Amounts include measured usage from active sessions.\nEach paid LLM request requires positive credit and budget headroom.\nAn admitted request can overshoot
|
|
26035
|
+
"description": "Get prepaid credit, actual trailing budgets, and developer/API-key limits.\n\nBudgets cover the trailing 1, 7 and 28 days; they do not replenish\nprepaid credit. Amounts include measured usage from active sessions.\nEach paid LLM request requires positive credit and budget headroom.\nAn admitted request can overshoot.",
|
|
25078
26036
|
"operationId": "get_account_budget",
|
|
25079
26037
|
"parameters": [
|
|
25080
26038
|
{
|
|
@@ -26052,7 +27010,7 @@
|
|
|
26052
27010
|
"x-ellipsis-sdk-method": "account.settings.update"
|
|
26053
27011
|
},
|
|
26054
27012
|
"put": {
|
|
26055
|
-
"description": "Set the organization settings.\n\n`budget_ceiling.session` is in
|
|
27013
|
+
"description": "Set the organization settings.\n\n`budget_ceiling.session` is in millicents, at most the platform\nceiling, and null clears it.\nRefused for session tokens (potentially prompt-injected code must\nnot raise the organization's ceiling).",
|
|
26056
27014
|
"operationId": "put_account_settings",
|
|
26057
27015
|
"parameters": [
|
|
26058
27016
|
{
|
|
@@ -26193,7 +27151,7 @@
|
|
|
26193
27151
|
},
|
|
26194
27152
|
"/v1/account/usage": {
|
|
26195
27153
|
"get": {
|
|
26196
|
-
"description": "Get usage for a calendar month,
|
|
27154
|
+
"description": "Get usage for a calendar month, split by billing source.\n\nOmit period_start for the current UTC month. Pass a period from\nbilling_periods to view history. Platform usage is charged to\nEllipsis credit. Tokens paid by a developer's Claude or Codex\nsubscription show their cost at Ellipsis rates and charge no\ncredit. Pending and unresolved requests are missing measurements.",
|
|
26197
27155
|
"operationId": "get_account_usage",
|
|
26198
27156
|
"parameters": [
|
|
26199
27157
|
{
|
|
@@ -26443,7 +27401,7 @@
|
|
|
26443
27401
|
"x-ellipsis-sdk-method": "agents.list"
|
|
26444
27402
|
},
|
|
26445
27403
|
"post": {
|
|
26446
|
-
"description": "Create an agent, managed through the API: no file, live\nimmediately. To put its definition in a repository instead, create\nit here and then POST /v1/agents/{
|
|
27404
|
+
"description": "Create an agent, managed through the API: no file, live\nimmediately. To put its definition in a repository instead, create\nit here and then POST /v1/agents/{id}/link.\n\n409 when another live agent already holds the name.",
|
|
26447
27405
|
"operationId": "create_agent",
|
|
26448
27406
|
"parameters": [
|
|
26449
27407
|
{
|
|
@@ -26706,17 +27664,17 @@
|
|
|
26706
27664
|
"x-ellipsis-sdk-method": "agents.stream_ticket"
|
|
26707
27665
|
}
|
|
26708
27666
|
},
|
|
26709
|
-
"/v1/agents/{
|
|
27667
|
+
"/v1/agents/{id}": {
|
|
26710
27668
|
"delete": {
|
|
26711
27669
|
"description": "Delete an agent, by id or by name.\n\nIt stops running and its name is freed immediately; its past\nsessions remain readable. Only for agents managed through\nthis API \u2014 delete the file to remove one defined by a repository.",
|
|
26712
27670
|
"operationId": "delete_agent",
|
|
26713
27671
|
"parameters": [
|
|
26714
27672
|
{
|
|
26715
27673
|
"in": "path",
|
|
26716
|
-
"name": "
|
|
27674
|
+
"name": "id",
|
|
26717
27675
|
"required": true,
|
|
26718
27676
|
"schema": {
|
|
26719
|
-
"title": "
|
|
27677
|
+
"title": "Id",
|
|
26720
27678
|
"type": "string"
|
|
26721
27679
|
}
|
|
26722
27680
|
},
|
|
@@ -26851,10 +27809,10 @@
|
|
|
26851
27809
|
"parameters": [
|
|
26852
27810
|
{
|
|
26853
27811
|
"in": "path",
|
|
26854
|
-
"name": "
|
|
27812
|
+
"name": "id",
|
|
26855
27813
|
"required": true,
|
|
26856
27814
|
"schema": {
|
|
26857
|
-
"title": "
|
|
27815
|
+
"title": "Id",
|
|
26858
27816
|
"type": "string"
|
|
26859
27817
|
}
|
|
26860
27818
|
},
|
|
@@ -26986,10 +27944,10 @@
|
|
|
26986
27944
|
"parameters": [
|
|
26987
27945
|
{
|
|
26988
27946
|
"in": "path",
|
|
26989
|
-
"name": "
|
|
27947
|
+
"name": "id",
|
|
26990
27948
|
"required": true,
|
|
26991
27949
|
"schema": {
|
|
26992
|
-
"title": "
|
|
27950
|
+
"title": "Id",
|
|
26993
27951
|
"type": "string"
|
|
26994
27952
|
}
|
|
26995
27953
|
},
|
|
@@ -27146,17 +28104,17 @@
|
|
|
27146
28104
|
"x-ellipsis-sdk-method": "agents.update"
|
|
27147
28105
|
}
|
|
27148
28106
|
},
|
|
27149
|
-
"/v1/agents/{
|
|
28107
|
+
"/v1/agents/{id}/link": {
|
|
27150
28108
|
"post": {
|
|
27151
28109
|
"description": "Move an agent into a repository, by id or by name.\n\nOpens a pull request adding its definition file. The agent\nkeeps running unchanged meanwhile; merging hands it over to the\nfile, after which the file is what changes it. Nothing happens\nif the pull request is never merged.",
|
|
27152
28110
|
"operationId": "link_agent",
|
|
27153
28111
|
"parameters": [
|
|
27154
28112
|
{
|
|
27155
28113
|
"in": "path",
|
|
27156
|
-
"name": "
|
|
28114
|
+
"name": "id",
|
|
27157
28115
|
"required": true,
|
|
27158
28116
|
"schema": {
|
|
27159
|
-
"title": "
|
|
28117
|
+
"title": "Id",
|
|
27160
28118
|
"type": "string"
|
|
27161
28119
|
}
|
|
27162
28120
|
},
|
|
@@ -27313,17 +28271,17 @@
|
|
|
27313
28271
|
"x-ellipsis-sdk-method": "agents.link"
|
|
27314
28272
|
}
|
|
27315
28273
|
},
|
|
27316
|
-
"/v1/agents/{
|
|
28274
|
+
"/v1/agents/{id}/metrics": {
|
|
27317
28275
|
"get": {
|
|
27318
28276
|
"description": "Return an agent's session distribution and trailing spend,\nby id or by name.\n\n`samples` carries one entry per finished session (duration, cost,\ntokens) for distributions; `spend_windows` carries what the\nagent's sessions cost over the last 1, 7, and 28 days against\nits budget for each window.",
|
|
27319
28277
|
"operationId": "get_agent_metrics",
|
|
27320
28278
|
"parameters": [
|
|
27321
28279
|
{
|
|
27322
28280
|
"in": "path",
|
|
27323
|
-
"name": "
|
|
28281
|
+
"name": "id",
|
|
27324
28282
|
"required": true,
|
|
27325
28283
|
"schema": {
|
|
27326
|
-
"title": "
|
|
28284
|
+
"title": "Id",
|
|
27327
28285
|
"type": "string"
|
|
27328
28286
|
}
|
|
27329
28287
|
},
|
|
@@ -27450,17 +28408,17 @@
|
|
|
27450
28408
|
"x-ellipsis-sdk-method": "agents.metrics"
|
|
27451
28409
|
}
|
|
27452
28410
|
},
|
|
27453
|
-
"/v1/agents/{
|
|
28411
|
+
"/v1/agents/{id}/sessions": {
|
|
27454
28412
|
"post": {
|
|
27455
28413
|
"description": "Start an agent session.\n\nStarts a session from the agent's saved `session` settings and\nreturns it. The body takes the fields of POST /v1/sessions, all\noptional: each field you send replaces the agent's value for that\nfield, and each field you leave out keeps it. `metadata` is merged\ninto the agent's key by key, and a `null` value removes a key.\nOther lists and maps, and `environment`, are replaced whole;\nnaming the other harness replaces the agent's. An empty body starts\nthe agent as written. If the agent declares input.json_schema, send\n`input`; its rendered message is added after the prompt. A run-once\nsession needs a prompt or `input` from the agent or the request, or\nthe call is a 400.",
|
|
27456
28414
|
"operationId": "start_agent_session",
|
|
27457
28415
|
"parameters": [
|
|
27458
28416
|
{
|
|
27459
28417
|
"in": "path",
|
|
27460
|
-
"name": "
|
|
28418
|
+
"name": "id",
|
|
27461
28419
|
"required": true,
|
|
27462
28420
|
"schema": {
|
|
27463
|
-
"title": "
|
|
28421
|
+
"title": "Id",
|
|
27464
28422
|
"type": "string"
|
|
27465
28423
|
}
|
|
27466
28424
|
},
|
|
@@ -27607,17 +28565,17 @@
|
|
|
27607
28565
|
"x-ellipsis-sdk-method": "agents.start"
|
|
27608
28566
|
}
|
|
27609
28567
|
},
|
|
27610
|
-
"/v1/agents/{
|
|
28568
|
+
"/v1/agents/{id}/unlink": {
|
|
27611
28569
|
"post": {
|
|
27612
28570
|
"description": "Take over an agent from its file, by id or by name.\n\nThe file stops governing it immediately and further changes go\nthrough this API. The file is left in place, inert \u2014 delete it\nwhenever you like.",
|
|
27613
28571
|
"operationId": "unlink_agent",
|
|
27614
28572
|
"parameters": [
|
|
27615
28573
|
{
|
|
27616
28574
|
"in": "path",
|
|
27617
|
-
"name": "
|
|
28575
|
+
"name": "id",
|
|
27618
28576
|
"required": true,
|
|
27619
28577
|
"schema": {
|
|
27620
|
-
"title": "
|
|
28578
|
+
"title": "Id",
|
|
27621
28579
|
"type": "string"
|
|
27622
28580
|
}
|
|
27623
28581
|
},
|
|
@@ -27932,17 +28890,17 @@
|
|
|
27932
28890
|
"x-ellipsis-undocumented": true
|
|
27933
28891
|
}
|
|
27934
28892
|
},
|
|
27935
|
-
"/v1/alerts/{
|
|
28893
|
+
"/v1/alerts/{id}": {
|
|
27936
28894
|
"get": {
|
|
27937
28895
|
"description": "Return one alert by id.\n\n404 if it doesn't exist or belongs to another organization.",
|
|
27938
28896
|
"operationId": "get_alert",
|
|
27939
28897
|
"parameters": [
|
|
27940
28898
|
{
|
|
27941
28899
|
"in": "path",
|
|
27942
|
-
"name": "
|
|
28900
|
+
"name": "id",
|
|
27943
28901
|
"required": true,
|
|
27944
28902
|
"schema": {
|
|
27945
|
-
"title": "
|
|
28903
|
+
"title": "Id",
|
|
27946
28904
|
"type": "string"
|
|
27947
28905
|
}
|
|
27948
28906
|
},
|
|
@@ -28069,17 +29027,17 @@
|
|
|
28069
29027
|
"x-ellipsis-undocumented": true
|
|
28070
29028
|
}
|
|
28071
29029
|
},
|
|
28072
|
-
"/v1/alerts/{
|
|
29030
|
+
"/v1/alerts/{id}/dismiss": {
|
|
28073
29031
|
"post": {
|
|
28074
29032
|
"description": "Dismiss an open alert and return it.\n\n409 when the alert is not open; 404 when it doesn't exist.",
|
|
28075
29033
|
"operationId": "dismiss_alert",
|
|
28076
29034
|
"parameters": [
|
|
28077
29035
|
{
|
|
28078
29036
|
"in": "path",
|
|
28079
|
-
"name": "
|
|
29037
|
+
"name": "id",
|
|
28080
29038
|
"required": true,
|
|
28081
29039
|
"schema": {
|
|
28082
|
-
"title": "
|
|
29040
|
+
"title": "Id",
|
|
28083
29041
|
"type": "string"
|
|
28084
29042
|
}
|
|
28085
29043
|
},
|
|
@@ -29355,17 +30313,17 @@
|
|
|
29355
30313
|
"x-ellipsis-sdk-method": "environments.create"
|
|
29356
30314
|
}
|
|
29357
30315
|
},
|
|
29358
|
-
"/v1/environments/{
|
|
30316
|
+
"/v1/environments/{id}": {
|
|
29359
30317
|
"delete": {
|
|
29360
30318
|
"description": "Delete an environment, by id or by name.\n\nAlways succeeds, even while agents still reference it \u2014 their next\nsession start fails with a clear error naming the missing\nenvironment. Past sessions remain readable. Only for environments\nmanaged through this API \u2014 delete the file to remove one defined\nby a repository.",
|
|
29361
30319
|
"operationId": "delete_environment",
|
|
29362
30320
|
"parameters": [
|
|
29363
30321
|
{
|
|
29364
30322
|
"in": "path",
|
|
29365
|
-
"name": "
|
|
30323
|
+
"name": "id",
|
|
29366
30324
|
"required": true,
|
|
29367
30325
|
"schema": {
|
|
29368
|
-
"title": "
|
|
30326
|
+
"title": "Id",
|
|
29369
30327
|
"type": "string"
|
|
29370
30328
|
}
|
|
29371
30329
|
},
|
|
@@ -29499,10 +30457,10 @@
|
|
|
29499
30457
|
"parameters": [
|
|
29500
30458
|
{
|
|
29501
30459
|
"in": "path",
|
|
29502
|
-
"name": "
|
|
30460
|
+
"name": "id",
|
|
29503
30461
|
"required": true,
|
|
29504
30462
|
"schema": {
|
|
29505
|
-
"title": "
|
|
30463
|
+
"title": "Id",
|
|
29506
30464
|
"type": "string"
|
|
29507
30465
|
}
|
|
29508
30466
|
},
|
|
@@ -29633,10 +30591,10 @@
|
|
|
29633
30591
|
"parameters": [
|
|
29634
30592
|
{
|
|
29635
30593
|
"in": "path",
|
|
29636
|
-
"name": "
|
|
30594
|
+
"name": "id",
|
|
29637
30595
|
"required": true,
|
|
29638
30596
|
"schema": {
|
|
29639
|
-
"title": "
|
|
30597
|
+
"title": "Id",
|
|
29640
30598
|
"type": "string"
|
|
29641
30599
|
}
|
|
29642
30600
|
},
|
|
@@ -29910,17 +30868,17 @@
|
|
|
29910
30868
|
"x-ellipsis-sdk-method": "handlers.list"
|
|
29911
30869
|
}
|
|
29912
30870
|
},
|
|
29913
|
-
"/v1/handlers/{
|
|
30871
|
+
"/v1/handlers/{id}/metrics": {
|
|
29914
30872
|
"get": {
|
|
29915
30873
|
"description": "Return session counts and accumulated spend for a saved handler.\n\nFilters only by session creation time. Omitted bounds include all\nhistory. Counts use the current turn and conversation state, so an open\nconversation awaiting another message remains active. Spend includes the selected sessions' full\naccumulated cost, including activity after the creation-time window.\nOnly sessions carrying this exact saved handler id are counted;\nlegacy sessions without handler provenance are excluded.\n\nspend_windows reports current trailing 1-, 7-, and 28-day credit\ndebits and effective handler budgets across all attributed sessions.\nThose windows use usage timestamps and are independent of start/end.\n\nRequires configs:read matching handlers/{service} and unrestricted\nsessions:read. Session tokens with both grants may read metrics.",
|
|
29916
30874
|
"operationId": "get_handler_metrics",
|
|
29917
30875
|
"parameters": [
|
|
29918
30876
|
{
|
|
29919
30877
|
"in": "path",
|
|
29920
|
-
"name": "
|
|
30878
|
+
"name": "id",
|
|
29921
30879
|
"required": true,
|
|
29922
30880
|
"schema": {
|
|
29923
|
-
"title": "
|
|
30881
|
+
"title": "Id",
|
|
29924
30882
|
"type": "string"
|
|
29925
30883
|
}
|
|
29926
30884
|
},
|
|
@@ -31169,16 +32127,16 @@
|
|
|
31169
32127
|
"x-ellipsis-sdk-method": "integrations.sentry.organizations"
|
|
31170
32128
|
}
|
|
31171
32129
|
},
|
|
31172
|
-
"/v1/integrations/sentry/{
|
|
32130
|
+
"/v1/integrations/sentry/{id}": {
|
|
31173
32131
|
"delete": {
|
|
31174
32132
|
"operationId": "delete_sentry_integration",
|
|
31175
32133
|
"parameters": [
|
|
31176
32134
|
{
|
|
31177
32135
|
"in": "path",
|
|
31178
|
-
"name": "
|
|
32136
|
+
"name": "id",
|
|
31179
32137
|
"required": true,
|
|
31180
32138
|
"schema": {
|
|
31181
|
-
"title": "
|
|
32139
|
+
"title": "Id",
|
|
31182
32140
|
"type": "string"
|
|
31183
32141
|
}
|
|
31184
32142
|
},
|
|
@@ -32157,17 +33115,17 @@
|
|
|
32157
33115
|
"x-ellipsis-sdk-method": "reviews.configs.list"
|
|
32158
33116
|
}
|
|
32159
33117
|
},
|
|
32160
|
-
"/v1/reviews/{
|
|
33118
|
+
"/v1/reviews/{id}": {
|
|
32161
33119
|
"get": {
|
|
32162
33120
|
"description": "Get a code review: its reviewers and every comment they returned, posted or held back.",
|
|
32163
33121
|
"operationId": "get_review",
|
|
32164
33122
|
"parameters": [
|
|
32165
33123
|
{
|
|
32166
33124
|
"in": "path",
|
|
32167
|
-
"name": "
|
|
33125
|
+
"name": "id",
|
|
32168
33126
|
"required": true,
|
|
32169
33127
|
"schema": {
|
|
32170
|
-
"title": "
|
|
33128
|
+
"title": "Id",
|
|
32171
33129
|
"type": "string"
|
|
32172
33130
|
}
|
|
32173
33131
|
},
|
|
@@ -32861,13 +33819,13 @@
|
|
|
32861
33819
|
}
|
|
32862
33820
|
},
|
|
32863
33821
|
{
|
|
32864
|
-
"description": "Keep only sessions whose current turn is
|
|
33822
|
+
"description": "Keep only sessions whose current turn is queued, preparing, or running.",
|
|
32865
33823
|
"in": "query",
|
|
32866
33824
|
"name": "unfinished",
|
|
32867
33825
|
"required": false,
|
|
32868
33826
|
"schema": {
|
|
32869
33827
|
"default": false,
|
|
32870
|
-
"description": "Keep only sessions whose current turn is
|
|
33828
|
+
"description": "Keep only sessions whose current turn is queued, preparing, or running.",
|
|
32871
33829
|
"title": "Unfinished",
|
|
32872
33830
|
"type": "boolean"
|
|
32873
33831
|
}
|
|
@@ -32985,7 +33943,7 @@
|
|
|
32985
33943
|
"x-ellipsis-sdk-method": "sessions.list"
|
|
32986
33944
|
},
|
|
32987
33945
|
"post": {
|
|
32988
|
-
"description": "Start a cloud agent session.\n\nThe daily driver: a prompt, optionally where to run it\n(`environment`) and the session's own settings, in the AgentConfig\nvocabulary. What you send is what runs: omit `environment` and the\nsession runs in the built-in basic environment. A missing model or\nbudget comes from the organization's settings, so\n`{\"claude_code\": {\"prompt\": \"...\"}}` is a complete request.\nSet exactly one of `claude_code` or `codex`. Its `prompt` is the\nfirst message; omit the prompt and the session starts with no\nturn, waiting for one. 400 when `conversation.interactive` is false\nand there is no prompt, or when `budget.session` exceeds the\norganization's per-session ceiling. To start a session from a saved\nagent, use POST /v1/agents/{
|
|
33946
|
+
"description": "Start a cloud agent session.\n\nThe daily driver: a prompt, optionally where to run it\n(`environment`) and the session's own settings, in the AgentConfig\nvocabulary. What you send is what runs: omit `environment` and the\nsession runs in the built-in basic environment. A missing model or\nbudget comes from the organization's settings, so\n`{\"claude_code\": {\"prompt\": \"...\"}}` is a complete request.\nSet exactly one of `claude_code` or `codex`. Its `prompt` is the\nfirst message; omit the prompt and the session starts with no\nturn, waiting for one. 400 when `conversation.interactive` is false\nand there is no prompt, or when `budget.session` exceeds the\norganization's per-session ceiling. To start a session from a saved\nagent, use POST /v1/agents/{id}/sessions.",
|
|
32989
33947
|
"operationId": "start_session",
|
|
32990
33948
|
"parameters": [
|
|
32991
33949
|
{
|
|
@@ -33587,17 +34545,17 @@
|
|
|
33587
34545
|
"x-ellipsis-sdk-method": "sessions.stream_ticket"
|
|
33588
34546
|
}
|
|
33589
34547
|
},
|
|
33590
|
-
"/v1/sessions/{
|
|
34548
|
+
"/v1/sessions/{id}": {
|
|
33591
34549
|
"get": {
|
|
33592
34550
|
"description": "Return one session.\n\nThe public wire shape, the same shape the stream's session frames\ncarry, with attribution, stop, and archive actors resolved at read\ntime. `turn` is the turn in progress or the latest one.\n\nThe heavy near-static blobs (config snapshot, input/output)\nlive on the detail endpoints, not here.",
|
|
33593
34551
|
"operationId": "get_session",
|
|
33594
34552
|
"parameters": [
|
|
33595
34553
|
{
|
|
33596
34554
|
"in": "path",
|
|
33597
|
-
"name": "
|
|
34555
|
+
"name": "id",
|
|
33598
34556
|
"required": true,
|
|
33599
34557
|
"schema": {
|
|
33600
|
-
"title": "
|
|
34558
|
+
"title": "Id",
|
|
33601
34559
|
"type": "string"
|
|
33602
34560
|
}
|
|
33603
34561
|
},
|
|
@@ -33729,10 +34687,10 @@
|
|
|
33729
34687
|
"parameters": [
|
|
33730
34688
|
{
|
|
33731
34689
|
"in": "path",
|
|
33732
|
-
"name": "
|
|
34690
|
+
"name": "id",
|
|
33733
34691
|
"required": true,
|
|
33734
34692
|
"schema": {
|
|
33735
|
-
"title": "
|
|
34693
|
+
"title": "Id",
|
|
33736
34694
|
"type": "string"
|
|
33737
34695
|
}
|
|
33738
34696
|
},
|
|
@@ -33869,17 +34827,17 @@
|
|
|
33869
34827
|
"x-ellipsis-sdk-method": "sessions.update"
|
|
33870
34828
|
}
|
|
33871
34829
|
},
|
|
33872
|
-
"/v1/sessions/{
|
|
34830
|
+
"/v1/sessions/{id}/analytics": {
|
|
33873
34831
|
"get": {
|
|
33874
34832
|
"description": "Measured tokens and spend over time, plus estimated content cost.\n\nToken lanes use the request's saved rates. Content attribution\napportions input/cache spend by text size, counting carried context\non every request. It is an estimate, not a tool call fee.\nOnly the latest 200 retained request bodies are inspected; missing\nor unsupported context remains explicitly unattributed. No raw\nprompts or tool results are returned. Session tokens may read only\ntheir own session's analytics.",
|
|
33875
34833
|
"operationId": "get_session_analytics",
|
|
33876
34834
|
"parameters": [
|
|
33877
34835
|
{
|
|
33878
34836
|
"in": "path",
|
|
33879
|
-
"name": "
|
|
34837
|
+
"name": "id",
|
|
33880
34838
|
"required": true,
|
|
33881
34839
|
"schema": {
|
|
33882
|
-
"title": "
|
|
34840
|
+
"title": "Id",
|
|
33883
34841
|
"type": "string"
|
|
33884
34842
|
}
|
|
33885
34843
|
},
|
|
@@ -33997,17 +34955,17 @@
|
|
|
33997
34955
|
"x-ellipsis-sdk-method": "sessions.analytics"
|
|
33998
34956
|
}
|
|
33999
34957
|
},
|
|
34000
|
-
"/v1/sessions/{
|
|
34958
|
+
"/v1/sessions/{id}/diff": {
|
|
34001
34959
|
"get": {
|
|
34002
34960
|
"description": "Return the session's uncommitted changes as a patch.\n\nOne unified-diff section per changed file, captured from the\nenvironment's working tree when the session ended. The per-file\ncounts ride on the session itself (`git.repos[].files`); this\nis the text behind them. Empty when the tree was clean. A\nsession token may read only its own session's diff.",
|
|
34003
34961
|
"operationId": "get_session_diff",
|
|
34004
34962
|
"parameters": [
|
|
34005
34963
|
{
|
|
34006
34964
|
"in": "path",
|
|
34007
|
-
"name": "
|
|
34965
|
+
"name": "id",
|
|
34008
34966
|
"required": true,
|
|
34009
34967
|
"schema": {
|
|
34010
|
-
"title": "
|
|
34968
|
+
"title": "Id",
|
|
34011
34969
|
"type": "string"
|
|
34012
34970
|
}
|
|
34013
34971
|
},
|
|
@@ -34135,17 +35093,17 @@
|
|
|
34135
35093
|
"x-ellipsis-sdk-method": "sessions.diff"
|
|
34136
35094
|
}
|
|
34137
35095
|
},
|
|
34138
|
-
"/v1/sessions/{
|
|
35096
|
+
"/v1/sessions/{id}/download": {
|
|
34139
35097
|
"get": {
|
|
34140
35098
|
"description": "Download the complete session history.\n\nThe complete, ordered history of the session (agent output, tool calls, thinking,\nlifecycle events, environment output, message events) as an ordered\nmanifest of presigned segment URLs.\n\nSegments are gzip members: download in order and concatenate\nfor one file. The JSON API never carries the bytes (same\ntwo-step as files). /records is the paged live view of the\nsame data.",
|
|
34141
35099
|
"operationId": "download_session",
|
|
34142
35100
|
"parameters": [
|
|
34143
35101
|
{
|
|
34144
35102
|
"in": "path",
|
|
34145
|
-
"name": "
|
|
35103
|
+
"name": "id",
|
|
34146
35104
|
"required": true,
|
|
34147
35105
|
"schema": {
|
|
34148
|
-
"title": "
|
|
35106
|
+
"title": "Id",
|
|
34149
35107
|
"type": "string"
|
|
34150
35108
|
}
|
|
34151
35109
|
},
|
|
@@ -34272,17 +35230,17 @@
|
|
|
34272
35230
|
"x-ellipsis-sdk-method": "sessions.download"
|
|
34273
35231
|
}
|
|
34274
35232
|
},
|
|
34275
|
-
"/v1/sessions/{
|
|
35233
|
+
"/v1/sessions/{id}/git": {
|
|
34276
35234
|
"get": {
|
|
34277
35235
|
"description": "The session's GitHub-side git view: its commits, and each PR it\nopened joined to the live gh_prs row and reviews. The identity list\n(output_git) rides the session itself over the WebSocket; this is\nthe join a \"run\" notify tells an open pane to refetch.",
|
|
34278
35236
|
"operationId": "get_session_git",
|
|
34279
35237
|
"parameters": [
|
|
34280
35238
|
{
|
|
34281
35239
|
"in": "path",
|
|
34282
|
-
"name": "
|
|
35240
|
+
"name": "id",
|
|
34283
35241
|
"required": true,
|
|
34284
35242
|
"schema": {
|
|
34285
|
-
"title": "
|
|
35243
|
+
"title": "Id",
|
|
34286
35244
|
"type": "string"
|
|
34287
35245
|
}
|
|
34288
35246
|
},
|
|
@@ -34399,17 +35357,17 @@
|
|
|
34399
35357
|
"x-ellipsis-sdk-method": "sessions.git"
|
|
34400
35358
|
}
|
|
34401
35359
|
},
|
|
34402
|
-
"/v1/sessions/{
|
|
35360
|
+
"/v1/sessions/{id}/messages": {
|
|
34403
35361
|
"post": {
|
|
34404
35362
|
"description": "Send a message to a session.\n\n409 for mention, non-interactive, closed, and out-of-budget\nsessions. Returns the created message and its turn; a retried send\nwith the same idempotency_key returns the original ones.",
|
|
34405
35363
|
"operationId": "send_session_message",
|
|
34406
35364
|
"parameters": [
|
|
34407
35365
|
{
|
|
34408
35366
|
"in": "path",
|
|
34409
|
-
"name": "
|
|
35367
|
+
"name": "id",
|
|
34410
35368
|
"required": true,
|
|
34411
35369
|
"schema": {
|
|
34412
|
-
"title": "
|
|
35370
|
+
"title": "Id",
|
|
34413
35371
|
"type": "string"
|
|
34414
35372
|
}
|
|
34415
35373
|
},
|
|
@@ -34566,17 +35524,17 @@
|
|
|
34566
35524
|
"x-ellipsis-sdk-method": "sessions.send_message"
|
|
34567
35525
|
}
|
|
34568
35526
|
},
|
|
34569
|
-
"/v1/sessions/{
|
|
35527
|
+
"/v1/sessions/{id}/metrics": {
|
|
34570
35528
|
"get": {
|
|
34571
35529
|
"description": "List the CPU, memory, swap, and disk readings of every VM the\nsession ran on, oldest first.\n\nA reading is taken every 5 seconds while the session runs.",
|
|
34572
35530
|
"operationId": "get_session_metrics",
|
|
34573
35531
|
"parameters": [
|
|
34574
35532
|
{
|
|
34575
35533
|
"in": "path",
|
|
34576
|
-
"name": "
|
|
35534
|
+
"name": "id",
|
|
34577
35535
|
"required": true,
|
|
34578
35536
|
"schema": {
|
|
34579
|
-
"title": "
|
|
35537
|
+
"title": "Id",
|
|
34580
35538
|
"type": "string"
|
|
34581
35539
|
}
|
|
34582
35540
|
},
|
|
@@ -34695,17 +35653,17 @@
|
|
|
34695
35653
|
"x-ellipsis-undocumented": true
|
|
34696
35654
|
}
|
|
34697
35655
|
},
|
|
34698
|
-
"/v1/sessions/{
|
|
35656
|
+
"/v1/sessions/{id}/records": {
|
|
34699
35657
|
"get": {
|
|
34700
35658
|
"description": "Return the session's stored transcript records, oldest first.\n\nPagination is opt-in (cursor/limit); a bare call returns the\nfull retained transcript. Available to session tokens too: an\nagent answering \"did X look into Y?\" needs to read the sessions\nit finds, and any org member sees the same transcript in the\ndashboard.",
|
|
34701
35659
|
"operationId": "get_session_records",
|
|
34702
35660
|
"parameters": [
|
|
34703
35661
|
{
|
|
34704
35662
|
"in": "path",
|
|
34705
|
-
"name": "
|
|
35663
|
+
"name": "id",
|
|
34706
35664
|
"required": true,
|
|
34707
35665
|
"schema": {
|
|
34708
|
-
"title": "
|
|
35666
|
+
"title": "Id",
|
|
34709
35667
|
"type": "string"
|
|
34710
35668
|
}
|
|
34711
35669
|
},
|
|
@@ -34866,17 +35824,17 @@
|
|
|
34866
35824
|
"x-ellipsis-sdk-method": "sessions.records"
|
|
34867
35825
|
}
|
|
34868
35826
|
},
|
|
34869
|
-
"/v1/sessions/{
|
|
35827
|
+
"/v1/sessions/{id}/stop": {
|
|
34870
35828
|
"post": {
|
|
34871
|
-
"description": "Stop the turn in progress and return the session.\n\nThe turn ends `stopped`; the conversation stays open. 409 when no\nturn is
|
|
35829
|
+
"description": "Stop the turn in progress and return the session.\n\nThe turn ends `stopped`; the conversation stays open. 409 when no\nturn is queued, preparing, or running. The stopping user is recorded only\nwhen the caller's credential maps to a GitHub account.",
|
|
34872
35830
|
"operationId": "stop_session",
|
|
34873
35831
|
"parameters": [
|
|
34874
35832
|
{
|
|
34875
35833
|
"in": "path",
|
|
34876
|
-
"name": "
|
|
35834
|
+
"name": "id",
|
|
34877
35835
|
"required": true,
|
|
34878
35836
|
"schema": {
|
|
34879
|
-
"title": "
|
|
35837
|
+
"title": "Id",
|
|
34880
35838
|
"type": "string"
|
|
34881
35839
|
}
|
|
34882
35840
|
},
|
|
@@ -34946,7 +35904,7 @@
|
|
|
34946
35904
|
}
|
|
34947
35905
|
}
|
|
34948
35906
|
},
|
|
34949
|
-
"description": "No turn is
|
|
35907
|
+
"description": "No turn is queued, preparing, or running."
|
|
34950
35908
|
},
|
|
34951
35909
|
"422": {
|
|
34952
35910
|
"content": {
|
|
@@ -35013,16 +35971,16 @@
|
|
|
35013
35971
|
"x-ellipsis-sdk-method": "sessions.stop"
|
|
35014
35972
|
}
|
|
35015
35973
|
},
|
|
35016
|
-
"/v1/sessions/{
|
|
35974
|
+
"/v1/sessions/{id}/stream-ticket": {
|
|
35017
35975
|
"get": {
|
|
35018
35976
|
"operationId": "get_session_stream_ticket",
|
|
35019
35977
|
"parameters": [
|
|
35020
35978
|
{
|
|
35021
35979
|
"in": "path",
|
|
35022
|
-
"name": "
|
|
35980
|
+
"name": "id",
|
|
35023
35981
|
"required": true,
|
|
35024
35982
|
"schema": {
|
|
35025
|
-
"title": "
|
|
35983
|
+
"title": "Id",
|
|
35026
35984
|
"type": "string"
|
|
35027
35985
|
}
|
|
35028
35986
|
},
|
|
@@ -35139,17 +36097,17 @@
|
|
|
35139
36097
|
"x-ellipsis-sdk-method": "sessions.session_stream_ticket"
|
|
35140
36098
|
}
|
|
35141
36099
|
},
|
|
35142
|
-
"/v1/sessions/{
|
|
36100
|
+
"/v1/sessions/{id}/transcript": {
|
|
35143
36101
|
"post": {
|
|
35144
36102
|
"description": "Append transcript lines to a session's record.\n\n The transcript tailer running inside the session's environment, for\ninteractive sessions.\n\n A session token may only push its own session's transcript.\n Idempotent by transcript line uuid; tolerant of malformed lines.",
|
|
35145
36103
|
"operationId": "ingest_session_transcript",
|
|
35146
36104
|
"parameters": [
|
|
35147
36105
|
{
|
|
35148
36106
|
"in": "path",
|
|
35149
|
-
"name": "
|
|
36107
|
+
"name": "id",
|
|
35150
36108
|
"required": true,
|
|
35151
36109
|
"schema": {
|
|
35152
|
-
"title": "
|
|
36110
|
+
"title": "Id",
|
|
35153
36111
|
"type": "string"
|
|
35154
36112
|
}
|
|
35155
36113
|
},
|
|
@@ -35298,17 +36256,17 @@
|
|
|
35298
36256
|
"x-ellipsis-undocumented": true
|
|
35299
36257
|
}
|
|
35300
36258
|
},
|
|
35301
|
-
"/v1/sessions/{
|
|
36259
|
+
"/v1/sessions/{id}/turns": {
|
|
35302
36260
|
"get": {
|
|
35303
36261
|
"description": "Return the session's turns and messages, oldest first.\n\nOne turn per message: pending until the agent starts on it,\nrunning while it works, then completed, failed, stopped, or\ncancelled.",
|
|
35304
36262
|
"operationId": "get_session_turns",
|
|
35305
36263
|
"parameters": [
|
|
35306
36264
|
{
|
|
35307
36265
|
"in": "path",
|
|
35308
|
-
"name": "
|
|
36266
|
+
"name": "id",
|
|
35309
36267
|
"required": true,
|
|
35310
36268
|
"schema": {
|
|
35311
|
-
"title": "
|
|
36269
|
+
"title": "Id",
|
|
35312
36270
|
"type": "string"
|
|
35313
36271
|
}
|
|
35314
36272
|
},
|
|
@@ -35435,7 +36393,7 @@
|
|
|
35435
36393
|
"x-ellipsis-sdk-method": "sessions.turns.list"
|
|
35436
36394
|
}
|
|
35437
36395
|
},
|
|
35438
|
-
"/v1/sessions/{session_id}/turns/{
|
|
36396
|
+
"/v1/sessions/{session_id}/turns/{id}": {
|
|
35439
36397
|
"get": {
|
|
35440
36398
|
"description": "Return one turn.\n\nPoll this after sending a message: the message is answered when\nthe turn's status is completed, failed, stopped, or cancelled.",
|
|
35441
36399
|
"operationId": "get_session_turn",
|
|
@@ -35451,10 +36409,10 @@
|
|
|
35451
36409
|
},
|
|
35452
36410
|
{
|
|
35453
36411
|
"in": "path",
|
|
35454
|
-
"name": "
|
|
36412
|
+
"name": "id",
|
|
35455
36413
|
"required": true,
|
|
35456
36414
|
"schema": {
|
|
35457
|
-
"title": "
|
|
36415
|
+
"title": "Id",
|
|
35458
36416
|
"type": "string"
|
|
35459
36417
|
}
|
|
35460
36418
|
},
|
|
@@ -36077,17 +37035,17 @@
|
|
|
36077
37035
|
"x-ellipsis-undocumented": true
|
|
36078
37036
|
}
|
|
36079
37037
|
},
|
|
36080
|
-
"/v1/templates/{
|
|
37038
|
+
"/v1/templates/{id}": {
|
|
36081
37039
|
"get": {
|
|
36082
37040
|
"description": "Return one built-in agent template by slug.",
|
|
36083
37041
|
"operationId": "get_agent_template",
|
|
36084
37042
|
"parameters": [
|
|
36085
37043
|
{
|
|
36086
37044
|
"in": "path",
|
|
36087
|
-
"name": "
|
|
37045
|
+
"name": "id",
|
|
36088
37046
|
"required": true,
|
|
36089
37047
|
"schema": {
|
|
36090
|
-
"title": "
|
|
37048
|
+
"title": "Id",
|
|
36091
37049
|
"type": "string"
|
|
36092
37050
|
}
|
|
36093
37051
|
},
|
|
@@ -37145,16 +38103,16 @@
|
|
|
37145
38103
|
"x-ellipsis-sdk-method": "user.tokens.list"
|
|
37146
38104
|
}
|
|
37147
38105
|
},
|
|
37148
|
-
"/v1/user/tokens/{
|
|
38106
|
+
"/v1/user/tokens/{id}": {
|
|
37149
38107
|
"delete": {
|
|
37150
38108
|
"operationId": "revoke_user_token",
|
|
37151
38109
|
"parameters": [
|
|
37152
38110
|
{
|
|
37153
38111
|
"in": "path",
|
|
37154
|
-
"name": "
|
|
38112
|
+
"name": "id",
|
|
37155
38113
|
"required": true,
|
|
37156
38114
|
"schema": {
|
|
37157
|
-
"title": "
|
|
38115
|
+
"title": "Id",
|
|
37158
38116
|
"type": "string"
|
|
37159
38117
|
}
|
|
37160
38118
|
},
|
|
@@ -37394,16 +38352,16 @@
|
|
|
37394
38352
|
"x-ellipsis-undocumented": true
|
|
37395
38353
|
}
|
|
37396
38354
|
},
|
|
37397
|
-
"/v1/vm-executions/{
|
|
38355
|
+
"/v1/vm-executions/{id}": {
|
|
37398
38356
|
"get": {
|
|
37399
38357
|
"operationId": "get_single_vm_execution",
|
|
37400
38358
|
"parameters": [
|
|
37401
38359
|
{
|
|
37402
38360
|
"in": "path",
|
|
37403
|
-
"name": "
|
|
38361
|
+
"name": "id",
|
|
37404
38362
|
"required": true,
|
|
37405
38363
|
"schema": {
|
|
37406
|
-
"title": "
|
|
38364
|
+
"title": "Id",
|
|
37407
38365
|
"type": "string"
|
|
37408
38366
|
}
|
|
37409
38367
|
},
|
|
@@ -37521,16 +38479,16 @@
|
|
|
37521
38479
|
"x-ellipsis-undocumented": true
|
|
37522
38480
|
}
|
|
37523
38481
|
},
|
|
37524
|
-
"/v1/vm-executions/{
|
|
38482
|
+
"/v1/vm-executions/{id}/stream-ticket": {
|
|
37525
38483
|
"get": {
|
|
37526
38484
|
"operationId": "get_vm_execution_stream_ticket",
|
|
37527
38485
|
"parameters": [
|
|
37528
38486
|
{
|
|
37529
38487
|
"in": "path",
|
|
37530
|
-
"name": "
|
|
38488
|
+
"name": "id",
|
|
37531
38489
|
"required": true,
|
|
37532
38490
|
"schema": {
|
|
37533
|
-
"title": "
|
|
38491
|
+
"title": "Id",
|
|
37534
38492
|
"type": "string"
|
|
37535
38493
|
}
|
|
37536
38494
|
},
|
|
@@ -37791,17 +38749,17 @@
|
|
|
37791
38749
|
"x-ellipsis-undocumented": true
|
|
37792
38750
|
}
|
|
37793
38751
|
},
|
|
37794
|
-
"/v1/vm-images/{
|
|
38752
|
+
"/v1/vm-images/{id}": {
|
|
37795
38753
|
"get": {
|
|
37796
38754
|
"description": "Get metadata for a reusable VM image.",
|
|
37797
38755
|
"operationId": "get_vm_image",
|
|
37798
38756
|
"parameters": [
|
|
37799
38757
|
{
|
|
37800
38758
|
"in": "path",
|
|
37801
|
-
"name": "
|
|
38759
|
+
"name": "id",
|
|
37802
38760
|
"required": true,
|
|
37803
38761
|
"schema": {
|
|
37804
|
-
"title": "
|
|
38762
|
+
"title": "Id",
|
|
37805
38763
|
"type": "string"
|
|
37806
38764
|
}
|
|
37807
38765
|
},
|
|
@@ -38063,17 +39021,17 @@
|
|
|
38063
39021
|
"x-ellipsis-undocumented": true
|
|
38064
39022
|
}
|
|
38065
39023
|
},
|
|
38066
|
-
"/v1/vms/{
|
|
39024
|
+
"/v1/vms/{id}": {
|
|
38067
39025
|
"get": {
|
|
38068
39026
|
"description": "Get a VM and its most recent execution.",
|
|
38069
39027
|
"operationId": "get_vm",
|
|
38070
39028
|
"parameters": [
|
|
38071
39029
|
{
|
|
38072
39030
|
"in": "path",
|
|
38073
|
-
"name": "
|
|
39031
|
+
"name": "id",
|
|
38074
39032
|
"required": true,
|
|
38075
39033
|
"schema": {
|
|
38076
|
-
"title": "
|
|
39034
|
+
"title": "Id",
|
|
38077
39035
|
"type": "string"
|
|
38078
39036
|
}
|
|
38079
39037
|
},
|
|
@@ -38192,17 +39150,17 @@
|
|
|
38192
39150
|
"x-ellipsis-undocumented": true
|
|
38193
39151
|
}
|
|
38194
39152
|
},
|
|
38195
|
-
"/v1/vms/{
|
|
39153
|
+
"/v1/vms/{id}/metrics": {
|
|
38196
39154
|
"get": {
|
|
38197
39155
|
"description": "List a VM's CPU, memory, swap, and disk readings, oldest first.\n\nA reading is taken every 5 seconds while a session runs on the VM.",
|
|
38198
39156
|
"operationId": "list_vm_metrics",
|
|
38199
39157
|
"parameters": [
|
|
38200
39158
|
{
|
|
38201
39159
|
"in": "path",
|
|
38202
|
-
"name": "
|
|
39160
|
+
"name": "id",
|
|
38203
39161
|
"required": true,
|
|
38204
39162
|
"schema": {
|
|
38205
|
-
"title": "
|
|
39163
|
+
"title": "Id",
|
|
38206
39164
|
"type": "string"
|
|
38207
39165
|
}
|
|
38208
39166
|
},
|
|
@@ -38868,17 +39826,17 @@
|
|
|
38868
39826
|
"x-ellipsis-sdk-method": "webhooks.deliveries.list"
|
|
38869
39827
|
}
|
|
38870
39828
|
},
|
|
38871
|
-
"/v1/webhooks/deliveries/{
|
|
39829
|
+
"/v1/webhooks/deliveries/{id}": {
|
|
38872
39830
|
"get": {
|
|
38873
39831
|
"description": "Inspect a delivery's payload and attempts.\n\nPayloads are immutable across retries. Attempt details include HTTP\nstatus, timing, and errors. Response bodies are not retained.",
|
|
38874
39832
|
"operationId": "get_webhook_delivery",
|
|
38875
39833
|
"parameters": [
|
|
38876
39834
|
{
|
|
38877
39835
|
"in": "path",
|
|
38878
|
-
"name": "
|
|
39836
|
+
"name": "id",
|
|
38879
39837
|
"required": true,
|
|
38880
39838
|
"schema": {
|
|
38881
|
-
"title": "
|
|
39839
|
+
"title": "Id",
|
|
38882
39840
|
"type": "string"
|
|
38883
39841
|
}
|
|
38884
39842
|
},
|
|
@@ -39004,17 +39962,17 @@
|
|
|
39004
39962
|
"x-ellipsis-sdk-method": "webhooks.deliveries.get"
|
|
39005
39963
|
}
|
|
39006
39964
|
},
|
|
39007
|
-
"/v1/webhooks/{
|
|
39965
|
+
"/v1/webhooks/{id}": {
|
|
39008
39966
|
"delete": {
|
|
39009
39967
|
"description": "Delete a webhook and cancel outstanding deliveries.\n\nAn HTTP request already in flight may finish. Delivery history remains\navailable for 30 days. Deletion frees a webhook slot.",
|
|
39010
39968
|
"operationId": "delete_webhook",
|
|
39011
39969
|
"parameters": [
|
|
39012
39970
|
{
|
|
39013
39971
|
"in": "path",
|
|
39014
|
-
"name": "
|
|
39972
|
+
"name": "id",
|
|
39015
39973
|
"required": true,
|
|
39016
39974
|
"schema": {
|
|
39017
|
-
"title": "
|
|
39975
|
+
"title": "Id",
|
|
39018
39976
|
"type": "string"
|
|
39019
39977
|
}
|
|
39020
39978
|
},
|
|
@@ -39138,10 +40096,10 @@
|
|
|
39138
40096
|
"parameters": [
|
|
39139
40097
|
{
|
|
39140
40098
|
"in": "path",
|
|
39141
|
-
"name": "
|
|
40099
|
+
"name": "id",
|
|
39142
40100
|
"required": true,
|
|
39143
40101
|
"schema": {
|
|
39144
|
-
"title": "
|
|
40102
|
+
"title": "Id",
|
|
39145
40103
|
"type": "string"
|
|
39146
40104
|
}
|
|
39147
40105
|
},
|
|
@@ -39272,10 +40230,10 @@
|
|
|
39272
40230
|
"parameters": [
|
|
39273
40231
|
{
|
|
39274
40232
|
"in": "path",
|
|
39275
|
-
"name": "
|
|
40233
|
+
"name": "id",
|
|
39276
40234
|
"required": true,
|
|
39277
40235
|
"schema": {
|
|
39278
|
-
"title": "
|
|
40236
|
+
"title": "Id",
|
|
39279
40237
|
"type": "string"
|
|
39280
40238
|
}
|
|
39281
40239
|
},
|
|
@@ -39421,17 +40379,17 @@
|
|
|
39421
40379
|
"x-ellipsis-sdk-method": "webhooks.update"
|
|
39422
40380
|
}
|
|
39423
40381
|
},
|
|
39424
|
-
"/v1/webhooks/{
|
|
40382
|
+
"/v1/webhooks/{id}/ping": {
|
|
39425
40383
|
"post": {
|
|
39426
40384
|
"description": "Send a signed verification or test ping.\n\nAvailable in every state. Only HTTP 200 verifies a destination;\nsuccessful pings never activate it. The default limit is five pings per\naccount per minute, including creation and URL changes. Custom\naccount allowances apply.",
|
|
39427
40385
|
"operationId": "ping_webhook",
|
|
39428
40386
|
"parameters": [
|
|
39429
40387
|
{
|
|
39430
40388
|
"in": "path",
|
|
39431
|
-
"name": "
|
|
40389
|
+
"name": "id",
|
|
39432
40390
|
"required": true,
|
|
39433
40391
|
"schema": {
|
|
39434
|
-
"title": "
|
|
40392
|
+
"title": "Id",
|
|
39435
40393
|
"type": "string"
|
|
39436
40394
|
}
|
|
39437
40395
|
},
|