@ellipsis-dev/sdk 0.32.0 → 0.33.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/index.d.ts +273 -125
- package/dist/index.js +103 -103
- package/dist/store/index.d.ts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/dist/{types-DjY1VcOe.d.ts → types-CtvhpMyt.d.ts} +1014 -598
- package/package.json +1 -1
- package/schema/collection_frames.schema.json +826 -122
- package/schema/frames.schema.json +889 -191
- package/schema/openapi.v1.json +1501 -726
- 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. Concurrent paid requests are bounded by\nthe account and per-session platform allowances.",
|
|
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.",
|
|
@@ -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": {
|
|
@@ -13047,30 +13474,30 @@
|
|
|
13047
13474
|
"type": "string"
|
|
13048
13475
|
},
|
|
13049
13476
|
"PublicFeeSchedule": {
|
|
13050
|
-
"description": "Rates in
|
|
13477
|
+
"description": "Rates in millicents. purchase_fee_fraction is a fraction, for example 0.10.",
|
|
13051
13478
|
"properties": {
|
|
13052
|
-
"
|
|
13053
|
-
"title": "Cpu
|
|
13054
|
-
"type": "
|
|
13479
|
+
"cpu_per_core_hour": {
|
|
13480
|
+
"title": "Cpu Per Core Hour",
|
|
13481
|
+
"type": "integer"
|
|
13055
13482
|
},
|
|
13056
|
-
"
|
|
13057
|
-
"title": "Memory
|
|
13058
|
-
"type": "
|
|
13483
|
+
"memory_per_gib_hour": {
|
|
13484
|
+
"title": "Memory Per Gib Hour",
|
|
13485
|
+
"type": "integer"
|
|
13059
13486
|
},
|
|
13060
13487
|
"purchase_fee_fraction": {
|
|
13061
13488
|
"title": "Purchase Fee Fraction",
|
|
13062
13489
|
"type": "number"
|
|
13063
13490
|
},
|
|
13064
|
-
"
|
|
13065
|
-
"title": "Signup Credit
|
|
13066
|
-
"type": "
|
|
13491
|
+
"signup_credit": {
|
|
13492
|
+
"title": "Signup Credit",
|
|
13493
|
+
"type": "integer"
|
|
13067
13494
|
}
|
|
13068
13495
|
},
|
|
13069
13496
|
"required": [
|
|
13070
|
-
"
|
|
13497
|
+
"signup_credit",
|
|
13071
13498
|
"purchase_fee_fraction",
|
|
13072
|
-
"
|
|
13073
|
-
"
|
|
13499
|
+
"cpu_per_core_hour",
|
|
13500
|
+
"memory_per_gib_hour"
|
|
13074
13501
|
],
|
|
13075
13502
|
"title": "PublicFeeSchedule",
|
|
13076
13503
|
"type": "object"
|
|
@@ -13373,7 +13800,7 @@
|
|
|
13373
13800
|
},
|
|
13374
13801
|
"ReactCheckRun-Input": {
|
|
13375
13802
|
"additionalProperties": false,
|
|
13376
|
-
"description": "A
|
|
13803
|
+
"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
13804
|
"properties": {
|
|
13378
13805
|
"branch": {
|
|
13379
13806
|
"items": {
|
|
@@ -13408,7 +13835,7 @@
|
|
|
13408
13835
|
},
|
|
13409
13836
|
"ReactCheckRun-Output": {
|
|
13410
13837
|
"additionalProperties": false,
|
|
13411
|
-
"description": "A
|
|
13838
|
+
"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
13839
|
"properties": {
|
|
13413
13840
|
"branch": {
|
|
13414
13841
|
"default": [],
|
|
@@ -13453,6 +13880,88 @@
|
|
|
13453
13880
|
"title": "ReactCheckRun",
|
|
13454
13881
|
"type": "object"
|
|
13455
13882
|
},
|
|
13883
|
+
"ReactCheckSuite-Input": {
|
|
13884
|
+
"additionalProperties": false,
|
|
13885
|
+
"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.",
|
|
13886
|
+
"properties": {
|
|
13887
|
+
"apps": {
|
|
13888
|
+
"items": {
|
|
13889
|
+
"type": "string"
|
|
13890
|
+
},
|
|
13891
|
+
"title": "Apps",
|
|
13892
|
+
"type": "array"
|
|
13893
|
+
},
|
|
13894
|
+
"branch": {
|
|
13895
|
+
"items": {
|
|
13896
|
+
"type": "string"
|
|
13897
|
+
},
|
|
13898
|
+
"title": "Branch",
|
|
13899
|
+
"type": "array"
|
|
13900
|
+
},
|
|
13901
|
+
"for": {
|
|
13902
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Input"
|
|
13903
|
+
},
|
|
13904
|
+
"on": {
|
|
13905
|
+
"items": {
|
|
13906
|
+
"$ref": "#/components/schemas/CheckSuiteAction"
|
|
13907
|
+
},
|
|
13908
|
+
"title": "On",
|
|
13909
|
+
"type": "array"
|
|
13910
|
+
},
|
|
13911
|
+
"repositories": {
|
|
13912
|
+
"$ref": "#/components/schemas/RepositoryFilter-Input"
|
|
13913
|
+
}
|
|
13914
|
+
},
|
|
13915
|
+
"title": "ReactCheckSuite",
|
|
13916
|
+
"type": "object"
|
|
13917
|
+
},
|
|
13918
|
+
"ReactCheckSuite-Output": {
|
|
13919
|
+
"additionalProperties": false,
|
|
13920
|
+
"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.",
|
|
13921
|
+
"properties": {
|
|
13922
|
+
"apps": {
|
|
13923
|
+
"default": [],
|
|
13924
|
+
"items": {
|
|
13925
|
+
"type": "string"
|
|
13926
|
+
},
|
|
13927
|
+
"title": "Apps",
|
|
13928
|
+
"type": "array"
|
|
13929
|
+
},
|
|
13930
|
+
"branch": {
|
|
13931
|
+
"default": [],
|
|
13932
|
+
"items": {
|
|
13933
|
+
"type": "string"
|
|
13934
|
+
},
|
|
13935
|
+
"title": "Branch",
|
|
13936
|
+
"type": "array"
|
|
13937
|
+
},
|
|
13938
|
+
"for": {
|
|
13939
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Output"
|
|
13940
|
+
},
|
|
13941
|
+
"on": {
|
|
13942
|
+
"default": [
|
|
13943
|
+
"failed"
|
|
13944
|
+
],
|
|
13945
|
+
"items": {
|
|
13946
|
+
"$ref": "#/components/schemas/CheckSuiteAction"
|
|
13947
|
+
},
|
|
13948
|
+
"title": "On",
|
|
13949
|
+
"type": "array"
|
|
13950
|
+
},
|
|
13951
|
+
"repositories": {
|
|
13952
|
+
"$ref": "#/components/schemas/RepositoryFilter-Output"
|
|
13953
|
+
}
|
|
13954
|
+
},
|
|
13955
|
+
"required": [
|
|
13956
|
+
"apps",
|
|
13957
|
+
"branch",
|
|
13958
|
+
"for",
|
|
13959
|
+
"on",
|
|
13960
|
+
"repositories"
|
|
13961
|
+
],
|
|
13962
|
+
"title": "ReactCheckSuite",
|
|
13963
|
+
"type": "object"
|
|
13964
|
+
},
|
|
13456
13965
|
"ReactIssue-Input": {
|
|
13457
13966
|
"additionalProperties": false,
|
|
13458
13967
|
"properties": {
|
|
@@ -13900,6 +14409,88 @@
|
|
|
13900
14409
|
"title": "ReactSlackChannel",
|
|
13901
14410
|
"type": "object"
|
|
13902
14411
|
},
|
|
14412
|
+
"ReactStatus-Input": {
|
|
14413
|
+
"additionalProperties": false,
|
|
14414
|
+
"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.",
|
|
14415
|
+
"properties": {
|
|
14416
|
+
"branch": {
|
|
14417
|
+
"items": {
|
|
14418
|
+
"type": "string"
|
|
14419
|
+
},
|
|
14420
|
+
"title": "Branch",
|
|
14421
|
+
"type": "array"
|
|
14422
|
+
},
|
|
14423
|
+
"for": {
|
|
14424
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Input"
|
|
14425
|
+
},
|
|
14426
|
+
"names": {
|
|
14427
|
+
"items": {
|
|
14428
|
+
"type": "string"
|
|
14429
|
+
},
|
|
14430
|
+
"title": "Names",
|
|
14431
|
+
"type": "array"
|
|
14432
|
+
},
|
|
14433
|
+
"on": {
|
|
14434
|
+
"items": {
|
|
14435
|
+
"$ref": "#/components/schemas/StatusAction"
|
|
14436
|
+
},
|
|
14437
|
+
"title": "On",
|
|
14438
|
+
"type": "array"
|
|
14439
|
+
},
|
|
14440
|
+
"repositories": {
|
|
14441
|
+
"$ref": "#/components/schemas/RepositoryFilter-Input"
|
|
14442
|
+
}
|
|
14443
|
+
},
|
|
14444
|
+
"title": "ReactStatus",
|
|
14445
|
+
"type": "object"
|
|
14446
|
+
},
|
|
14447
|
+
"ReactStatus-Output": {
|
|
14448
|
+
"additionalProperties": false,
|
|
14449
|
+
"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.",
|
|
14450
|
+
"properties": {
|
|
14451
|
+
"branch": {
|
|
14452
|
+
"default": [],
|
|
14453
|
+
"items": {
|
|
14454
|
+
"type": "string"
|
|
14455
|
+
},
|
|
14456
|
+
"title": "Branch",
|
|
14457
|
+
"type": "array"
|
|
14458
|
+
},
|
|
14459
|
+
"for": {
|
|
14460
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Output"
|
|
14461
|
+
},
|
|
14462
|
+
"names": {
|
|
14463
|
+
"default": [],
|
|
14464
|
+
"items": {
|
|
14465
|
+
"type": "string"
|
|
14466
|
+
},
|
|
14467
|
+
"title": "Names",
|
|
14468
|
+
"type": "array"
|
|
14469
|
+
},
|
|
14470
|
+
"on": {
|
|
14471
|
+
"default": [
|
|
14472
|
+
"failed"
|
|
14473
|
+
],
|
|
14474
|
+
"items": {
|
|
14475
|
+
"$ref": "#/components/schemas/StatusAction"
|
|
14476
|
+
},
|
|
14477
|
+
"title": "On",
|
|
14478
|
+
"type": "array"
|
|
14479
|
+
},
|
|
14480
|
+
"repositories": {
|
|
14481
|
+
"$ref": "#/components/schemas/RepositoryFilter-Output"
|
|
14482
|
+
}
|
|
14483
|
+
},
|
|
14484
|
+
"required": [
|
|
14485
|
+
"branch",
|
|
14486
|
+
"for",
|
|
14487
|
+
"names",
|
|
14488
|
+
"on",
|
|
14489
|
+
"repositories"
|
|
14490
|
+
],
|
|
14491
|
+
"title": "ReactStatus",
|
|
14492
|
+
"type": "object"
|
|
14493
|
+
},
|
|
13903
14494
|
"ReactTrigger-Input": {
|
|
13904
14495
|
"additionalProperties": false,
|
|
13905
14496
|
"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 +14505,16 @@
|
|
|
13914
14505
|
}
|
|
13915
14506
|
]
|
|
13916
14507
|
},
|
|
14508
|
+
"check_suite": {
|
|
14509
|
+
"anyOf": [
|
|
14510
|
+
{
|
|
14511
|
+
"$ref": "#/components/schemas/ReactCheckSuite-Input"
|
|
14512
|
+
},
|
|
14513
|
+
{
|
|
14514
|
+
"type": "null"
|
|
14515
|
+
}
|
|
14516
|
+
]
|
|
14517
|
+
},
|
|
13917
14518
|
"enabled": {
|
|
13918
14519
|
"title": "Enabled",
|
|
13919
14520
|
"type": "boolean"
|
|
@@ -13988,11 +14589,31 @@
|
|
|
13988
14589
|
}
|
|
13989
14590
|
]
|
|
13990
14591
|
},
|
|
14592
|
+
"status": {
|
|
14593
|
+
"anyOf": [
|
|
14594
|
+
{
|
|
14595
|
+
"$ref": "#/components/schemas/ReactStatus-Input"
|
|
14596
|
+
},
|
|
14597
|
+
{
|
|
14598
|
+
"type": "null"
|
|
14599
|
+
}
|
|
14600
|
+
]
|
|
14601
|
+
},
|
|
13991
14602
|
"type": {
|
|
13992
14603
|
"const": "react",
|
|
13993
14604
|
"default": "react",
|
|
13994
14605
|
"title": "Type",
|
|
13995
14606
|
"type": "string"
|
|
14607
|
+
},
|
|
14608
|
+
"workflow_run": {
|
|
14609
|
+
"anyOf": [
|
|
14610
|
+
{
|
|
14611
|
+
"$ref": "#/components/schemas/ReactWorkflowRun-Input"
|
|
14612
|
+
},
|
|
14613
|
+
{
|
|
14614
|
+
"type": "null"
|
|
14615
|
+
}
|
|
14616
|
+
]
|
|
13996
14617
|
}
|
|
13997
14618
|
},
|
|
13998
14619
|
"title": "ReactTrigger",
|
|
@@ -14012,6 +14633,16 @@
|
|
|
14012
14633
|
}
|
|
14013
14634
|
]
|
|
14014
14635
|
},
|
|
14636
|
+
"check_suite": {
|
|
14637
|
+
"anyOf": [
|
|
14638
|
+
{
|
|
14639
|
+
"$ref": "#/components/schemas/ReactCheckSuite-Output"
|
|
14640
|
+
},
|
|
14641
|
+
{
|
|
14642
|
+
"type": "null"
|
|
14643
|
+
}
|
|
14644
|
+
]
|
|
14645
|
+
},
|
|
14015
14646
|
"enabled": {
|
|
14016
14647
|
"default": true,
|
|
14017
14648
|
"title": "Enabled",
|
|
@@ -14087,15 +14718,36 @@
|
|
|
14087
14718
|
}
|
|
14088
14719
|
]
|
|
14089
14720
|
},
|
|
14721
|
+
"status": {
|
|
14722
|
+
"anyOf": [
|
|
14723
|
+
{
|
|
14724
|
+
"$ref": "#/components/schemas/ReactStatus-Output"
|
|
14725
|
+
},
|
|
14726
|
+
{
|
|
14727
|
+
"type": "null"
|
|
14728
|
+
}
|
|
14729
|
+
]
|
|
14730
|
+
},
|
|
14090
14731
|
"type": {
|
|
14091
14732
|
"const": "react",
|
|
14092
14733
|
"default": "react",
|
|
14093
14734
|
"title": "Type",
|
|
14094
14735
|
"type": "string"
|
|
14736
|
+
},
|
|
14737
|
+
"workflow_run": {
|
|
14738
|
+
"anyOf": [
|
|
14739
|
+
{
|
|
14740
|
+
"$ref": "#/components/schemas/ReactWorkflowRun-Output"
|
|
14741
|
+
},
|
|
14742
|
+
{
|
|
14743
|
+
"type": "null"
|
|
14744
|
+
}
|
|
14745
|
+
]
|
|
14095
14746
|
}
|
|
14096
14747
|
},
|
|
14097
14748
|
"required": [
|
|
14098
14749
|
"check_run",
|
|
14750
|
+
"check_suite",
|
|
14099
14751
|
"enabled",
|
|
14100
14752
|
"issue",
|
|
14101
14753
|
"linear_issue",
|
|
@@ -14104,11 +14756,95 @@
|
|
|
14104
14756
|
"release",
|
|
14105
14757
|
"sentry",
|
|
14106
14758
|
"slack_channel",
|
|
14107
|
-
"
|
|
14759
|
+
"status",
|
|
14760
|
+
"type",
|
|
14761
|
+
"workflow_run"
|
|
14108
14762
|
],
|
|
14109
14763
|
"title": "ReactTrigger",
|
|
14110
14764
|
"type": "object"
|
|
14111
14765
|
},
|
|
14766
|
+
"ReactWorkflowRun-Input": {
|
|
14767
|
+
"additionalProperties": false,
|
|
14768
|
+
"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.",
|
|
14769
|
+
"properties": {
|
|
14770
|
+
"branch": {
|
|
14771
|
+
"items": {
|
|
14772
|
+
"type": "string"
|
|
14773
|
+
},
|
|
14774
|
+
"title": "Branch",
|
|
14775
|
+
"type": "array"
|
|
14776
|
+
},
|
|
14777
|
+
"for": {
|
|
14778
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Input"
|
|
14779
|
+
},
|
|
14780
|
+
"names": {
|
|
14781
|
+
"items": {
|
|
14782
|
+
"type": "string"
|
|
14783
|
+
},
|
|
14784
|
+
"title": "Names",
|
|
14785
|
+
"type": "array"
|
|
14786
|
+
},
|
|
14787
|
+
"on": {
|
|
14788
|
+
"items": {
|
|
14789
|
+
"$ref": "#/components/schemas/WorkflowRunAction"
|
|
14790
|
+
},
|
|
14791
|
+
"title": "On",
|
|
14792
|
+
"type": "array"
|
|
14793
|
+
},
|
|
14794
|
+
"repositories": {
|
|
14795
|
+
"$ref": "#/components/schemas/RepositoryFilter-Input"
|
|
14796
|
+
}
|
|
14797
|
+
},
|
|
14798
|
+
"title": "ReactWorkflowRun",
|
|
14799
|
+
"type": "object"
|
|
14800
|
+
},
|
|
14801
|
+
"ReactWorkflowRun-Output": {
|
|
14802
|
+
"additionalProperties": false,
|
|
14803
|
+
"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.",
|
|
14804
|
+
"properties": {
|
|
14805
|
+
"branch": {
|
|
14806
|
+
"default": [],
|
|
14807
|
+
"items": {
|
|
14808
|
+
"type": "string"
|
|
14809
|
+
},
|
|
14810
|
+
"title": "Branch",
|
|
14811
|
+
"type": "array"
|
|
14812
|
+
},
|
|
14813
|
+
"for": {
|
|
14814
|
+
"$ref": "#/components/schemas/GithubAccountSelector-Output"
|
|
14815
|
+
},
|
|
14816
|
+
"names": {
|
|
14817
|
+
"default": [],
|
|
14818
|
+
"items": {
|
|
14819
|
+
"type": "string"
|
|
14820
|
+
},
|
|
14821
|
+
"title": "Names",
|
|
14822
|
+
"type": "array"
|
|
14823
|
+
},
|
|
14824
|
+
"on": {
|
|
14825
|
+
"default": [
|
|
14826
|
+
"failed"
|
|
14827
|
+
],
|
|
14828
|
+
"items": {
|
|
14829
|
+
"$ref": "#/components/schemas/WorkflowRunAction"
|
|
14830
|
+
},
|
|
14831
|
+
"title": "On",
|
|
14832
|
+
"type": "array"
|
|
14833
|
+
},
|
|
14834
|
+
"repositories": {
|
|
14835
|
+
"$ref": "#/components/schemas/RepositoryFilter-Output"
|
|
14836
|
+
}
|
|
14837
|
+
},
|
|
14838
|
+
"required": [
|
|
14839
|
+
"branch",
|
|
14840
|
+
"for",
|
|
14841
|
+
"names",
|
|
14842
|
+
"on",
|
|
14843
|
+
"repositories"
|
|
14844
|
+
],
|
|
14845
|
+
"title": "ReactWorkflowRun",
|
|
14846
|
+
"type": "object"
|
|
14847
|
+
},
|
|
14112
14848
|
"RecentPullRequest": {
|
|
14113
14849
|
"description": "One pull request in the recent-activity table.",
|
|
14114
14850
|
"properties": {
|
|
@@ -14479,9 +15215,9 @@
|
|
|
14479
15215
|
"type": "string"
|
|
14480
15216
|
},
|
|
14481
15217
|
"budget": {
|
|
14482
|
-
"description": "The reviewer sessions' spend budgets together, in
|
|
15218
|
+
"description": "The reviewer sessions' spend budgets together, in millicents.",
|
|
14483
15219
|
"title": "Budget",
|
|
14484
|
-
"type": "
|
|
15220
|
+
"type": "integer"
|
|
14485
15221
|
},
|
|
14486
15222
|
"comments": {
|
|
14487
15223
|
"items": {
|
|
@@ -14491,9 +15227,8 @@
|
|
|
14491
15227
|
"type": "array"
|
|
14492
15228
|
},
|
|
14493
15229
|
"cost": {
|
|
14494
|
-
"
|
|
14495
|
-
"
|
|
14496
|
-
"type": "integer"
|
|
15230
|
+
"$ref": "#/components/schemas/Cost",
|
|
15231
|
+
"description": "What the reviewer sessions cost together."
|
|
14497
15232
|
},
|
|
14498
15233
|
"created_at": {
|
|
14499
15234
|
"format": "date-time",
|
|
@@ -14578,9 +15313,8 @@
|
|
|
14578
15313
|
"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
15314
|
},
|
|
14580
15315
|
"tokens": {
|
|
14581
|
-
"
|
|
14582
|
-
"
|
|
14583
|
-
"type": "integer"
|
|
15316
|
+
"$ref": "#/components/schemas/Tokens",
|
|
15317
|
+
"description": "Tokens the reviewer sessions used together."
|
|
14584
15318
|
}
|
|
14585
15319
|
},
|
|
14586
15320
|
"required": [
|
|
@@ -14874,6 +15608,25 @@
|
|
|
14874
15608
|
"title": "ReviewCommentListItem",
|
|
14875
15609
|
"type": "object"
|
|
14876
15610
|
},
|
|
15611
|
+
"ReviewComments": {
|
|
15612
|
+
"additionalProperties": false,
|
|
15613
|
+
"properties": {
|
|
15614
|
+
"max_per_review": {
|
|
15615
|
+
"default": 64,
|
|
15616
|
+
"minimum": 1.0,
|
|
15617
|
+
"title": "Max Per Review",
|
|
15618
|
+
"type": "integer"
|
|
15619
|
+
},
|
|
15620
|
+
"max_per_reviewer": {
|
|
15621
|
+
"default": 64,
|
|
15622
|
+
"minimum": 1.0,
|
|
15623
|
+
"title": "Max Per Reviewer",
|
|
15624
|
+
"type": "integer"
|
|
15625
|
+
}
|
|
15626
|
+
},
|
|
15627
|
+
"title": "ReviewComments",
|
|
15628
|
+
"type": "object"
|
|
15629
|
+
},
|
|
14877
15630
|
"ReviewConfig": {
|
|
14878
15631
|
"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
15632
|
"properties": {
|
|
@@ -14939,6 +15692,11 @@
|
|
|
14939
15692
|
"description": "The display name from the file's ellipsis.name, or null when the file sets none.",
|
|
14940
15693
|
"title": "Name"
|
|
14941
15694
|
},
|
|
15695
|
+
"raw_yaml": {
|
|
15696
|
+
"description": "The config's YAML file as written. A failed sync keeps the last valid YAML.",
|
|
15697
|
+
"title": "Raw Yaml",
|
|
15698
|
+
"type": "string"
|
|
15699
|
+
},
|
|
14942
15700
|
"sha": {
|
|
14943
15701
|
"description": "The config's content identity: it changes with every edit that changes how reviews run.",
|
|
14944
15702
|
"title": "Sha",
|
|
@@ -14961,6 +15719,7 @@
|
|
|
14961
15719
|
"created_at",
|
|
14962
15720
|
"updated_at",
|
|
14963
15721
|
"config",
|
|
15722
|
+
"raw_yaml",
|
|
14964
15723
|
"source_details"
|
|
14965
15724
|
],
|
|
14966
15725
|
"title": "ReviewConfig",
|
|
@@ -15105,8 +15864,15 @@
|
|
|
15105
15864
|
},
|
|
15106
15865
|
"ReviewOutputConfig": {
|
|
15107
15866
|
"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.",
|
|
15867
|
+
"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
15868
|
"properties": {
|
|
15869
|
+
"comments": {
|
|
15870
|
+
"$ref": "#/components/schemas/ReviewComments",
|
|
15871
|
+
"default": {
|
|
15872
|
+
"max_per_review": 64,
|
|
15873
|
+
"max_per_reviewer": 64
|
|
15874
|
+
}
|
|
15875
|
+
},
|
|
15110
15876
|
"on_fail": {
|
|
15111
15877
|
"default": "comment",
|
|
15112
15878
|
"enum": [
|
|
@@ -15557,6 +16323,10 @@
|
|
|
15557
16323
|
],
|
|
15558
16324
|
"description": "Codex input and native options. Set exactly one of claude_code or codex."
|
|
15559
16325
|
},
|
|
16326
|
+
"comments": {
|
|
16327
|
+
"$ref": "#/components/schemas/ReviewerComments",
|
|
16328
|
+
"default": {}
|
|
16329
|
+
},
|
|
15560
16330
|
"environment": {
|
|
15561
16331
|
"anyOf": [
|
|
15562
16332
|
{
|
|
@@ -15609,6 +16379,25 @@
|
|
|
15609
16379
|
"title": "Reviewer",
|
|
15610
16380
|
"type": "object"
|
|
15611
16381
|
},
|
|
16382
|
+
"ReviewerComments": {
|
|
16383
|
+
"additionalProperties": false,
|
|
16384
|
+
"properties": {
|
|
16385
|
+
"max": {
|
|
16386
|
+
"anyOf": [
|
|
16387
|
+
{
|
|
16388
|
+
"minimum": 1.0,
|
|
16389
|
+
"type": "integer"
|
|
16390
|
+
},
|
|
16391
|
+
{
|
|
16392
|
+
"type": "null"
|
|
16393
|
+
}
|
|
16394
|
+
],
|
|
16395
|
+
"title": "Max"
|
|
16396
|
+
}
|
|
16397
|
+
},
|
|
16398
|
+
"title": "ReviewerComments",
|
|
16399
|
+
"type": "object"
|
|
16400
|
+
},
|
|
15612
16401
|
"ReviewerUsage": {
|
|
15613
16402
|
"description": "A person who reviewed pull requests in the window.",
|
|
15614
16403
|
"properties": {
|
|
@@ -16932,9 +17721,9 @@
|
|
|
16932
17721
|
},
|
|
16933
17722
|
"budget": {
|
|
16934
17723
|
"default": 0,
|
|
16935
|
-
"description": "The spend budget enforced for this session, in
|
|
17724
|
+
"description": "The spend budget enforced for this session, in millicents, after resolving defaults and ceilings.",
|
|
16936
17725
|
"title": "Budget",
|
|
16937
|
-
"type": "
|
|
17726
|
+
"type": "integer"
|
|
16938
17727
|
},
|
|
16939
17728
|
"claude_code": {
|
|
16940
17729
|
"anyOf": [
|
|
@@ -16963,8 +17752,8 @@
|
|
|
16963
17752
|
"description": "Whether the session can take more messages, and whether an agent is warm to answer one."
|
|
16964
17753
|
},
|
|
16965
17754
|
"cost": {
|
|
16966
|
-
"$ref": "#/components/schemas/
|
|
16967
|
-
"description": "What the session has cost so far
|
|
17755
|
+
"$ref": "#/components/schemas/Cost",
|
|
17756
|
+
"description": "What the session has cost so far."
|
|
16968
17757
|
},
|
|
16969
17758
|
"created_at": {
|
|
16970
17759
|
"description": "When the session was created.",
|
|
@@ -16982,10 +17771,13 @@
|
|
|
16982
17771
|
"discriminator": {
|
|
16983
17772
|
"mapping": {
|
|
16984
17773
|
"github.check_run": "#/components/schemas/GithubCheckRunEvent",
|
|
17774
|
+
"github.check_suite": "#/components/schemas/GithubCheckSuiteEvent",
|
|
16985
17775
|
"github.issue": "#/components/schemas/GithubIssueEvent",
|
|
16986
17776
|
"github.pull_request": "#/components/schemas/GithubPullRequestEvent",
|
|
16987
17777
|
"github.push": "#/components/schemas/GithubPushEvent",
|
|
16988
17778
|
"github.release": "#/components/schemas/GithubReleaseEvent",
|
|
17779
|
+
"github.status": "#/components/schemas/GithubStatusEvent",
|
|
17780
|
+
"github.workflow_run": "#/components/schemas/GithubWorkflowRunEvent",
|
|
16989
17781
|
"linear.issue": "#/components/schemas/LinearIssueEvent",
|
|
16990
17782
|
"sentry.alert": "#/components/schemas/SentryAlertEvent",
|
|
16991
17783
|
"slack.channel_created": "#/components/schemas/SlackChannelCreatedEvent",
|
|
@@ -17006,6 +17798,15 @@
|
|
|
17006
17798
|
{
|
|
17007
17799
|
"$ref": "#/components/schemas/GithubCheckRunEvent"
|
|
17008
17800
|
},
|
|
17801
|
+
{
|
|
17802
|
+
"$ref": "#/components/schemas/GithubCheckSuiteEvent"
|
|
17803
|
+
},
|
|
17804
|
+
{
|
|
17805
|
+
"$ref": "#/components/schemas/GithubWorkflowRunEvent"
|
|
17806
|
+
},
|
|
17807
|
+
{
|
|
17808
|
+
"$ref": "#/components/schemas/GithubStatusEvent"
|
|
17809
|
+
},
|
|
17009
17810
|
{
|
|
17010
17811
|
"$ref": "#/components/schemas/GithubReleaseEvent"
|
|
17011
17812
|
},
|
|
@@ -17116,8 +17917,8 @@
|
|
|
17116
17917
|
"description": "The latest live summary of the session's progress while it runs, and when it was generated."
|
|
17117
17918
|
},
|
|
17118
17919
|
"tokens": {
|
|
17119
|
-
"$ref": "#/components/schemas/
|
|
17120
|
-
"description": "The tokens the session
|
|
17920
|
+
"$ref": "#/components/schemas/Tokens",
|
|
17921
|
+
"description": "The tokens the session has used so far."
|
|
17121
17922
|
},
|
|
17122
17923
|
"turn": {
|
|
17123
17924
|
"anyOf": [
|
|
@@ -17216,12 +18017,8 @@
|
|
|
17216
18017
|
"title": "Bucket Seconds",
|
|
17217
18018
|
"type": "integer"
|
|
17218
18019
|
},
|
|
17219
|
-
"
|
|
17220
|
-
"title": "Charged
|
|
17221
|
-
"type": "integer"
|
|
17222
|
-
},
|
|
17223
|
-
"external_token_value_millicents": {
|
|
17224
|
-
"title": "External Token Value Millicents",
|
|
18020
|
+
"charged": {
|
|
18021
|
+
"title": "Charged",
|
|
17225
18022
|
"type": "integer"
|
|
17226
18023
|
},
|
|
17227
18024
|
"historical_entries": {
|
|
@@ -17270,8 +18067,7 @@
|
|
|
17270
18067
|
"historical_entries",
|
|
17271
18068
|
"pending_requests",
|
|
17272
18069
|
"unresolved_requests",
|
|
17273
|
-
"
|
|
17274
|
-
"external_token_value_millicents",
|
|
18070
|
+
"charged",
|
|
17275
18071
|
"bucket_seconds",
|
|
17276
18072
|
"series",
|
|
17277
18073
|
"spend",
|
|
@@ -17359,24 +18155,24 @@
|
|
|
17359
18155
|
},
|
|
17360
18156
|
"SessionBudgetDefault": {
|
|
17361
18157
|
"properties": {
|
|
17362
|
-
"
|
|
17363
|
-
"title": "Budget
|
|
17364
|
-
"type": "
|
|
18158
|
+
"budget": {
|
|
18159
|
+
"title": "Budget",
|
|
18160
|
+
"type": "integer"
|
|
17365
18161
|
},
|
|
17366
|
-
"
|
|
18162
|
+
"ceiling": {
|
|
17367
18163
|
"description": "Current effective session ceiling from /account/settings.",
|
|
17368
|
-
"title": "Ceiling
|
|
17369
|
-
"type": "
|
|
18164
|
+
"title": "Ceiling",
|
|
18165
|
+
"type": "integer"
|
|
17370
18166
|
},
|
|
17371
|
-
"
|
|
17372
|
-
"title": "Platform Max
|
|
17373
|
-
"type": "
|
|
18167
|
+
"platform_max": {
|
|
18168
|
+
"title": "Platform Max",
|
|
18169
|
+
"type": "integer"
|
|
17374
18170
|
}
|
|
17375
18171
|
},
|
|
17376
18172
|
"required": [
|
|
17377
|
-
"
|
|
17378
|
-
"
|
|
17379
|
-
"
|
|
18173
|
+
"budget",
|
|
18174
|
+
"platform_max",
|
|
18175
|
+
"ceiling"
|
|
17380
18176
|
],
|
|
17381
18177
|
"title": "SessionBudgetDefault",
|
|
17382
18178
|
"type": "object"
|
|
@@ -17868,54 +18664,10 @@
|
|
|
17868
18664
|
"title": "SessionConversationConfig",
|
|
17869
18665
|
"type": "object"
|
|
17870
18666
|
},
|
|
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
18667
|
"SessionCostCategory": {
|
|
17916
18668
|
"properties": {
|
|
17917
|
-
"
|
|
17918
|
-
"title": "Charged
|
|
18669
|
+
"charged": {
|
|
18670
|
+
"title": "Charged",
|
|
17919
18671
|
"type": "integer"
|
|
17920
18672
|
},
|
|
17921
18673
|
"items": {
|
|
@@ -17937,7 +18689,7 @@
|
|
|
17937
18689
|
"required": [
|
|
17938
18690
|
"key",
|
|
17939
18691
|
"label",
|
|
17940
|
-
"
|
|
18692
|
+
"charged",
|
|
17941
18693
|
"items"
|
|
17942
18694
|
],
|
|
17943
18695
|
"title": "SessionCostCategory",
|
|
@@ -18605,7 +19357,7 @@
|
|
|
18605
19357
|
},
|
|
18606
19358
|
"turn": {
|
|
18607
19359
|
"$ref": "#/components/schemas/SessionTurn",
|
|
18608
|
-
"description": "The turn that will answer the message. Wait on it: poll GET /v1/sessions/{
|
|
19360
|
+
"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
19361
|
}
|
|
18610
19362
|
},
|
|
18611
19363
|
"required": [
|
|
@@ -19252,9 +20004,14 @@
|
|
|
19252
20004
|
},
|
|
19253
20005
|
"SessionSpendItem": {
|
|
19254
20006
|
"properties": {
|
|
19255
|
-
"
|
|
20007
|
+
"charged": {
|
|
19256
20008
|
"default": 0,
|
|
19257
|
-
"title": "Charged
|
|
20009
|
+
"title": "Charged",
|
|
20010
|
+
"type": "integer"
|
|
20011
|
+
},
|
|
20012
|
+
"cost": {
|
|
20013
|
+
"default": 0,
|
|
20014
|
+
"title": "Cost",
|
|
19258
20015
|
"type": "integer"
|
|
19259
20016
|
},
|
|
19260
20017
|
"key": {
|
|
@@ -19265,11 +20022,6 @@
|
|
|
19265
20022
|
"title": "Label",
|
|
19266
20023
|
"type": "string"
|
|
19267
20024
|
},
|
|
19268
|
-
"rated_millicents": {
|
|
19269
|
-
"default": 0,
|
|
19270
|
-
"title": "Rated Millicents",
|
|
19271
|
-
"type": "integer"
|
|
19272
|
-
},
|
|
19273
20025
|
"tokens": {
|
|
19274
20026
|
"default": 0,
|
|
19275
20027
|
"title": "Tokens",
|
|
@@ -19349,57 +20101,6 @@
|
|
|
19349
20101
|
"title": "SessionSummary",
|
|
19350
20102
|
"type": "object"
|
|
19351
20103
|
},
|
|
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
20104
|
"SessionToolCount": {
|
|
19404
20105
|
"properties": {
|
|
19405
20106
|
"calls": {
|
|
@@ -19422,7 +20123,7 @@
|
|
|
19422
20123
|
"description": "One message and the agent's answer to it. A turn is `pending` from the\nmoment its message is received until the agent starts on it, `running`\nwhile the agent works, then `completed`, `failed`, `stopped`, or\n`cancelled`.",
|
|
19423
20124
|
"properties": {
|
|
19424
20125
|
"cost": {
|
|
19425
|
-
"$ref": "#/components/schemas/
|
|
20126
|
+
"$ref": "#/components/schemas/Cost",
|
|
19426
20127
|
"description": "What the turn cost so far, in millicents, broken down by leg."
|
|
19427
20128
|
},
|
|
19428
20129
|
"created_at": {
|
|
@@ -19506,7 +20207,7 @@
|
|
|
19506
20207
|
"description": "When and by whom a stop was requested; null when none was."
|
|
19507
20208
|
},
|
|
19508
20209
|
"tokens": {
|
|
19509
|
-
"$ref": "#/components/schemas/
|
|
20210
|
+
"$ref": "#/components/schemas/Tokens",
|
|
19510
20211
|
"description": "The tokens the turn spent and the model they went to."
|
|
19511
20212
|
}
|
|
19512
20213
|
},
|
|
@@ -19579,9 +20280,9 @@
|
|
|
19579
20280
|
"title": "Cache Write Tokens",
|
|
19580
20281
|
"type": "integer"
|
|
19581
20282
|
},
|
|
19582
|
-
"
|
|
20283
|
+
"charged": {
|
|
19583
20284
|
"default": 0,
|
|
19584
|
-
"title": "Charged
|
|
20285
|
+
"title": "Charged",
|
|
19585
20286
|
"type": "integer"
|
|
19586
20287
|
},
|
|
19587
20288
|
"date": {
|
|
@@ -20687,7 +21388,7 @@
|
|
|
20687
21388
|
]
|
|
20688
21389
|
}
|
|
20689
21390
|
],
|
|
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/{
|
|
21391
|
+
"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
21392
|
"properties": {
|
|
20692
21393
|
"budget": {
|
|
20693
21394
|
"anyOf": [
|
|
@@ -20803,6 +21504,17 @@
|
|
|
20803
21504
|
"title": "StartSessionRequest",
|
|
20804
21505
|
"type": "object"
|
|
20805
21506
|
},
|
|
21507
|
+
"StatusAction": {
|
|
21508
|
+
"description": "The state of a commit status. `success` is `passed`, `failure` is `failed`, and `error` is `errored`.",
|
|
21509
|
+
"enum": [
|
|
21510
|
+
"pending",
|
|
21511
|
+
"passed",
|
|
21512
|
+
"failed",
|
|
21513
|
+
"errored"
|
|
21514
|
+
],
|
|
21515
|
+
"title": "StatusAction",
|
|
21516
|
+
"type": "string"
|
|
21517
|
+
},
|
|
20806
21518
|
"StreamTicketResponse": {
|
|
20807
21519
|
"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
21520
|
"properties": {
|
|
@@ -21074,6 +21786,50 @@
|
|
|
21074
21786
|
"title": "SubscriptionUsageWindow",
|
|
21075
21787
|
"type": "object"
|
|
21076
21788
|
},
|
|
21789
|
+
"TokenCounts": {
|
|
21790
|
+
"description": "Token counts.",
|
|
21791
|
+
"properties": {
|
|
21792
|
+
"cache_creation": {
|
|
21793
|
+
"default": 0,
|
|
21794
|
+
"description": "Tokens written to the prompt cache.",
|
|
21795
|
+
"title": "Cache Creation",
|
|
21796
|
+
"type": "integer"
|
|
21797
|
+
},
|
|
21798
|
+
"cache_read": {
|
|
21799
|
+
"default": 0,
|
|
21800
|
+
"description": "Tokens read from the prompt cache.",
|
|
21801
|
+
"title": "Cache Read",
|
|
21802
|
+
"type": "integer"
|
|
21803
|
+
},
|
|
21804
|
+
"input": {
|
|
21805
|
+
"default": 0,
|
|
21806
|
+
"description": "Input tokens used.",
|
|
21807
|
+
"title": "Input",
|
|
21808
|
+
"type": "integer"
|
|
21809
|
+
},
|
|
21810
|
+
"output": {
|
|
21811
|
+
"default": 0,
|
|
21812
|
+
"description": "Output tokens used.",
|
|
21813
|
+
"title": "Output",
|
|
21814
|
+
"type": "integer"
|
|
21815
|
+
},
|
|
21816
|
+
"total": {
|
|
21817
|
+
"default": 0,
|
|
21818
|
+
"description": "All tokens used, including prompt cache reads and writes. Token cost is priced on this.",
|
|
21819
|
+
"title": "Total",
|
|
21820
|
+
"type": "integer"
|
|
21821
|
+
}
|
|
21822
|
+
},
|
|
21823
|
+
"required": [
|
|
21824
|
+
"cache_creation",
|
|
21825
|
+
"cache_read",
|
|
21826
|
+
"input",
|
|
21827
|
+
"output",
|
|
21828
|
+
"total"
|
|
21829
|
+
],
|
|
21830
|
+
"title": "TokenCounts",
|
|
21831
|
+
"type": "object"
|
|
21832
|
+
},
|
|
21077
21833
|
"TokenRevokedResponse": {
|
|
21078
21834
|
"properties": {
|
|
21079
21835
|
"ok": {
|
|
@@ -21085,6 +21841,29 @@
|
|
|
21085
21841
|
"title": "TokenRevokedResponse",
|
|
21086
21842
|
"type": "object"
|
|
21087
21843
|
},
|
|
21844
|
+
"Tokens": {
|
|
21845
|
+
"description": "Tokens used, in total and by model.",
|
|
21846
|
+
"properties": {
|
|
21847
|
+
"all": {
|
|
21848
|
+
"$ref": "#/components/schemas/TokenCounts",
|
|
21849
|
+
"description": "Token counts across every model."
|
|
21850
|
+
},
|
|
21851
|
+
"by_model": {
|
|
21852
|
+
"description": "Token counts for each model that used tokens.",
|
|
21853
|
+
"items": {
|
|
21854
|
+
"$ref": "#/components/schemas/ModelTokenCounts"
|
|
21855
|
+
},
|
|
21856
|
+
"title": "By Model",
|
|
21857
|
+
"type": "array"
|
|
21858
|
+
}
|
|
21859
|
+
},
|
|
21860
|
+
"required": [
|
|
21861
|
+
"all",
|
|
21862
|
+
"by_model"
|
|
21863
|
+
],
|
|
21864
|
+
"title": "Tokens",
|
|
21865
|
+
"type": "object"
|
|
21866
|
+
},
|
|
21088
21867
|
"TokensInfo": {
|
|
21089
21868
|
"additionalProperties": false,
|
|
21090
21869
|
"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.",
|
|
@@ -21797,28 +22576,12 @@
|
|
|
21797
22576
|
"title": "UpdateSessionRequest",
|
|
21798
22577
|
"type": "object"
|
|
21799
22578
|
},
|
|
21800
|
-
"
|
|
21801
|
-
"description": "One day's
|
|
22579
|
+
"UsageDay": {
|
|
22580
|
+
"description": "One UTC day's cost and tokens.",
|
|
21802
22581
|
"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"
|
|
22582
|
+
"cost": {
|
|
22583
|
+
"$ref": "#/components/schemas/Cost",
|
|
22584
|
+
"description": "What the day's usage cost."
|
|
21822
22585
|
},
|
|
21823
22586
|
"date": {
|
|
21824
22587
|
"description": "The UTC day, formatted yyyy-MM-dd.",
|
|
@@ -21826,44 +22589,35 @@
|
|
|
21826
22589
|
"type": "string"
|
|
21827
22590
|
},
|
|
21828
22591
|
"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"
|
|
22592
|
+
"$ref": "#/components/schemas/Tokens",
|
|
22593
|
+
"description": "The tokens used that day."
|
|
21852
22594
|
}
|
|
21853
22595
|
},
|
|
21854
22596
|
"required": [
|
|
21855
22597
|
"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"
|
|
22598
|
+
"cost",
|
|
22599
|
+
"tokens"
|
|
21865
22600
|
],
|
|
21866
|
-
"title": "
|
|
22601
|
+
"title": "UsageDay",
|
|
22602
|
+
"type": "object"
|
|
22603
|
+
},
|
|
22604
|
+
"UsageTotals": {
|
|
22605
|
+
"description": "Cost and tokens over a set of sessions.",
|
|
22606
|
+
"properties": {
|
|
22607
|
+
"cost": {
|
|
22608
|
+
"$ref": "#/components/schemas/Cost",
|
|
22609
|
+
"description": "What the sessions cost."
|
|
22610
|
+
},
|
|
22611
|
+
"tokens": {
|
|
22612
|
+
"$ref": "#/components/schemas/Tokens",
|
|
22613
|
+
"description": "The tokens the sessions used."
|
|
22614
|
+
}
|
|
22615
|
+
},
|
|
22616
|
+
"required": [
|
|
22617
|
+
"cost",
|
|
22618
|
+
"tokens"
|
|
22619
|
+
],
|
|
22620
|
+
"title": "UsageTotals",
|
|
21867
22621
|
"type": "object"
|
|
21868
22622
|
},
|
|
21869
22623
|
"UserPlan": {
|
|
@@ -23103,6 +23857,27 @@
|
|
|
23103
23857
|
],
|
|
23104
23858
|
"title": "WebhooksListResponse",
|
|
23105
23859
|
"type": "object"
|
|
23860
|
+
},
|
|
23861
|
+
"WorkflowRunAction": {
|
|
23862
|
+
"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.",
|
|
23863
|
+
"enum": [
|
|
23864
|
+
"requested",
|
|
23865
|
+
"queued",
|
|
23866
|
+
"waiting",
|
|
23867
|
+
"pending",
|
|
23868
|
+
"started",
|
|
23869
|
+
"passed",
|
|
23870
|
+
"failed",
|
|
23871
|
+
"timed_out",
|
|
23872
|
+
"cancelled",
|
|
23873
|
+
"skipped",
|
|
23874
|
+
"neutral",
|
|
23875
|
+
"action_required",
|
|
23876
|
+
"stale",
|
|
23877
|
+
"startup_failure"
|
|
23878
|
+
],
|
|
23879
|
+
"title": "WorkflowRunAction",
|
|
23880
|
+
"type": "string"
|
|
23106
23881
|
}
|
|
23107
23882
|
},
|
|
23108
23883
|
"securitySchemes": {
|
|
@@ -23607,17 +24382,17 @@
|
|
|
23607
24382
|
"x-ellipsis-sdk-method": "account.api_keys.create"
|
|
23608
24383
|
}
|
|
23609
24384
|
},
|
|
23610
|
-
"/v1/account/api-keys/{
|
|
24385
|
+
"/v1/account/api-keys/{id}": {
|
|
23611
24386
|
"delete": {
|
|
23612
24387
|
"description": "Revoke an organization key as a verified GitHub administrator.",
|
|
23613
24388
|
"operationId": "revoke_api_key",
|
|
23614
24389
|
"parameters": [
|
|
23615
24390
|
{
|
|
23616
24391
|
"in": "path",
|
|
23617
|
-
"name": "
|
|
24392
|
+
"name": "id",
|
|
23618
24393
|
"required": true,
|
|
23619
24394
|
"schema": {
|
|
23620
|
-
"title": "
|
|
24395
|
+
"title": "Id",
|
|
23621
24396
|
"type": "string"
|
|
23622
24397
|
}
|
|
23623
24398
|
},
|
|
@@ -24087,7 +24862,7 @@
|
|
|
24087
24862
|
"x-ellipsis-sdk-method": "account.billing.auto_recharge.get"
|
|
24088
24863
|
},
|
|
24089
24864
|
"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
|
|
24865
|
+
"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
24866
|
"operationId": "update_auto_recharge",
|
|
24092
24867
|
"parameters": [
|
|
24093
24868
|
{
|
|
@@ -24339,7 +25114,7 @@
|
|
|
24339
25114
|
},
|
|
24340
25115
|
"/v1/account/billing/checkout": {
|
|
24341
25116
|
"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
|
|
25117
|
+
"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
25118
|
"operationId": "create_credit_checkout_session",
|
|
24344
25119
|
"parameters": [
|
|
24345
25120
|
{
|
|
@@ -24704,7 +25479,7 @@
|
|
|
24704
25479
|
},
|
|
24705
25480
|
"/v1/account/billing/fee-schedule": {
|
|
24706
25481
|
"get": {
|
|
24707
|
-
"description": "Get the account's rate card, in
|
|
25482
|
+
"description": "Get the account's rate card, in millicents.",
|
|
24708
25483
|
"operationId": "get_fee_schedule",
|
|
24709
25484
|
"parameters": [
|
|
24710
25485
|
{
|
|
@@ -24821,7 +25596,7 @@
|
|
|
24821
25596
|
},
|
|
24822
25597
|
"/v1/account/billing/purchase-options": {
|
|
24823
25598
|
"get": {
|
|
24824
|
-
"description": "Get credit purchase bounds and the platform fee.\n\nAll amounts are
|
|
25599
|
+
"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
25600
|
"operationId": "get_credit_purchase_options",
|
|
24826
25601
|
"parameters": [
|
|
24827
25602
|
{
|
|
@@ -24936,17 +25711,17 @@
|
|
|
24936
25711
|
"x-ellipsis-sdk-method": "account.billing.purchase_options"
|
|
24937
25712
|
}
|
|
24938
25713
|
},
|
|
24939
|
-
"/v1/account/billing/purchases/{
|
|
25714
|
+
"/v1/account/billing/purchases/{id}": {
|
|
24940
25715
|
"get": {
|
|
24941
25716
|
"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
25717
|
"operationId": "get_credit_purchase",
|
|
24943
25718
|
"parameters": [
|
|
24944
25719
|
{
|
|
24945
25720
|
"in": "path",
|
|
24946
|
-
"name": "
|
|
25721
|
+
"name": "id",
|
|
24947
25722
|
"required": true,
|
|
24948
25723
|
"schema": {
|
|
24949
|
-
"title": "
|
|
25724
|
+
"title": "Id",
|
|
24950
25725
|
"type": "string"
|
|
24951
25726
|
}
|
|
24952
25727
|
},
|
|
@@ -26052,7 +26827,7 @@
|
|
|
26052
26827
|
"x-ellipsis-sdk-method": "account.settings.update"
|
|
26053
26828
|
},
|
|
26054
26829
|
"put": {
|
|
26055
|
-
"description": "Set the organization settings.\n\n`budget_ceiling.session` is in
|
|
26830
|
+
"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
26831
|
"operationId": "put_account_settings",
|
|
26057
26832
|
"parameters": [
|
|
26058
26833
|
{
|
|
@@ -26193,7 +26968,7 @@
|
|
|
26193
26968
|
},
|
|
26194
26969
|
"/v1/account/usage": {
|
|
26195
26970
|
"get": {
|
|
26196
|
-
"description": "Get usage for a calendar month,
|
|
26971
|
+
"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
26972
|
"operationId": "get_account_usage",
|
|
26198
26973
|
"parameters": [
|
|
26199
26974
|
{
|
|
@@ -26443,7 +27218,7 @@
|
|
|
26443
27218
|
"x-ellipsis-sdk-method": "agents.list"
|
|
26444
27219
|
},
|
|
26445
27220
|
"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/{
|
|
27221
|
+
"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
27222
|
"operationId": "create_agent",
|
|
26448
27223
|
"parameters": [
|
|
26449
27224
|
{
|
|
@@ -26706,17 +27481,17 @@
|
|
|
26706
27481
|
"x-ellipsis-sdk-method": "agents.stream_ticket"
|
|
26707
27482
|
}
|
|
26708
27483
|
},
|
|
26709
|
-
"/v1/agents/{
|
|
27484
|
+
"/v1/agents/{id}": {
|
|
26710
27485
|
"delete": {
|
|
26711
27486
|
"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
27487
|
"operationId": "delete_agent",
|
|
26713
27488
|
"parameters": [
|
|
26714
27489
|
{
|
|
26715
27490
|
"in": "path",
|
|
26716
|
-
"name": "
|
|
27491
|
+
"name": "id",
|
|
26717
27492
|
"required": true,
|
|
26718
27493
|
"schema": {
|
|
26719
|
-
"title": "
|
|
27494
|
+
"title": "Id",
|
|
26720
27495
|
"type": "string"
|
|
26721
27496
|
}
|
|
26722
27497
|
},
|
|
@@ -26851,10 +27626,10 @@
|
|
|
26851
27626
|
"parameters": [
|
|
26852
27627
|
{
|
|
26853
27628
|
"in": "path",
|
|
26854
|
-
"name": "
|
|
27629
|
+
"name": "id",
|
|
26855
27630
|
"required": true,
|
|
26856
27631
|
"schema": {
|
|
26857
|
-
"title": "
|
|
27632
|
+
"title": "Id",
|
|
26858
27633
|
"type": "string"
|
|
26859
27634
|
}
|
|
26860
27635
|
},
|
|
@@ -26986,10 +27761,10 @@
|
|
|
26986
27761
|
"parameters": [
|
|
26987
27762
|
{
|
|
26988
27763
|
"in": "path",
|
|
26989
|
-
"name": "
|
|
27764
|
+
"name": "id",
|
|
26990
27765
|
"required": true,
|
|
26991
27766
|
"schema": {
|
|
26992
|
-
"title": "
|
|
27767
|
+
"title": "Id",
|
|
26993
27768
|
"type": "string"
|
|
26994
27769
|
}
|
|
26995
27770
|
},
|
|
@@ -27146,17 +27921,17 @@
|
|
|
27146
27921
|
"x-ellipsis-sdk-method": "agents.update"
|
|
27147
27922
|
}
|
|
27148
27923
|
},
|
|
27149
|
-
"/v1/agents/{
|
|
27924
|
+
"/v1/agents/{id}/link": {
|
|
27150
27925
|
"post": {
|
|
27151
27926
|
"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
27927
|
"operationId": "link_agent",
|
|
27153
27928
|
"parameters": [
|
|
27154
27929
|
{
|
|
27155
27930
|
"in": "path",
|
|
27156
|
-
"name": "
|
|
27931
|
+
"name": "id",
|
|
27157
27932
|
"required": true,
|
|
27158
27933
|
"schema": {
|
|
27159
|
-
"title": "
|
|
27934
|
+
"title": "Id",
|
|
27160
27935
|
"type": "string"
|
|
27161
27936
|
}
|
|
27162
27937
|
},
|
|
@@ -27313,17 +28088,17 @@
|
|
|
27313
28088
|
"x-ellipsis-sdk-method": "agents.link"
|
|
27314
28089
|
}
|
|
27315
28090
|
},
|
|
27316
|
-
"/v1/agents/{
|
|
28091
|
+
"/v1/agents/{id}/metrics": {
|
|
27317
28092
|
"get": {
|
|
27318
28093
|
"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
28094
|
"operationId": "get_agent_metrics",
|
|
27320
28095
|
"parameters": [
|
|
27321
28096
|
{
|
|
27322
28097
|
"in": "path",
|
|
27323
|
-
"name": "
|
|
28098
|
+
"name": "id",
|
|
27324
28099
|
"required": true,
|
|
27325
28100
|
"schema": {
|
|
27326
|
-
"title": "
|
|
28101
|
+
"title": "Id",
|
|
27327
28102
|
"type": "string"
|
|
27328
28103
|
}
|
|
27329
28104
|
},
|
|
@@ -27450,17 +28225,17 @@
|
|
|
27450
28225
|
"x-ellipsis-sdk-method": "agents.metrics"
|
|
27451
28226
|
}
|
|
27452
28227
|
},
|
|
27453
|
-
"/v1/agents/{
|
|
28228
|
+
"/v1/agents/{id}/sessions": {
|
|
27454
28229
|
"post": {
|
|
27455
28230
|
"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
28231
|
"operationId": "start_agent_session",
|
|
27457
28232
|
"parameters": [
|
|
27458
28233
|
{
|
|
27459
28234
|
"in": "path",
|
|
27460
|
-
"name": "
|
|
28235
|
+
"name": "id",
|
|
27461
28236
|
"required": true,
|
|
27462
28237
|
"schema": {
|
|
27463
|
-
"title": "
|
|
28238
|
+
"title": "Id",
|
|
27464
28239
|
"type": "string"
|
|
27465
28240
|
}
|
|
27466
28241
|
},
|
|
@@ -27607,17 +28382,17 @@
|
|
|
27607
28382
|
"x-ellipsis-sdk-method": "agents.start"
|
|
27608
28383
|
}
|
|
27609
28384
|
},
|
|
27610
|
-
"/v1/agents/{
|
|
28385
|
+
"/v1/agents/{id}/unlink": {
|
|
27611
28386
|
"post": {
|
|
27612
28387
|
"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
28388
|
"operationId": "unlink_agent",
|
|
27614
28389
|
"parameters": [
|
|
27615
28390
|
{
|
|
27616
28391
|
"in": "path",
|
|
27617
|
-
"name": "
|
|
28392
|
+
"name": "id",
|
|
27618
28393
|
"required": true,
|
|
27619
28394
|
"schema": {
|
|
27620
|
-
"title": "
|
|
28395
|
+
"title": "Id",
|
|
27621
28396
|
"type": "string"
|
|
27622
28397
|
}
|
|
27623
28398
|
},
|
|
@@ -27932,17 +28707,17 @@
|
|
|
27932
28707
|
"x-ellipsis-undocumented": true
|
|
27933
28708
|
}
|
|
27934
28709
|
},
|
|
27935
|
-
"/v1/alerts/{
|
|
28710
|
+
"/v1/alerts/{id}": {
|
|
27936
28711
|
"get": {
|
|
27937
28712
|
"description": "Return one alert by id.\n\n404 if it doesn't exist or belongs to another organization.",
|
|
27938
28713
|
"operationId": "get_alert",
|
|
27939
28714
|
"parameters": [
|
|
27940
28715
|
{
|
|
27941
28716
|
"in": "path",
|
|
27942
|
-
"name": "
|
|
28717
|
+
"name": "id",
|
|
27943
28718
|
"required": true,
|
|
27944
28719
|
"schema": {
|
|
27945
|
-
"title": "
|
|
28720
|
+
"title": "Id",
|
|
27946
28721
|
"type": "string"
|
|
27947
28722
|
}
|
|
27948
28723
|
},
|
|
@@ -28069,17 +28844,17 @@
|
|
|
28069
28844
|
"x-ellipsis-undocumented": true
|
|
28070
28845
|
}
|
|
28071
28846
|
},
|
|
28072
|
-
"/v1/alerts/{
|
|
28847
|
+
"/v1/alerts/{id}/dismiss": {
|
|
28073
28848
|
"post": {
|
|
28074
28849
|
"description": "Dismiss an open alert and return it.\n\n409 when the alert is not open; 404 when it doesn't exist.",
|
|
28075
28850
|
"operationId": "dismiss_alert",
|
|
28076
28851
|
"parameters": [
|
|
28077
28852
|
{
|
|
28078
28853
|
"in": "path",
|
|
28079
|
-
"name": "
|
|
28854
|
+
"name": "id",
|
|
28080
28855
|
"required": true,
|
|
28081
28856
|
"schema": {
|
|
28082
|
-
"title": "
|
|
28857
|
+
"title": "Id",
|
|
28083
28858
|
"type": "string"
|
|
28084
28859
|
}
|
|
28085
28860
|
},
|
|
@@ -29355,17 +30130,17 @@
|
|
|
29355
30130
|
"x-ellipsis-sdk-method": "environments.create"
|
|
29356
30131
|
}
|
|
29357
30132
|
},
|
|
29358
|
-
"/v1/environments/{
|
|
30133
|
+
"/v1/environments/{id}": {
|
|
29359
30134
|
"delete": {
|
|
29360
30135
|
"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
30136
|
"operationId": "delete_environment",
|
|
29362
30137
|
"parameters": [
|
|
29363
30138
|
{
|
|
29364
30139
|
"in": "path",
|
|
29365
|
-
"name": "
|
|
30140
|
+
"name": "id",
|
|
29366
30141
|
"required": true,
|
|
29367
30142
|
"schema": {
|
|
29368
|
-
"title": "
|
|
30143
|
+
"title": "Id",
|
|
29369
30144
|
"type": "string"
|
|
29370
30145
|
}
|
|
29371
30146
|
},
|
|
@@ -29499,10 +30274,10 @@
|
|
|
29499
30274
|
"parameters": [
|
|
29500
30275
|
{
|
|
29501
30276
|
"in": "path",
|
|
29502
|
-
"name": "
|
|
30277
|
+
"name": "id",
|
|
29503
30278
|
"required": true,
|
|
29504
30279
|
"schema": {
|
|
29505
|
-
"title": "
|
|
30280
|
+
"title": "Id",
|
|
29506
30281
|
"type": "string"
|
|
29507
30282
|
}
|
|
29508
30283
|
},
|
|
@@ -29633,10 +30408,10 @@
|
|
|
29633
30408
|
"parameters": [
|
|
29634
30409
|
{
|
|
29635
30410
|
"in": "path",
|
|
29636
|
-
"name": "
|
|
30411
|
+
"name": "id",
|
|
29637
30412
|
"required": true,
|
|
29638
30413
|
"schema": {
|
|
29639
|
-
"title": "
|
|
30414
|
+
"title": "Id",
|
|
29640
30415
|
"type": "string"
|
|
29641
30416
|
}
|
|
29642
30417
|
},
|
|
@@ -29910,17 +30685,17 @@
|
|
|
29910
30685
|
"x-ellipsis-sdk-method": "handlers.list"
|
|
29911
30686
|
}
|
|
29912
30687
|
},
|
|
29913
|
-
"/v1/handlers/{
|
|
30688
|
+
"/v1/handlers/{id}/metrics": {
|
|
29914
30689
|
"get": {
|
|
29915
30690
|
"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
30691
|
"operationId": "get_handler_metrics",
|
|
29917
30692
|
"parameters": [
|
|
29918
30693
|
{
|
|
29919
30694
|
"in": "path",
|
|
29920
|
-
"name": "
|
|
30695
|
+
"name": "id",
|
|
29921
30696
|
"required": true,
|
|
29922
30697
|
"schema": {
|
|
29923
|
-
"title": "
|
|
30698
|
+
"title": "Id",
|
|
29924
30699
|
"type": "string"
|
|
29925
30700
|
}
|
|
29926
30701
|
},
|
|
@@ -31169,16 +31944,16 @@
|
|
|
31169
31944
|
"x-ellipsis-sdk-method": "integrations.sentry.organizations"
|
|
31170
31945
|
}
|
|
31171
31946
|
},
|
|
31172
|
-
"/v1/integrations/sentry/{
|
|
31947
|
+
"/v1/integrations/sentry/{id}": {
|
|
31173
31948
|
"delete": {
|
|
31174
31949
|
"operationId": "delete_sentry_integration",
|
|
31175
31950
|
"parameters": [
|
|
31176
31951
|
{
|
|
31177
31952
|
"in": "path",
|
|
31178
|
-
"name": "
|
|
31953
|
+
"name": "id",
|
|
31179
31954
|
"required": true,
|
|
31180
31955
|
"schema": {
|
|
31181
|
-
"title": "
|
|
31956
|
+
"title": "Id",
|
|
31182
31957
|
"type": "string"
|
|
31183
31958
|
}
|
|
31184
31959
|
},
|
|
@@ -32157,17 +32932,17 @@
|
|
|
32157
32932
|
"x-ellipsis-sdk-method": "reviews.configs.list"
|
|
32158
32933
|
}
|
|
32159
32934
|
},
|
|
32160
|
-
"/v1/reviews/{
|
|
32935
|
+
"/v1/reviews/{id}": {
|
|
32161
32936
|
"get": {
|
|
32162
32937
|
"description": "Get a code review: its reviewers and every comment they returned, posted or held back.",
|
|
32163
32938
|
"operationId": "get_review",
|
|
32164
32939
|
"parameters": [
|
|
32165
32940
|
{
|
|
32166
32941
|
"in": "path",
|
|
32167
|
-
"name": "
|
|
32942
|
+
"name": "id",
|
|
32168
32943
|
"required": true,
|
|
32169
32944
|
"schema": {
|
|
32170
|
-
"title": "
|
|
32945
|
+
"title": "Id",
|
|
32171
32946
|
"type": "string"
|
|
32172
32947
|
}
|
|
32173
32948
|
},
|
|
@@ -32985,7 +33760,7 @@
|
|
|
32985
33760
|
"x-ellipsis-sdk-method": "sessions.list"
|
|
32986
33761
|
},
|
|
32987
33762
|
"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/{
|
|
33763
|
+
"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
33764
|
"operationId": "start_session",
|
|
32990
33765
|
"parameters": [
|
|
32991
33766
|
{
|
|
@@ -33587,17 +34362,17 @@
|
|
|
33587
34362
|
"x-ellipsis-sdk-method": "sessions.stream_ticket"
|
|
33588
34363
|
}
|
|
33589
34364
|
},
|
|
33590
|
-
"/v1/sessions/{
|
|
34365
|
+
"/v1/sessions/{id}": {
|
|
33591
34366
|
"get": {
|
|
33592
34367
|
"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
34368
|
"operationId": "get_session",
|
|
33594
34369
|
"parameters": [
|
|
33595
34370
|
{
|
|
33596
34371
|
"in": "path",
|
|
33597
|
-
"name": "
|
|
34372
|
+
"name": "id",
|
|
33598
34373
|
"required": true,
|
|
33599
34374
|
"schema": {
|
|
33600
|
-
"title": "
|
|
34375
|
+
"title": "Id",
|
|
33601
34376
|
"type": "string"
|
|
33602
34377
|
}
|
|
33603
34378
|
},
|
|
@@ -33729,10 +34504,10 @@
|
|
|
33729
34504
|
"parameters": [
|
|
33730
34505
|
{
|
|
33731
34506
|
"in": "path",
|
|
33732
|
-
"name": "
|
|
34507
|
+
"name": "id",
|
|
33733
34508
|
"required": true,
|
|
33734
34509
|
"schema": {
|
|
33735
|
-
"title": "
|
|
34510
|
+
"title": "Id",
|
|
33736
34511
|
"type": "string"
|
|
33737
34512
|
}
|
|
33738
34513
|
},
|
|
@@ -33869,17 +34644,17 @@
|
|
|
33869
34644
|
"x-ellipsis-sdk-method": "sessions.update"
|
|
33870
34645
|
}
|
|
33871
34646
|
},
|
|
33872
|
-
"/v1/sessions/{
|
|
34647
|
+
"/v1/sessions/{id}/analytics": {
|
|
33873
34648
|
"get": {
|
|
33874
34649
|
"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
34650
|
"operationId": "get_session_analytics",
|
|
33876
34651
|
"parameters": [
|
|
33877
34652
|
{
|
|
33878
34653
|
"in": "path",
|
|
33879
|
-
"name": "
|
|
34654
|
+
"name": "id",
|
|
33880
34655
|
"required": true,
|
|
33881
34656
|
"schema": {
|
|
33882
|
-
"title": "
|
|
34657
|
+
"title": "Id",
|
|
33883
34658
|
"type": "string"
|
|
33884
34659
|
}
|
|
33885
34660
|
},
|
|
@@ -33997,17 +34772,17 @@
|
|
|
33997
34772
|
"x-ellipsis-sdk-method": "sessions.analytics"
|
|
33998
34773
|
}
|
|
33999
34774
|
},
|
|
34000
|
-
"/v1/sessions/{
|
|
34775
|
+
"/v1/sessions/{id}/diff": {
|
|
34001
34776
|
"get": {
|
|
34002
34777
|
"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
34778
|
"operationId": "get_session_diff",
|
|
34004
34779
|
"parameters": [
|
|
34005
34780
|
{
|
|
34006
34781
|
"in": "path",
|
|
34007
|
-
"name": "
|
|
34782
|
+
"name": "id",
|
|
34008
34783
|
"required": true,
|
|
34009
34784
|
"schema": {
|
|
34010
|
-
"title": "
|
|
34785
|
+
"title": "Id",
|
|
34011
34786
|
"type": "string"
|
|
34012
34787
|
}
|
|
34013
34788
|
},
|
|
@@ -34135,17 +34910,17 @@
|
|
|
34135
34910
|
"x-ellipsis-sdk-method": "sessions.diff"
|
|
34136
34911
|
}
|
|
34137
34912
|
},
|
|
34138
|
-
"/v1/sessions/{
|
|
34913
|
+
"/v1/sessions/{id}/download": {
|
|
34139
34914
|
"get": {
|
|
34140
34915
|
"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
34916
|
"operationId": "download_session",
|
|
34142
34917
|
"parameters": [
|
|
34143
34918
|
{
|
|
34144
34919
|
"in": "path",
|
|
34145
|
-
"name": "
|
|
34920
|
+
"name": "id",
|
|
34146
34921
|
"required": true,
|
|
34147
34922
|
"schema": {
|
|
34148
|
-
"title": "
|
|
34923
|
+
"title": "Id",
|
|
34149
34924
|
"type": "string"
|
|
34150
34925
|
}
|
|
34151
34926
|
},
|
|
@@ -34272,17 +35047,17 @@
|
|
|
34272
35047
|
"x-ellipsis-sdk-method": "sessions.download"
|
|
34273
35048
|
}
|
|
34274
35049
|
},
|
|
34275
|
-
"/v1/sessions/{
|
|
35050
|
+
"/v1/sessions/{id}/git": {
|
|
34276
35051
|
"get": {
|
|
34277
35052
|
"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
35053
|
"operationId": "get_session_git",
|
|
34279
35054
|
"parameters": [
|
|
34280
35055
|
{
|
|
34281
35056
|
"in": "path",
|
|
34282
|
-
"name": "
|
|
35057
|
+
"name": "id",
|
|
34283
35058
|
"required": true,
|
|
34284
35059
|
"schema": {
|
|
34285
|
-
"title": "
|
|
35060
|
+
"title": "Id",
|
|
34286
35061
|
"type": "string"
|
|
34287
35062
|
}
|
|
34288
35063
|
},
|
|
@@ -34399,17 +35174,17 @@
|
|
|
34399
35174
|
"x-ellipsis-sdk-method": "sessions.git"
|
|
34400
35175
|
}
|
|
34401
35176
|
},
|
|
34402
|
-
"/v1/sessions/{
|
|
35177
|
+
"/v1/sessions/{id}/messages": {
|
|
34403
35178
|
"post": {
|
|
34404
35179
|
"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
35180
|
"operationId": "send_session_message",
|
|
34406
35181
|
"parameters": [
|
|
34407
35182
|
{
|
|
34408
35183
|
"in": "path",
|
|
34409
|
-
"name": "
|
|
35184
|
+
"name": "id",
|
|
34410
35185
|
"required": true,
|
|
34411
35186
|
"schema": {
|
|
34412
|
-
"title": "
|
|
35187
|
+
"title": "Id",
|
|
34413
35188
|
"type": "string"
|
|
34414
35189
|
}
|
|
34415
35190
|
},
|
|
@@ -34566,17 +35341,17 @@
|
|
|
34566
35341
|
"x-ellipsis-sdk-method": "sessions.send_message"
|
|
34567
35342
|
}
|
|
34568
35343
|
},
|
|
34569
|
-
"/v1/sessions/{
|
|
35344
|
+
"/v1/sessions/{id}/metrics": {
|
|
34570
35345
|
"get": {
|
|
34571
35346
|
"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
35347
|
"operationId": "get_session_metrics",
|
|
34573
35348
|
"parameters": [
|
|
34574
35349
|
{
|
|
34575
35350
|
"in": "path",
|
|
34576
|
-
"name": "
|
|
35351
|
+
"name": "id",
|
|
34577
35352
|
"required": true,
|
|
34578
35353
|
"schema": {
|
|
34579
|
-
"title": "
|
|
35354
|
+
"title": "Id",
|
|
34580
35355
|
"type": "string"
|
|
34581
35356
|
}
|
|
34582
35357
|
},
|
|
@@ -34695,17 +35470,17 @@
|
|
|
34695
35470
|
"x-ellipsis-undocumented": true
|
|
34696
35471
|
}
|
|
34697
35472
|
},
|
|
34698
|
-
"/v1/sessions/{
|
|
35473
|
+
"/v1/sessions/{id}/records": {
|
|
34699
35474
|
"get": {
|
|
34700
35475
|
"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
35476
|
"operationId": "get_session_records",
|
|
34702
35477
|
"parameters": [
|
|
34703
35478
|
{
|
|
34704
35479
|
"in": "path",
|
|
34705
|
-
"name": "
|
|
35480
|
+
"name": "id",
|
|
34706
35481
|
"required": true,
|
|
34707
35482
|
"schema": {
|
|
34708
|
-
"title": "
|
|
35483
|
+
"title": "Id",
|
|
34709
35484
|
"type": "string"
|
|
34710
35485
|
}
|
|
34711
35486
|
},
|
|
@@ -34866,17 +35641,17 @@
|
|
|
34866
35641
|
"x-ellipsis-sdk-method": "sessions.records"
|
|
34867
35642
|
}
|
|
34868
35643
|
},
|
|
34869
|
-
"/v1/sessions/{
|
|
35644
|
+
"/v1/sessions/{id}/stop": {
|
|
34870
35645
|
"post": {
|
|
34871
35646
|
"description": "Stop the turn in progress and return the session.\n\nThe turn ends `stopped`; the conversation stays open. 409 when no\nturn is pending or running. The stopping user is recorded only\nwhen the caller's credential maps to a GitHub account.",
|
|
34872
35647
|
"operationId": "stop_session",
|
|
34873
35648
|
"parameters": [
|
|
34874
35649
|
{
|
|
34875
35650
|
"in": "path",
|
|
34876
|
-
"name": "
|
|
35651
|
+
"name": "id",
|
|
34877
35652
|
"required": true,
|
|
34878
35653
|
"schema": {
|
|
34879
|
-
"title": "
|
|
35654
|
+
"title": "Id",
|
|
34880
35655
|
"type": "string"
|
|
34881
35656
|
}
|
|
34882
35657
|
},
|
|
@@ -35013,16 +35788,16 @@
|
|
|
35013
35788
|
"x-ellipsis-sdk-method": "sessions.stop"
|
|
35014
35789
|
}
|
|
35015
35790
|
},
|
|
35016
|
-
"/v1/sessions/{
|
|
35791
|
+
"/v1/sessions/{id}/stream-ticket": {
|
|
35017
35792
|
"get": {
|
|
35018
35793
|
"operationId": "get_session_stream_ticket",
|
|
35019
35794
|
"parameters": [
|
|
35020
35795
|
{
|
|
35021
35796
|
"in": "path",
|
|
35022
|
-
"name": "
|
|
35797
|
+
"name": "id",
|
|
35023
35798
|
"required": true,
|
|
35024
35799
|
"schema": {
|
|
35025
|
-
"title": "
|
|
35800
|
+
"title": "Id",
|
|
35026
35801
|
"type": "string"
|
|
35027
35802
|
}
|
|
35028
35803
|
},
|
|
@@ -35139,17 +35914,17 @@
|
|
|
35139
35914
|
"x-ellipsis-sdk-method": "sessions.session_stream_ticket"
|
|
35140
35915
|
}
|
|
35141
35916
|
},
|
|
35142
|
-
"/v1/sessions/{
|
|
35917
|
+
"/v1/sessions/{id}/transcript": {
|
|
35143
35918
|
"post": {
|
|
35144
35919
|
"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
35920
|
"operationId": "ingest_session_transcript",
|
|
35146
35921
|
"parameters": [
|
|
35147
35922
|
{
|
|
35148
35923
|
"in": "path",
|
|
35149
|
-
"name": "
|
|
35924
|
+
"name": "id",
|
|
35150
35925
|
"required": true,
|
|
35151
35926
|
"schema": {
|
|
35152
|
-
"title": "
|
|
35927
|
+
"title": "Id",
|
|
35153
35928
|
"type": "string"
|
|
35154
35929
|
}
|
|
35155
35930
|
},
|
|
@@ -35298,17 +36073,17 @@
|
|
|
35298
36073
|
"x-ellipsis-undocumented": true
|
|
35299
36074
|
}
|
|
35300
36075
|
},
|
|
35301
|
-
"/v1/sessions/{
|
|
36076
|
+
"/v1/sessions/{id}/turns": {
|
|
35302
36077
|
"get": {
|
|
35303
36078
|
"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
36079
|
"operationId": "get_session_turns",
|
|
35305
36080
|
"parameters": [
|
|
35306
36081
|
{
|
|
35307
36082
|
"in": "path",
|
|
35308
|
-
"name": "
|
|
36083
|
+
"name": "id",
|
|
35309
36084
|
"required": true,
|
|
35310
36085
|
"schema": {
|
|
35311
|
-
"title": "
|
|
36086
|
+
"title": "Id",
|
|
35312
36087
|
"type": "string"
|
|
35313
36088
|
}
|
|
35314
36089
|
},
|
|
@@ -35435,7 +36210,7 @@
|
|
|
35435
36210
|
"x-ellipsis-sdk-method": "sessions.turns.list"
|
|
35436
36211
|
}
|
|
35437
36212
|
},
|
|
35438
|
-
"/v1/sessions/{session_id}/turns/{
|
|
36213
|
+
"/v1/sessions/{session_id}/turns/{id}": {
|
|
35439
36214
|
"get": {
|
|
35440
36215
|
"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
36216
|
"operationId": "get_session_turn",
|
|
@@ -35451,10 +36226,10 @@
|
|
|
35451
36226
|
},
|
|
35452
36227
|
{
|
|
35453
36228
|
"in": "path",
|
|
35454
|
-
"name": "
|
|
36229
|
+
"name": "id",
|
|
35455
36230
|
"required": true,
|
|
35456
36231
|
"schema": {
|
|
35457
|
-
"title": "
|
|
36232
|
+
"title": "Id",
|
|
35458
36233
|
"type": "string"
|
|
35459
36234
|
}
|
|
35460
36235
|
},
|
|
@@ -36077,17 +36852,17 @@
|
|
|
36077
36852
|
"x-ellipsis-undocumented": true
|
|
36078
36853
|
}
|
|
36079
36854
|
},
|
|
36080
|
-
"/v1/templates/{
|
|
36855
|
+
"/v1/templates/{id}": {
|
|
36081
36856
|
"get": {
|
|
36082
36857
|
"description": "Return one built-in agent template by slug.",
|
|
36083
36858
|
"operationId": "get_agent_template",
|
|
36084
36859
|
"parameters": [
|
|
36085
36860
|
{
|
|
36086
36861
|
"in": "path",
|
|
36087
|
-
"name": "
|
|
36862
|
+
"name": "id",
|
|
36088
36863
|
"required": true,
|
|
36089
36864
|
"schema": {
|
|
36090
|
-
"title": "
|
|
36865
|
+
"title": "Id",
|
|
36091
36866
|
"type": "string"
|
|
36092
36867
|
}
|
|
36093
36868
|
},
|
|
@@ -37145,16 +37920,16 @@
|
|
|
37145
37920
|
"x-ellipsis-sdk-method": "user.tokens.list"
|
|
37146
37921
|
}
|
|
37147
37922
|
},
|
|
37148
|
-
"/v1/user/tokens/{
|
|
37923
|
+
"/v1/user/tokens/{id}": {
|
|
37149
37924
|
"delete": {
|
|
37150
37925
|
"operationId": "revoke_user_token",
|
|
37151
37926
|
"parameters": [
|
|
37152
37927
|
{
|
|
37153
37928
|
"in": "path",
|
|
37154
|
-
"name": "
|
|
37929
|
+
"name": "id",
|
|
37155
37930
|
"required": true,
|
|
37156
37931
|
"schema": {
|
|
37157
|
-
"title": "
|
|
37932
|
+
"title": "Id",
|
|
37158
37933
|
"type": "string"
|
|
37159
37934
|
}
|
|
37160
37935
|
},
|
|
@@ -37394,16 +38169,16 @@
|
|
|
37394
38169
|
"x-ellipsis-undocumented": true
|
|
37395
38170
|
}
|
|
37396
38171
|
},
|
|
37397
|
-
"/v1/vm-executions/{
|
|
38172
|
+
"/v1/vm-executions/{id}": {
|
|
37398
38173
|
"get": {
|
|
37399
38174
|
"operationId": "get_single_vm_execution",
|
|
37400
38175
|
"parameters": [
|
|
37401
38176
|
{
|
|
37402
38177
|
"in": "path",
|
|
37403
|
-
"name": "
|
|
38178
|
+
"name": "id",
|
|
37404
38179
|
"required": true,
|
|
37405
38180
|
"schema": {
|
|
37406
|
-
"title": "
|
|
38181
|
+
"title": "Id",
|
|
37407
38182
|
"type": "string"
|
|
37408
38183
|
}
|
|
37409
38184
|
},
|
|
@@ -37521,16 +38296,16 @@
|
|
|
37521
38296
|
"x-ellipsis-undocumented": true
|
|
37522
38297
|
}
|
|
37523
38298
|
},
|
|
37524
|
-
"/v1/vm-executions/{
|
|
38299
|
+
"/v1/vm-executions/{id}/stream-ticket": {
|
|
37525
38300
|
"get": {
|
|
37526
38301
|
"operationId": "get_vm_execution_stream_ticket",
|
|
37527
38302
|
"parameters": [
|
|
37528
38303
|
{
|
|
37529
38304
|
"in": "path",
|
|
37530
|
-
"name": "
|
|
38305
|
+
"name": "id",
|
|
37531
38306
|
"required": true,
|
|
37532
38307
|
"schema": {
|
|
37533
|
-
"title": "
|
|
38308
|
+
"title": "Id",
|
|
37534
38309
|
"type": "string"
|
|
37535
38310
|
}
|
|
37536
38311
|
},
|
|
@@ -37791,17 +38566,17 @@
|
|
|
37791
38566
|
"x-ellipsis-undocumented": true
|
|
37792
38567
|
}
|
|
37793
38568
|
},
|
|
37794
|
-
"/v1/vm-images/{
|
|
38569
|
+
"/v1/vm-images/{id}": {
|
|
37795
38570
|
"get": {
|
|
37796
38571
|
"description": "Get metadata for a reusable VM image.",
|
|
37797
38572
|
"operationId": "get_vm_image",
|
|
37798
38573
|
"parameters": [
|
|
37799
38574
|
{
|
|
37800
38575
|
"in": "path",
|
|
37801
|
-
"name": "
|
|
38576
|
+
"name": "id",
|
|
37802
38577
|
"required": true,
|
|
37803
38578
|
"schema": {
|
|
37804
|
-
"title": "
|
|
38579
|
+
"title": "Id",
|
|
37805
38580
|
"type": "string"
|
|
37806
38581
|
}
|
|
37807
38582
|
},
|
|
@@ -38063,17 +38838,17 @@
|
|
|
38063
38838
|
"x-ellipsis-undocumented": true
|
|
38064
38839
|
}
|
|
38065
38840
|
},
|
|
38066
|
-
"/v1/vms/{
|
|
38841
|
+
"/v1/vms/{id}": {
|
|
38067
38842
|
"get": {
|
|
38068
38843
|
"description": "Get a VM and its most recent execution.",
|
|
38069
38844
|
"operationId": "get_vm",
|
|
38070
38845
|
"parameters": [
|
|
38071
38846
|
{
|
|
38072
38847
|
"in": "path",
|
|
38073
|
-
"name": "
|
|
38848
|
+
"name": "id",
|
|
38074
38849
|
"required": true,
|
|
38075
38850
|
"schema": {
|
|
38076
|
-
"title": "
|
|
38851
|
+
"title": "Id",
|
|
38077
38852
|
"type": "string"
|
|
38078
38853
|
}
|
|
38079
38854
|
},
|
|
@@ -38192,17 +38967,17 @@
|
|
|
38192
38967
|
"x-ellipsis-undocumented": true
|
|
38193
38968
|
}
|
|
38194
38969
|
},
|
|
38195
|
-
"/v1/vms/{
|
|
38970
|
+
"/v1/vms/{id}/metrics": {
|
|
38196
38971
|
"get": {
|
|
38197
38972
|
"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
38973
|
"operationId": "list_vm_metrics",
|
|
38199
38974
|
"parameters": [
|
|
38200
38975
|
{
|
|
38201
38976
|
"in": "path",
|
|
38202
|
-
"name": "
|
|
38977
|
+
"name": "id",
|
|
38203
38978
|
"required": true,
|
|
38204
38979
|
"schema": {
|
|
38205
|
-
"title": "
|
|
38980
|
+
"title": "Id",
|
|
38206
38981
|
"type": "string"
|
|
38207
38982
|
}
|
|
38208
38983
|
},
|
|
@@ -38868,17 +39643,17 @@
|
|
|
38868
39643
|
"x-ellipsis-sdk-method": "webhooks.deliveries.list"
|
|
38869
39644
|
}
|
|
38870
39645
|
},
|
|
38871
|
-
"/v1/webhooks/deliveries/{
|
|
39646
|
+
"/v1/webhooks/deliveries/{id}": {
|
|
38872
39647
|
"get": {
|
|
38873
39648
|
"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
39649
|
"operationId": "get_webhook_delivery",
|
|
38875
39650
|
"parameters": [
|
|
38876
39651
|
{
|
|
38877
39652
|
"in": "path",
|
|
38878
|
-
"name": "
|
|
39653
|
+
"name": "id",
|
|
38879
39654
|
"required": true,
|
|
38880
39655
|
"schema": {
|
|
38881
|
-
"title": "
|
|
39656
|
+
"title": "Id",
|
|
38882
39657
|
"type": "string"
|
|
38883
39658
|
}
|
|
38884
39659
|
},
|
|
@@ -39004,17 +39779,17 @@
|
|
|
39004
39779
|
"x-ellipsis-sdk-method": "webhooks.deliveries.get"
|
|
39005
39780
|
}
|
|
39006
39781
|
},
|
|
39007
|
-
"/v1/webhooks/{
|
|
39782
|
+
"/v1/webhooks/{id}": {
|
|
39008
39783
|
"delete": {
|
|
39009
39784
|
"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
39785
|
"operationId": "delete_webhook",
|
|
39011
39786
|
"parameters": [
|
|
39012
39787
|
{
|
|
39013
39788
|
"in": "path",
|
|
39014
|
-
"name": "
|
|
39789
|
+
"name": "id",
|
|
39015
39790
|
"required": true,
|
|
39016
39791
|
"schema": {
|
|
39017
|
-
"title": "
|
|
39792
|
+
"title": "Id",
|
|
39018
39793
|
"type": "string"
|
|
39019
39794
|
}
|
|
39020
39795
|
},
|
|
@@ -39138,10 +39913,10 @@
|
|
|
39138
39913
|
"parameters": [
|
|
39139
39914
|
{
|
|
39140
39915
|
"in": "path",
|
|
39141
|
-
"name": "
|
|
39916
|
+
"name": "id",
|
|
39142
39917
|
"required": true,
|
|
39143
39918
|
"schema": {
|
|
39144
|
-
"title": "
|
|
39919
|
+
"title": "Id",
|
|
39145
39920
|
"type": "string"
|
|
39146
39921
|
}
|
|
39147
39922
|
},
|
|
@@ -39272,10 +40047,10 @@
|
|
|
39272
40047
|
"parameters": [
|
|
39273
40048
|
{
|
|
39274
40049
|
"in": "path",
|
|
39275
|
-
"name": "
|
|
40050
|
+
"name": "id",
|
|
39276
40051
|
"required": true,
|
|
39277
40052
|
"schema": {
|
|
39278
|
-
"title": "
|
|
40053
|
+
"title": "Id",
|
|
39279
40054
|
"type": "string"
|
|
39280
40055
|
}
|
|
39281
40056
|
},
|
|
@@ -39421,17 +40196,17 @@
|
|
|
39421
40196
|
"x-ellipsis-sdk-method": "webhooks.update"
|
|
39422
40197
|
}
|
|
39423
40198
|
},
|
|
39424
|
-
"/v1/webhooks/{
|
|
40199
|
+
"/v1/webhooks/{id}/ping": {
|
|
39425
40200
|
"post": {
|
|
39426
40201
|
"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
40202
|
"operationId": "ping_webhook",
|
|
39428
40203
|
"parameters": [
|
|
39429
40204
|
{
|
|
39430
40205
|
"in": "path",
|
|
39431
|
-
"name": "
|
|
40206
|
+
"name": "id",
|
|
39432
40207
|
"required": true,
|
|
39433
40208
|
"schema": {
|
|
39434
|
-
"title": "
|
|
40209
|
+
"title": "Id",
|
|
39435
40210
|
"type": "string"
|
|
39436
40211
|
}
|
|
39437
40212
|
},
|