@alva-ai/toolkit 0.20.0 → 0.22.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.js CHANGED
@@ -20,6 +20,11 @@ var CliUsageError = class extends Error {
20
20
  }
21
21
  };
22
22
 
23
+ // src/arrayBuffer.ts
24
+ function isArrayBuffer(value) {
25
+ return Object.prototype.toString.call(value) === "[object ArrayBuffer]";
26
+ }
27
+
23
28
  // src/resources/fs.ts
24
29
  var WRITE_FLAG_APPEND = 1 << 0;
25
30
  function isValidUtf8(bytes) {
@@ -71,7 +76,7 @@ var FsResource = class {
71
76
  const result = await this.client._request("GET", "/api/v1/fs/read", {
72
77
  query: { path: params.path, offset: params.offset, size: params.size }
73
78
  });
74
- if (!(result instanceof ArrayBuffer)) return result;
79
+ if (!isArrayBuffer(result)) return result;
75
80
  if (!isValidUtf8(new Uint8Array(result))) {
76
81
  return result;
77
82
  }
@@ -522,6 +527,30 @@ var AutomationResource = class {
522
527
  `/api/v1/automation/${encodeURIComponent(String(id))}`
523
528
  );
524
529
  }
530
+ /** Partially update one existing automation by immutable decimal-string id. */
531
+ async update(params) {
532
+ this.client._requireAuth();
533
+ const id = requireAutomationIDString(params.id);
534
+ if (!hasAutomationUpdate(params)) {
535
+ throw new Error(
536
+ "automation update requires at least one field or trigger=true"
537
+ );
538
+ }
539
+ return this.client._request(
540
+ "PATCH",
541
+ `/api/v1/automation/${encodeURIComponent(String(id))}`,
542
+ {
543
+ body: {
544
+ version: params.version,
545
+ cronjob_id: params.cronjob_id,
546
+ description: params.description,
547
+ changelog: params.changelog,
548
+ agent_type: params.agent_type,
549
+ trigger: params.trigger
550
+ }
551
+ }
552
+ );
553
+ }
525
554
  stop(params) {
526
555
  return this.client.feed.stop(params);
527
556
  }
@@ -541,6 +570,15 @@ function requireAutomationID(id) {
541
570
  }
542
571
  return id;
543
572
  }
573
+ function requireAutomationIDString(id) {
574
+ if (!/^[1-9]\d*$/.test(id)) {
575
+ throw new Error("automation id must be a positive integer string");
576
+ }
577
+ return id;
578
+ }
579
+ function hasAutomationUpdate(params) {
580
+ return params.version !== void 0 || params.cronjob_id !== void 0 || params.description !== void 0 || params.changelog !== void 0 || params.agent_type !== void 0 || params.trigger === true;
581
+ }
544
582
 
545
583
  // src/resources/playbooks.ts
546
584
  var PLAYBOOK_VISIBILITIES = [
@@ -585,6 +623,26 @@ var PlaybooksResource = class {
585
623
  query
586
624
  });
587
625
  }
626
+ /**
627
+ * List the authenticated user's OWN playbooks via GET /api/v1/playbook —
628
+ * the owner-scoped surface that INCLUDES drafts. Unlike `listByOwner` (the
629
+ * public discovery view, which requires at least one release and therefore
630
+ * hides drafts), this shows work-in-progress playbooks you created but
631
+ * never released. Requires an API key: the owner is derived from auth, not
632
+ * a username argument. Optional `filter` narrows to draft | running |
633
+ * paused.
634
+ */
635
+ async listOwn(params = {}) {
636
+ const query = {};
637
+ if (params.filter) query.filter = params.filter;
638
+ if (params.limit !== void 0 && params.limit > 0) {
639
+ query.limit = String(params.limit);
640
+ }
641
+ if (params.cursor) query.cursor = params.cursor;
642
+ return await this.client._request("GET", "/api/v1/playbook", {
643
+ query
644
+ });
645
+ }
588
646
  /**
589
647
  * Get one playbook by numeric id or by "owner/name" ref. Returns null when
590
648
  * not found / not visible / deleted.
@@ -772,1181 +830,721 @@ var SdkDocsResource = class {
772
830
  }
773
831
  };
774
832
 
775
- // src/resources/skillTiers.ts
833
+ // src/resources/skillEndpoints.ts
776
834
  var SKILL_ENDPOINT_METADATA = [
777
835
  {
778
836
  skill: "arrays-data-api-crypto-futures-data",
779
837
  file: "binance-perp-usdt-kline",
780
838
  method: "GET",
781
- path: "/api/v1/crypto/binance/perp/usdt/kline",
782
- tier: "public",
783
- required_subscription_tier: "free",
784
- access: "free_and_pro",
785
- pro_required: false
839
+ path: "/api/v1/crypto/binance/perp/usdt/kline"
786
840
  },
787
841
  {
788
842
  skill: "arrays-data-api-spot-market-price-and-volume",
789
843
  file: "binance-spot-usdt-kline",
790
844
  method: "GET",
791
- path: "/api/v1/crypto/binance/spot/usdt/kline",
792
- tier: "public",
793
- required_subscription_tier: "free",
794
- access: "free_and_pro",
795
- pro_required: false
845
+ path: "/api/v1/crypto/binance/spot/usdt/kline"
796
846
  },
797
847
  {
798
848
  skill: "arrays-data-api-crypto-metrics-and-screener",
799
849
  file: "fear-greed-index",
800
850
  method: "GET",
801
- path: "/api/v1/crypto/fear-greed-index",
802
- tier: "public",
803
- required_subscription_tier: "free",
804
- access: "free_and_pro",
805
- pro_required: false
851
+ path: "/api/v1/crypto/fear-greed-index"
806
852
  },
807
853
  {
808
854
  skill: "arrays-data-api-crypto-futures-data",
809
855
  file: "funding-rate",
810
856
  method: "GET",
811
- path: "/api/v1/crypto/funding-rate",
812
- tier: "public",
813
- required_subscription_tier: "free",
814
- access: "free_and_pro",
815
- pro_required: false
857
+ path: "/api/v1/crypto/funding-rate"
816
858
  },
817
859
  {
818
860
  skill: "arrays-data-api-crypto-futures-data",
819
861
  file: "hyperliquid-perp-usdc-kline",
820
862
  method: "GET",
821
- path: "/api/v1/crypto/hyperliquid/perp/usdc/kline",
822
- tier: "public",
823
- required_subscription_tier: "free",
824
- access: "free_and_pro",
825
- pro_required: false
863
+ path: "/api/v1/crypto/hyperliquid/perp/usdc/kline"
826
864
  },
827
865
  {
828
866
  skill: "arrays-data-api-spot-market-price-and-volume",
829
867
  file: "hyperliquid-spot-usdc-kline",
830
868
  method: "GET",
831
- path: "/api/v1/crypto/hyperliquid/spot/usdc/kline",
832
- tier: "public",
833
- required_subscription_tier: "free",
834
- access: "free_and_pro",
835
- pro_required: false
869
+ path: "/api/v1/crypto/hyperliquid/spot/usdc/kline"
836
870
  },
837
871
  {
838
872
  skill: "arrays-data-api-crypto-futures-data",
839
873
  file: "long-short-ratio",
840
874
  method: "GET",
841
- path: "/api/v1/crypto/long-short-ratio",
842
- tier: "public",
843
- required_subscription_tier: "free",
844
- access: "free_and_pro",
845
- pro_required: false
875
+ path: "/api/v1/crypto/long-short-ratio"
846
876
  },
847
877
  {
848
878
  skill: "arrays-data-api-crypto-metrics-and-screener",
849
879
  file: "crypto-market-cap",
850
880
  method: "GET",
851
- path: "/api/v1/crypto/market-cap",
852
- tier: "public",
853
- required_subscription_tier: "free",
854
- access: "free_and_pro",
855
- pro_required: false
881
+ path: "/api/v1/crypto/market-cap"
856
882
  },
857
883
  {
858
884
  skill: "arrays-data-api-crypto-metrics-and-screener",
859
885
  file: "market-metrics",
860
886
  method: "GET",
861
- path: "/api/v1/crypto/market-metrics",
862
- tier: "public",
863
- required_subscription_tier: "free",
864
- access: "free_and_pro",
865
- pro_required: false
887
+ path: "/api/v1/crypto/market-metrics"
866
888
  },
867
889
  {
868
890
  skill: "arrays-data-api-crypto-futures-data",
869
891
  file: "open-interest",
870
892
  method: "GET",
871
- path: "/api/v1/crypto/open-interest",
872
- tier: "public",
873
- required_subscription_tier: "free",
874
- access: "free_and_pro",
875
- pro_required: false
893
+ path: "/api/v1/crypto/open-interest"
876
894
  },
877
895
  {
878
896
  skill: "arrays-data-api-crypto-metrics-and-screener",
879
897
  file: "screener-metrics",
880
898
  method: "GET",
881
- path: "/api/v1/crypto/screener/metrics",
882
- tier: "public",
883
- required_subscription_tier: "free",
884
- access: "free_and_pro",
885
- pro_required: false
899
+ path: "/api/v1/crypto/screener/metrics"
886
900
  },
887
901
  {
888
902
  skill: "arrays-data-api-crypto-metrics-and-screener",
889
903
  file: "screener-metrics-timerange",
890
904
  method: "GET",
891
- path: "/api/v1/crypto/screener/metrics/timerange",
892
- tier: "public",
893
- required_subscription_tier: "free",
894
- access: "free_and_pro",
895
- pro_required: false
905
+ path: "/api/v1/crypto/screener/metrics/timerange"
896
906
  },
897
907
  {
898
908
  skill: "arrays-data-api-crypto-metrics-and-screener",
899
909
  file: "crypto-detail",
900
910
  method: "GET",
901
- path: "/api/v1/crypto/detail",
902
- tier: "public",
903
- required_subscription_tier: "free",
904
- access: "free_and_pro",
905
- pro_required: false
911
+ path: "/api/v1/crypto/detail"
906
912
  },
907
913
  {
908
914
  skill: "arrays-data-api-etf-fundamentals",
909
915
  file: "country-weightings",
910
916
  method: "GET",
911
- path: "/api/v1/etf/country-weightings",
912
- tier: "public",
913
- required_subscription_tier: "free",
914
- access: "free_and_pro",
915
- pro_required: false
917
+ path: "/api/v1/etf/country-weightings"
916
918
  },
917
919
  {
918
920
  skill: "arrays-data-api-etf-fundamentals",
919
921
  file: "holdings",
920
922
  method: "GET",
921
- path: "/api/v1/etf/holdings",
922
- tier: "public",
923
- required_subscription_tier: "free",
924
- access: "free_and_pro",
925
- pro_required: false
923
+ path: "/api/v1/etf/holdings"
926
924
  },
927
925
  {
928
926
  skill: "arrays-data-api-etf-fundamentals",
929
927
  file: "info",
930
928
  method: "GET",
931
- path: "/api/v1/etf/info",
932
- tier: "public",
933
- required_subscription_tier: "free",
934
- access: "free_and_pro",
935
- pro_required: false
929
+ path: "/api/v1/etf/info"
936
930
  },
937
931
  {
938
932
  skill: "arrays-data-api-etf-fundamentals",
939
933
  file: "sector-weightings",
940
934
  method: "GET",
941
- path: "/api/v1/etf/sector-weightings",
942
- tier: "public",
943
- required_subscription_tier: "free",
944
- access: "free_and_pro",
945
- pro_required: false
935
+ path: "/api/v1/etf/sector-weightings"
946
936
  },
947
937
  {
948
938
  skill: "arrays-data-api-macro-and-economics",
949
939
  file: "macro-commodity-historical",
950
940
  method: "GET",
951
- path: "/api/v1/macro/commodity/historical",
952
- tier: "public",
953
- required_subscription_tier: "free",
954
- access: "free_and_pro",
955
- pro_required: false
941
+ path: "/api/v1/macro/commodity/historical"
956
942
  },
957
943
  {
958
944
  skill: "arrays-data-api-macro-and-economics",
959
945
  file: "macro-commodity-real-time",
960
946
  method: "GET",
961
- path: "/api/v1/macro/commodity/real-time",
962
- tier: "public",
963
- required_subscription_tier: "free",
964
- access: "free_and_pro",
965
- pro_required: false
947
+ path: "/api/v1/macro/commodity/real-time"
966
948
  },
967
949
  {
968
950
  skill: "arrays-data-api-macro-and-economics",
969
951
  file: "macro-commodity-symbol-list",
970
952
  method: "GET",
971
- path: "/api/v1/macro/commodity/symbols",
972
- tier: "public",
973
- required_subscription_tier: "free",
974
- access: "free_and_pro",
975
- pro_required: false
953
+ path: "/api/v1/macro/commodity/symbols"
976
954
  },
977
955
  {
978
956
  skill: "arrays-data-api-macro-and-economics",
979
957
  file: "economic-indicators",
980
958
  method: "GET",
981
- path: "/api/v1/macro/economic-indicators",
982
- tier: "public",
983
- required_subscription_tier: "free",
984
- access: "free_and_pro",
985
- pro_required: false
959
+ path: "/api/v1/macro/economic-indicators"
986
960
  },
987
961
  {
988
962
  skill: "arrays-data-api-macro-and-economics",
989
963
  file: "macro-forex-historical",
990
964
  method: "GET",
991
- path: "/api/v1/macro/forex/historical",
992
- tier: "public",
993
- required_subscription_tier: "free",
994
- access: "free_and_pro",
995
- pro_required: false
965
+ path: "/api/v1/macro/forex/historical"
996
966
  },
997
967
  {
998
968
  skill: "arrays-data-api-macro-and-economics",
999
969
  file: "macro-forex-real-time",
1000
970
  method: "GET",
1001
- path: "/api/v1/macro/forex/real-time",
1002
- tier: "public",
1003
- required_subscription_tier: "free",
1004
- access: "free_and_pro",
1005
- pro_required: false
971
+ path: "/api/v1/macro/forex/real-time"
1006
972
  },
1007
973
  {
1008
974
  skill: "arrays-data-api-macro-and-economics",
1009
975
  file: "macro-forex-symbol-list",
1010
976
  method: "GET",
1011
- path: "/api/v1/macro/forex/symbols",
1012
- tier: "public",
1013
- required_subscription_tier: "free",
1014
- access: "free_and_pro",
1015
- pro_required: false
977
+ path: "/api/v1/macro/forex/symbols"
1016
978
  },
1017
979
  {
1018
980
  skill: "arrays-data-api-macro-and-economics",
1019
981
  file: "macro-index-historical",
1020
982
  method: "GET",
1021
- path: "/api/v1/macro/index/historical",
1022
- tier: "public",
1023
- required_subscription_tier: "free",
1024
- access: "free_and_pro",
1025
- pro_required: false
983
+ path: "/api/v1/macro/index/historical"
1026
984
  },
1027
985
  {
1028
986
  skill: "arrays-data-api-macro-and-economics",
1029
987
  file: "macro-index-real-time",
1030
988
  method: "GET",
1031
- path: "/api/v1/macro/index/real-time",
1032
- tier: "public",
1033
- required_subscription_tier: "free",
1034
- access: "free_and_pro",
1035
- pro_required: false
989
+ path: "/api/v1/macro/index/real-time"
1036
990
  },
1037
991
  {
1038
992
  skill: "arrays-data-api-macro-and-economics",
1039
993
  file: "rates",
1040
994
  method: "GET",
1041
- path: "/api/v1/macro/treasury-rates",
1042
- tier: "public",
1043
- required_subscription_tier: "free",
1044
- access: "free_and_pro",
1045
- pro_required: false
995
+ path: "/api/v1/macro/treasury-rates"
1046
996
  },
1047
997
  {
1048
998
  skill: "arrays-data-api-equity-fundamentals",
1049
999
  file: "company-balance-sheets",
1050
1000
  method: "GET",
1051
- path: "/api/v1/stocks/company/balance-sheets",
1052
- tier: "public",
1053
- required_subscription_tier: "free",
1054
- access: "free_and_pro",
1055
- pro_required: false
1001
+ path: "/api/v1/stocks/company/balance-sheets"
1056
1002
  },
1057
1003
  {
1058
1004
  skill: "arrays-data-api-equity-fundamentals",
1059
1005
  file: "company-cashflow-statements",
1060
1006
  method: "GET",
1061
- path: "/api/v1/stocks/company/cashflow-statements",
1062
- tier: "public",
1063
- required_subscription_tier: "free",
1064
- access: "free_and_pro",
1065
- pro_required: false
1007
+ path: "/api/v1/stocks/company/cashflow-statements"
1066
1008
  },
1067
1009
  {
1068
1010
  skill: "arrays-data-api-equity-fundamentals",
1069
1011
  file: "company-detail",
1070
1012
  method: "GET",
1071
- path: "/api/v1/stocks/company/detail",
1072
- tier: "public",
1073
- required_subscription_tier: "free",
1074
- access: "free_and_pro",
1075
- pro_required: false
1013
+ path: "/api/v1/stocks/company/detail"
1076
1014
  },
1077
1015
  {
1078
1016
  skill: "arrays-data-api-equity-fundamentals",
1079
1017
  file: "company-income-statements",
1080
1018
  method: "GET",
1081
- path: "/api/v1/stocks/company/income-statements",
1082
- tier: "public",
1083
- required_subscription_tier: "free",
1084
- access: "free_and_pro",
1085
- pro_required: false
1019
+ path: "/api/v1/stocks/company/income-statements"
1086
1020
  },
1087
1021
  {
1088
1022
  skill: "arrays-data-api-equity-fundamentals",
1089
1023
  file: "company-kpi",
1090
1024
  method: "GET",
1091
- path: "/api/v1/stocks/company/kpi",
1092
- tier: "public",
1093
- required_subscription_tier: "free",
1094
- access: "free_and_pro",
1095
- pro_required: false
1025
+ path: "/api/v1/stocks/company/kpi"
1096
1026
  },
1097
1027
  {
1098
1028
  skill: "arrays-data-api-equity-events",
1099
1029
  file: "crowdfunding-offerings",
1100
1030
  method: "GET",
1101
- path: "/api/v1/stocks/crowdfunding/offerings",
1102
- tier: "public",
1103
- required_subscription_tier: "free",
1104
- access: "free_and_pro",
1105
- pro_required: false
1031
+ path: "/api/v1/stocks/crowdfunding/offerings"
1106
1032
  },
1107
1033
  {
1108
1034
  skill: "arrays-data-api-equity-events",
1109
1035
  file: "dividends",
1110
1036
  method: "GET",
1111
- path: "/api/v1/stocks/dividends",
1112
- tier: "public",
1113
- required_subscription_tier: "free",
1114
- access: "free_and_pro",
1115
- pro_required: false
1037
+ path: "/api/v1/stocks/dividends"
1116
1038
  },
1117
1039
  {
1118
1040
  skill: "arrays-data-api-equity-events",
1119
1041
  file: "earnings-calendar",
1120
1042
  method: "GET",
1121
- path: "/api/v1/stocks/earnings-calendar",
1122
- tier: "public",
1123
- required_subscription_tier: "free",
1124
- access: "free_and_pro",
1125
- pro_required: false
1043
+ path: "/api/v1/stocks/earnings-calendar"
1126
1044
  },
1127
1045
  {
1128
1046
  skill: "arrays-data-api-equity-events",
1129
1047
  file: "equity-offering",
1130
1048
  method: "GET",
1131
- path: "/api/v1/stocks/equity-offering",
1132
- tier: "public",
1133
- required_subscription_tier: "free",
1134
- access: "free_and_pro",
1135
- pro_required: false
1049
+ path: "/api/v1/stocks/equity-offering"
1136
1050
  },
1137
1051
  {
1138
1052
  skill: "arrays-data-api-stock-metrics",
1139
1053
  file: "financial-metrics",
1140
1054
  method: "GET",
1141
- path: "/api/v1/stocks/financial-metrics",
1142
- tier: "public",
1143
- required_subscription_tier: "free",
1144
- access: "free_and_pro",
1145
- pro_required: false
1055
+ path: "/api/v1/stocks/financial-metrics"
1146
1056
  },
1147
1057
  {
1148
1058
  skill: "arrays-data-api-equity-fundamentals",
1149
1059
  file: "fiscal-dates",
1150
1060
  method: "GET",
1151
- path: "/api/v1/stocks/fiscal-dates",
1152
- tier: "public",
1153
- required_subscription_tier: "free",
1154
- access: "free_and_pro",
1155
- pro_required: false
1061
+ path: "/api/v1/stocks/fiscal-dates"
1156
1062
  },
1157
1063
  {
1158
1064
  skill: "arrays-data-api-equity-fundamentals",
1159
1065
  file: "fiscal-dates-range",
1160
1066
  method: "GET",
1161
- path: "/api/v1/stocks/fiscal-dates/range",
1162
- tier: "public",
1163
- required_subscription_tier: "free",
1164
- access: "free_and_pro",
1165
- pro_required: false
1067
+ path: "/api/v1/stocks/fiscal-dates/range"
1166
1068
  },
1167
1069
  {
1168
1070
  skill: "arrays-data-api-equity-events",
1169
1071
  file: "ipo-calendar",
1170
1072
  method: "GET",
1171
- path: "/api/v1/stocks/ipo-calendar",
1172
- tier: "public",
1173
- required_subscription_tier: "free",
1174
- access: "free_and_pro",
1175
- pro_required: false
1073
+ path: "/api/v1/stocks/ipo-calendar"
1176
1074
  },
1177
1075
  {
1178
1076
  skill: "arrays-data-api-equity-events",
1179
1077
  file: "ipo-confirmed-calendar",
1180
1078
  method: "GET",
1181
- path: "/api/v1/stocks/ipo-confirmed-calendar",
1182
- tier: "public",
1183
- required_subscription_tier: "free",
1184
- access: "free_and_pro",
1185
- pro_required: false
1079
+ path: "/api/v1/stocks/ipo-confirmed-calendar"
1186
1080
  },
1187
1081
  {
1188
1082
  skill: "arrays-data-api-spot-market-price-and-volume",
1189
1083
  file: "stocks-kline",
1190
1084
  method: "GET",
1191
- path: "/api/v1/stocks/kline",
1192
- tier: "public",
1193
- required_subscription_tier: "free",
1194
- access: "free_and_pro",
1195
- pro_required: false
1085
+ path: "/api/v1/stocks/kline"
1196
1086
  },
1197
1087
  {
1198
1088
  skill: "arrays-data-api-stock-metrics",
1199
1089
  file: "market-metrics",
1200
1090
  method: "GET",
1201
- path: "/api/v1/stocks/market-metrics",
1202
- tier: "public",
1203
- required_subscription_tier: "free",
1204
- access: "free_and_pro",
1205
- pro_required: false
1091
+ path: "/api/v1/stocks/market-metrics"
1206
1092
  },
1207
1093
  {
1208
1094
  skill: "arrays-data-api-equity-events",
1209
1095
  file: "mergers-acquisitions",
1210
1096
  method: "GET",
1211
- path: "/api/v1/stocks/mergers-acquisitions",
1212
- tier: "public",
1213
- required_subscription_tier: "free",
1214
- access: "free_and_pro",
1215
- pro_required: false
1097
+ path: "/api/v1/stocks/mergers-acquisitions"
1216
1098
  },
1217
1099
  {
1218
1100
  skill: "arrays-data-api-equity-fundamentals",
1219
1101
  file: "outstanding-shares",
1220
1102
  method: "GET",
1221
- path: "/api/v1/stocks/outstanding-shares",
1222
- tier: "public",
1223
- required_subscription_tier: "free",
1224
- access: "free_and_pro",
1225
- pro_required: false
1103
+ path: "/api/v1/stocks/outstanding-shares"
1226
1104
  },
1227
1105
  {
1228
1106
  skill: "arrays-data-api-stock-metrics",
1229
1107
  file: "ratings",
1230
1108
  method: "GET",
1231
- path: "/api/v1/stocks/ratings",
1232
- tier: "public",
1233
- required_subscription_tier: "free",
1234
- access: "free_and_pro",
1235
- pro_required: false
1109
+ path: "/api/v1/stocks/ratings"
1236
1110
  },
1237
1111
  {
1238
1112
  skill: "arrays-data-api-stock-screener",
1239
1113
  file: "basic-info-screener",
1240
1114
  method: "GET",
1241
- path: "/api/v1/stocks/screener/basic-info/{sub}",
1242
- tier: "public",
1243
- required_subscription_tier: "free",
1244
- access: "free_and_pro",
1245
- pro_required: false
1115
+ path: "/api/v1/stocks/screener/basic-info/{sub}"
1246
1116
  },
1247
1117
  {
1248
1118
  skill: "arrays-data-api-stock-screener",
1249
1119
  file: "event-screener",
1250
1120
  method: "GET",
1251
- path: "/api/v1/stocks/screener/events",
1252
- tier: "public",
1253
- required_subscription_tier: "free",
1254
- access: "free_and_pro",
1255
- pro_required: false
1121
+ path: "/api/v1/stocks/screener/events"
1256
1122
  },
1257
1123
  {
1258
1124
  skill: "arrays-data-api-stock-screener",
1259
1125
  file: "screener-financial-metrics",
1260
1126
  method: "GET",
1261
- path: "/api/v1/stocks/screener/financial-metrics",
1262
- tier: "public",
1263
- required_subscription_tier: "free",
1264
- access: "free_and_pro",
1265
- pro_required: false
1127
+ path: "/api/v1/stocks/screener/financial-metrics"
1266
1128
  },
1267
1129
  {
1268
1130
  skill: "arrays-data-api-stock-screener",
1269
1131
  file: "screener-financial-metrics-timerange",
1270
1132
  method: "GET",
1271
- path: "/api/v1/stocks/screener/financial-metrics/timerange",
1272
- tier: "public",
1273
- required_subscription_tier: "free",
1274
- access: "free_and_pro",
1275
- pro_required: false
1133
+ path: "/api/v1/stocks/screener/financial-metrics/timerange"
1276
1134
  },
1277
1135
  {
1278
1136
  skill: "arrays-data-api-stock-screener",
1279
1137
  file: "screener-technical-metrics",
1280
1138
  method: "GET",
1281
- path: "/api/v1/stocks/screener/technical-metrics",
1282
- tier: "public",
1283
- required_subscription_tier: "free",
1284
- access: "free_and_pro",
1285
- pro_required: false
1139
+ path: "/api/v1/stocks/screener/technical-metrics"
1286
1140
  },
1287
1141
  {
1288
1142
  skill: "arrays-data-api-stock-screener",
1289
1143
  file: "screener-technical-metrics-timerange",
1290
1144
  method: "GET",
1291
- path: "/api/v1/stocks/screener/technical-metrics/timerange",
1292
- tier: "public",
1293
- required_subscription_tier: "free",
1294
- access: "free_and_pro",
1295
- pro_required: false
1145
+ path: "/api/v1/stocks/screener/technical-metrics/timerange"
1296
1146
  },
1297
1147
  {
1298
1148
  skill: "arrays-data-api-equity-events",
1299
1149
  file: "sec-earnings-release",
1300
1150
  method: "GET",
1301
- path: "/api/v1/stocks/sec-earnings-release",
1302
- tier: "public",
1303
- required_subscription_tier: "free",
1304
- access: "free_and_pro",
1305
- pro_required: false
1151
+ path: "/api/v1/stocks/sec-earnings-release"
1306
1152
  },
1307
1153
  {
1308
1154
  skill: "arrays-data-api-equity-fundamentals",
1309
1155
  file: "shares-float",
1310
1156
  method: "GET",
1311
- path: "/api/v1/stocks/shares-float",
1312
- tier: "public",
1313
- required_subscription_tier: "free",
1314
- access: "free_and_pro",
1315
- pro_required: false
1157
+ path: "/api/v1/stocks/shares-float"
1316
1158
  },
1317
1159
  {
1318
1160
  skill: "arrays-data-api-equity-events",
1319
1161
  file: "splits",
1320
1162
  method: "GET",
1321
- path: "/api/v1/stocks/splits",
1322
- tier: "public",
1323
- required_subscription_tier: "free",
1324
- access: "free_and_pro",
1325
- pro_required: false
1163
+ path: "/api/v1/stocks/splits"
1326
1164
  },
1327
1165
  {
1328
1166
  skill: "arrays-data-api-crypto-exchange-flow",
1329
1167
  file: "exchange-flows",
1330
1168
  method: "GET",
1331
- path: "/api/v1/crypto/exchange-flows",
1332
- tier: "alternative",
1333
- required_subscription_tier: "pro",
1334
- access: "pro_only",
1335
- pro_required: true
1169
+ path: "/api/v1/crypto/exchange-flows"
1336
1170
  },
1337
1171
  {
1338
1172
  skill: "arrays-data-api-company-crypto-holdings",
1339
1173
  file: "crypto-holdings",
1340
1174
  method: "GET",
1341
- path: "/api/v1/crypto/holdings",
1342
- tier: "alternative",
1343
- required_subscription_tier: "pro",
1344
- access: "pro_only",
1345
- pro_required: true
1175
+ path: "/api/v1/crypto/holdings"
1346
1176
  },
1347
1177
  {
1348
1178
  skill: "arrays-data-api-crypto-metrics-and-screener",
1349
1179
  file: "metrics-inflow-cdd",
1350
1180
  method: "GET",
1351
- path: "/api/v1/crypto/metrics/inflow-cdd",
1352
- tier: "alternative",
1353
- required_subscription_tier: "pro",
1354
- access: "pro_only",
1355
- pro_required: true
1181
+ path: "/api/v1/crypto/metrics/inflow-cdd"
1356
1182
  },
1357
1183
  {
1358
1184
  skill: "arrays-data-api-crypto-metrics-and-screener",
1359
1185
  file: "metrics-leverage-ratio",
1360
1186
  method: "GET",
1361
- path: "/api/v1/crypto/metrics/leverage-ratio",
1362
- tier: "alternative",
1363
- required_subscription_tier: "pro",
1364
- access: "pro_only",
1365
- pro_required: true
1187
+ path: "/api/v1/crypto/metrics/leverage-ratio"
1366
1188
  },
1367
1189
  {
1368
1190
  skill: "arrays-data-api-crypto-metrics-and-screener",
1369
1191
  file: "metrics-miner-to-exchange",
1370
1192
  method: "GET",
1371
- path: "/api/v1/crypto/metrics/miner-to-exchange",
1372
- tier: "alternative",
1373
- required_subscription_tier: "pro",
1374
- access: "pro_only",
1375
- pro_required: true
1193
+ path: "/api/v1/crypto/metrics/miner-to-exchange"
1376
1194
  },
1377
1195
  {
1378
1196
  skill: "arrays-data-api-crypto-metrics-and-screener",
1379
1197
  file: "metrics-mvrv",
1380
1198
  method: "GET",
1381
- path: "/api/v1/crypto/metrics/mvrv",
1382
- tier: "alternative",
1383
- required_subscription_tier: "pro",
1384
- access: "pro_only",
1385
- pro_required: true
1199
+ path: "/api/v1/crypto/metrics/mvrv"
1386
1200
  },
1387
1201
  {
1388
1202
  skill: "arrays-data-api-crypto-metrics-and-screener",
1389
1203
  file: "metrics-nupl",
1390
1204
  method: "GET",
1391
- path: "/api/v1/crypto/metrics/nupl",
1392
- tier: "alternative",
1393
- required_subscription_tier: "pro",
1394
- access: "pro_only",
1395
- pro_required: true
1205
+ path: "/api/v1/crypto/metrics/nupl"
1396
1206
  },
1397
1207
  {
1398
1208
  skill: "arrays-data-api-crypto-metrics-and-screener",
1399
1209
  file: "metrics-puell-multiple",
1400
1210
  method: "GET",
1401
- path: "/api/v1/crypto/metrics/puell-multiple",
1402
- tier: "alternative",
1403
- required_subscription_tier: "pro",
1404
- access: "pro_only",
1405
- pro_required: true
1211
+ path: "/api/v1/crypto/metrics/puell-multiple"
1406
1212
  },
1407
1213
  {
1408
1214
  skill: "arrays-data-api-crypto-metrics-and-screener",
1409
1215
  file: "metrics-realized-price",
1410
1216
  method: "GET",
1411
- path: "/api/v1/crypto/metrics/realized-price",
1412
- tier: "alternative",
1413
- required_subscription_tier: "pro",
1414
- access: "pro_only",
1415
- pro_required: true
1217
+ path: "/api/v1/crypto/metrics/realized-price"
1416
1218
  },
1417
1219
  {
1418
1220
  skill: "arrays-data-api-crypto-metrics-and-screener",
1419
1221
  file: "metrics-sopr",
1420
1222
  method: "GET",
1421
- path: "/api/v1/crypto/metrics/sopr",
1422
- tier: "alternative",
1423
- required_subscription_tier: "pro",
1424
- access: "pro_only",
1425
- pro_required: true
1223
+ path: "/api/v1/crypto/metrics/sopr"
1426
1224
  },
1427
1225
  {
1428
1226
  skill: "arrays-data-api-crypto-metrics-and-screener",
1429
1227
  file: "metrics-ssr",
1430
1228
  method: "GET",
1431
- path: "/api/v1/crypto/metrics/ssr",
1432
- tier: "alternative",
1433
- required_subscription_tier: "pro",
1434
- access: "pro_only",
1435
- pro_required: true
1229
+ path: "/api/v1/crypto/metrics/ssr"
1436
1230
  },
1437
1231
  {
1438
1232
  skill: "arrays-data-api-crypto-metrics-and-screener",
1439
1233
  file: "metrics-whale-ratio",
1440
1234
  method: "GET",
1441
- path: "/api/v1/crypto/metrics/whale-ratio",
1442
- tier: "alternative",
1443
- required_subscription_tier: "pro",
1444
- access: "pro_only",
1445
- pro_required: true
1235
+ path: "/api/v1/crypto/metrics/whale-ratio"
1446
1236
  },
1447
1237
  {
1448
1238
  skill: "arrays-data-api-crypto-metrics-and-screener",
1449
1239
  file: "crypto-supply",
1450
1240
  method: "GET",
1451
- path: "/api/v1/crypto/supply",
1452
- tier: "alternative",
1453
- required_subscription_tier: "pro",
1454
- access: "pro_only",
1455
- pro_required: true
1241
+ path: "/api/v1/crypto/supply"
1456
1242
  },
1457
1243
  {
1458
1244
  skill: "arrays-data-api-crypto-futures-data",
1459
1245
  file: "taker-buy-sell-volume",
1460
1246
  method: "GET",
1461
- path: "/api/v1/crypto/taker-buy-sell-volume",
1462
- tier: "alternative",
1463
- required_subscription_tier: "pro",
1464
- access: "pro_only",
1465
- pro_required: true
1247
+ path: "/api/v1/crypto/taker-buy-sell-volume"
1466
1248
  },
1467
1249
  {
1468
1250
  skill: "arrays-data-api-crypto-metrics-and-screener",
1469
1251
  file: "unlock-events",
1470
1252
  method: "GET",
1471
- path: "/api/v1/crypto/unlock-events",
1472
- tier: "alternative",
1473
- required_subscription_tier: "pro",
1474
- access: "pro_only",
1475
- pro_required: true
1253
+ path: "/api/v1/crypto/unlock-events"
1476
1254
  },
1477
1255
  {
1478
1256
  skill: "arrays-data-api-etf-fundamentals",
1479
1257
  file: "flow",
1480
1258
  method: "GET",
1481
- path: "/api/v1/etf/flow",
1482
- tier: "alternative",
1483
- required_subscription_tier: "pro",
1484
- access: "pro_only",
1485
- pro_required: true
1259
+ path: "/api/v1/etf/flow"
1486
1260
  },
1487
1261
  {
1488
1262
  skill: "arrays-data-api-options",
1489
1263
  file: "contracts",
1490
1264
  method: "GET",
1491
- path: "/api/v1/options/contracts",
1492
- tier: "public",
1493
- required_subscription_tier: "free",
1494
- access: "free_and_pro",
1495
- pro_required: false
1265
+ path: "/api/v1/options/contracts"
1496
1266
  },
1497
1267
  {
1498
1268
  skill: "arrays-data-api-options",
1499
1269
  file: "kline",
1500
1270
  method: "GET",
1501
- path: "/api/v1/options/kline",
1502
- tier: "public",
1503
- required_subscription_tier: "free",
1504
- access: "free_and_pro",
1505
- pro_required: false
1271
+ path: "/api/v1/options/kline"
1506
1272
  },
1507
1273
  {
1508
1274
  skill: "arrays-data-api-options",
1509
1275
  file: "greeks",
1510
1276
  method: "GET",
1511
- path: "/api/v1/options/greeks",
1512
- tier: "public",
1513
- required_subscription_tier: "free",
1514
- access: "free_and_pro",
1515
- pro_required: false
1277
+ path: "/api/v1/options/greeks"
1516
1278
  },
1517
1279
  {
1518
1280
  skill: "arrays-data-api-options",
1519
1281
  file: "chain",
1520
1282
  method: "GET",
1521
- path: "/api/v1/options/chain",
1522
- tier: "public",
1523
- required_subscription_tier: "free",
1524
- access: "free_and_pro",
1525
- pro_required: false
1283
+ path: "/api/v1/options/chain"
1526
1284
  },
1527
1285
  {
1528
1286
  skill: "arrays-data-api-equity-fundamentals",
1529
1287
  file: "company-executives",
1530
1288
  method: "GET",
1531
- path: "/api/v1/stocks/company/executives",
1532
- tier: "alternative",
1533
- required_subscription_tier: "pro",
1534
- access: "pro_only",
1535
- pro_required: true
1289
+ path: "/api/v1/stocks/company/executives"
1536
1290
  },
1537
1291
  {
1538
1292
  skill: "arrays-data-api-equity-estimates-and-targets",
1539
1293
  file: "company-price-target-consensus",
1540
1294
  method: "GET",
1541
- path: "/api/v1/stocks/company/price-target-consensus",
1542
- tier: "alternative",
1543
- required_subscription_tier: "pro",
1544
- access: "pro_only",
1545
- pro_required: true
1295
+ path: "/api/v1/stocks/company/price-target-consensus"
1546
1296
  },
1547
1297
  {
1548
1298
  skill: "arrays-data-api-equity-estimates-and-targets",
1549
1299
  file: "company-price-target-news",
1550
1300
  method: "GET",
1551
- path: "/api/v1/stocks/company/price-target-news",
1552
- tier: "alternative",
1553
- required_subscription_tier: "pro",
1554
- access: "pro_only",
1555
- pro_required: true
1301
+ path: "/api/v1/stocks/company/price-target-news"
1556
1302
  },
1557
1303
  {
1558
1304
  skill: "arrays-data-api-equity-estimates-and-targets",
1559
1305
  file: "company-price-target-summary",
1560
1306
  method: "GET",
1561
- path: "/api/v1/stocks/company/price-target-summary",
1562
- tier: "alternative",
1563
- required_subscription_tier: "pro",
1564
- access: "pro_only",
1565
- pro_required: true
1307
+ path: "/api/v1/stocks/company/price-target-summary"
1566
1308
  },
1567
1309
  {
1568
1310
  skill: "arrays-data-api-equity-ownership-and-flow",
1569
1311
  file: "congress-recent-trades",
1570
1312
  method: "GET",
1571
- path: "/api/v1/stocks/congress/recent-trades",
1572
- tier: "alternative",
1573
- required_subscription_tier: "pro",
1574
- access: "pro_only",
1575
- pro_required: true
1313
+ path: "/api/v1/stocks/congress/recent-trades"
1576
1314
  },
1577
1315
  {
1578
1316
  skill: "arrays-data-api-stock-metrics",
1579
1317
  file: "darkpool",
1580
1318
  method: "GET",
1581
- path: "/api/v1/stocks/darkpool",
1582
- tier: "alternative",
1583
- required_subscription_tier: "pro",
1584
- access: "pro_only",
1585
- pro_required: true
1319
+ path: "/api/v1/stocks/darkpool"
1586
1320
  },
1587
1321
  {
1588
1322
  skill: "arrays-data-api-equity-estimates-and-targets",
1589
1323
  file: "estimates-guidance",
1590
1324
  method: "GET",
1591
- path: "/api/v1/stocks/estimates-guidance",
1592
- tier: "alternative",
1593
- required_subscription_tier: "pro",
1594
- access: "pro_only",
1595
- pro_required: true
1325
+ path: "/api/v1/stocks/estimates-guidance"
1596
1326
  },
1597
1327
  {
1598
1328
  skill: "arrays-data-api-equity-ownership-and-flow",
1599
1329
  file: "insider-transactions",
1600
1330
  method: "GET",
1601
- path: "/api/v1/stocks/insider/transactions",
1602
- tier: "alternative",
1603
- required_subscription_tier: "pro",
1604
- access: "pro_only",
1605
- pro_required: true
1331
+ path: "/api/v1/stocks/insider/transactions"
1606
1332
  },
1607
1333
  {
1608
1334
  skill: "arrays-data-api-equity-ownership-and-flow",
1609
1335
  file: "institution-holder",
1610
1336
  method: "GET",
1611
- path: "/api/v1/stocks/institution-holder",
1612
- tier: "alternative",
1613
- required_subscription_tier: "pro",
1614
- access: "pro_only",
1615
- pro_required: true
1337
+ path: "/api/v1/stocks/institution-holder"
1616
1338
  },
1617
1339
  {
1618
1340
  skill: "arrays-data-api-polymarket",
1619
1341
  file: "activity",
1620
1342
  method: "GET",
1621
- path: "polymarket:/activity",
1622
- tier: "alternative",
1623
- required_subscription_tier: "pro",
1624
- access: "pro_only",
1625
- pro_required: true
1343
+ path: "polymarket:/activity"
1626
1344
  },
1627
1345
  {
1628
1346
  skill: "arrays-data-api-polymarket",
1629
1347
  file: "book",
1630
1348
  method: "GET",
1631
- path: "polymarket:/book",
1632
- tier: "alternative",
1633
- required_subscription_tier: "pro",
1634
- access: "pro_only",
1635
- pro_required: true
1349
+ path: "polymarket:/book"
1636
1350
  },
1637
1351
  {
1638
1352
  skill: "arrays-data-api-polymarket",
1639
1353
  file: "closed-positions",
1640
1354
  method: "GET",
1641
- path: "polymarket:/closed-positions",
1642
- tier: "alternative",
1643
- required_subscription_tier: "pro",
1644
- access: "pro_only",
1645
- pro_required: true
1355
+ path: "polymarket:/closed-positions"
1646
1356
  },
1647
1357
  {
1648
1358
  skill: "arrays-data-api-polymarket",
1649
1359
  file: "events",
1650
1360
  method: "GET",
1651
- path: "polymarket:/events",
1652
- tier: "alternative",
1653
- required_subscription_tier: "pro",
1654
- access: "pro_only",
1655
- pro_required: true
1361
+ path: "polymarket:/events"
1656
1362
  },
1657
1363
  {
1658
1364
  skill: "arrays-data-api-polymarket",
1659
1365
  file: "holders",
1660
1366
  method: "GET",
1661
- path: "polymarket:/holders",
1662
- tier: "alternative",
1663
- required_subscription_tier: "pro",
1664
- access: "pro_only",
1665
- pro_required: true
1367
+ path: "polymarket:/holders"
1666
1368
  },
1667
1369
  {
1668
1370
  skill: "arrays-data-api-polymarket",
1669
1371
  file: "markets",
1670
1372
  method: "GET",
1671
- path: "polymarket:/markets",
1672
- tier: "alternative",
1673
- required_subscription_tier: "pro",
1674
- access: "pro_only",
1675
- pro_required: true
1373
+ path: "polymarket:/markets"
1676
1374
  },
1677
1375
  {
1678
1376
  skill: "arrays-data-api-polymarket",
1679
1377
  file: "midpoint",
1680
1378
  method: "GET",
1681
- path: "polymarket:/midpoint",
1682
- tier: "alternative",
1683
- required_subscription_tier: "pro",
1684
- access: "pro_only",
1685
- pro_required: true
1379
+ path: "polymarket:/midpoint"
1686
1380
  },
1687
1381
  {
1688
1382
  skill: "arrays-data-api-polymarket",
1689
1383
  file: "oi",
1690
1384
  method: "GET",
1691
- path: "polymarket:/oi",
1692
- tier: "alternative",
1693
- required_subscription_tier: "pro",
1694
- access: "pro_only",
1695
- pro_required: true
1385
+ path: "polymarket:/oi"
1696
1386
  },
1697
1387
  {
1698
1388
  skill: "arrays-data-api-polymarket",
1699
1389
  file: "positions",
1700
1390
  method: "GET",
1701
- path: "polymarket:/positions",
1702
- tier: "alternative",
1703
- required_subscription_tier: "pro",
1704
- access: "pro_only",
1705
- pro_required: true
1391
+ path: "polymarket:/positions"
1706
1392
  },
1707
1393
  {
1708
1394
  skill: "arrays-data-api-polymarket",
1709
1395
  file: "price",
1710
1396
  method: "GET",
1711
- path: "polymarket:/price",
1712
- tier: "alternative",
1713
- required_subscription_tier: "pro",
1714
- access: "pro_only",
1715
- pro_required: true
1397
+ path: "polymarket:/price"
1716
1398
  },
1717
1399
  {
1718
1400
  skill: "arrays-data-api-polymarket",
1719
1401
  file: "prices-history",
1720
1402
  method: "GET",
1721
- path: "polymarket:/prices-history",
1722
- tier: "alternative",
1723
- required_subscription_tier: "pro",
1724
- access: "pro_only",
1725
- pro_required: true
1403
+ path: "polymarket:/prices-history"
1726
1404
  },
1727
1405
  {
1728
1406
  skill: "arrays-data-api-polymarket",
1729
1407
  file: "public-search",
1730
1408
  method: "GET",
1731
- path: "polymarket:/public-search",
1732
- tier: "alternative",
1733
- required_subscription_tier: "pro",
1734
- access: "pro_only",
1735
- pro_required: true
1409
+ path: "polymarket:/public-search"
1736
1410
  },
1737
1411
  {
1738
1412
  skill: "arrays-data-api-polymarket",
1739
1413
  file: "series",
1740
1414
  method: "GET",
1741
- path: "polymarket:/series",
1742
- tier: "alternative",
1743
- required_subscription_tier: "pro",
1744
- access: "pro_only",
1745
- pro_required: true
1415
+ path: "polymarket:/series"
1746
1416
  },
1747
1417
  {
1748
1418
  skill: "arrays-data-api-polymarket",
1749
1419
  file: "sports",
1750
1420
  method: "GET",
1751
- path: "polymarket:/sports",
1752
- tier: "alternative",
1753
- required_subscription_tier: "pro",
1754
- access: "pro_only",
1755
- pro_required: true
1421
+ path: "polymarket:/sports"
1756
1422
  },
1757
1423
  {
1758
1424
  skill: "arrays-data-api-polymarket",
1759
1425
  file: "spread",
1760
1426
  method: "GET",
1761
- path: "polymarket:/spread",
1762
- tier: "alternative",
1763
- required_subscription_tier: "pro",
1764
- access: "pro_only",
1765
- pro_required: true
1427
+ path: "polymarket:/spread"
1766
1428
  },
1767
1429
  {
1768
1430
  skill: "arrays-data-api-polymarket",
1769
1431
  file: "tags",
1770
1432
  method: "GET",
1771
- path: "polymarket:/tags",
1772
- tier: "alternative",
1773
- required_subscription_tier: "pro",
1774
- access: "pro_only",
1775
- pro_required: true
1433
+ path: "polymarket:/tags"
1776
1434
  },
1777
1435
  {
1778
1436
  skill: "arrays-data-api-polymarket",
1779
1437
  file: "trades",
1780
1438
  method: "GET",
1781
- path: "polymarket:/trades",
1782
- tier: "alternative",
1783
- required_subscription_tier: "pro",
1784
- access: "pro_only",
1785
- pro_required: true
1439
+ path: "polymarket:/trades"
1786
1440
  },
1787
1441
  {
1788
1442
  skill: "arrays-data-api-polymarket",
1789
1443
  file: "value",
1790
1444
  method: "GET",
1791
- path: "polymarket:/value",
1792
- tier: "alternative",
1793
- required_subscription_tier: "pro",
1794
- access: "pro_only",
1795
- pro_required: true
1445
+ path: "polymarket:/value"
1796
1446
  },
1797
1447
  {
1798
1448
  skill: "arrays-data-api-equity-events",
1799
1449
  file: "earnings-transcript",
1800
1450
  method: "GET",
1801
- path: "/api/v1/stocks/earnings-transcript",
1802
- tier: "unstructured",
1803
- required_subscription_tier: "pro",
1804
- access: "pro_only",
1805
- pro_required: true
1451
+ path: "/api/v1/stocks/earnings-transcript"
1806
1452
  },
1807
1453
  {
1808
1454
  skill: "arrays-data-api-news",
1809
1455
  file: "market-news",
1810
1456
  method: "GET",
1811
- path: "/api/v1/stocks/market-news",
1812
- tier: "unstructured",
1813
- required_subscription_tier: "pro",
1814
- access: "pro_only",
1815
- pro_required: true
1457
+ path: "/api/v1/stocks/market-news"
1816
1458
  },
1817
1459
  {
1818
- // TODO(audit): verify tier — auto-defaulted to pro
1819
1460
  skill: "arrays-data-api-social-feeds",
1820
1461
  file: "x-by-handle",
1821
1462
  method: "GET",
1822
- path: "/api/v1/social-feeds/x/by-handle",
1823
- tier: "alternative",
1824
- required_subscription_tier: "pro",
1825
- access: "pro_only",
1826
- pro_required: true
1463
+ path: "/api/v1/social-feeds/x/by-handle"
1827
1464
  },
1828
1465
  {
1829
- // TODO(audit): verify tier — auto-defaulted to pro
1830
1466
  skill: "arrays-data-api-social-feeds",
1831
1467
  file: "x-by-url",
1832
1468
  method: "GET",
1833
- path: "/api/v1/social-feeds/x/by-url",
1834
- tier: "alternative",
1835
- required_subscription_tier: "pro",
1836
- access: "pro_only",
1837
- pro_required: true
1469
+ path: "/api/v1/social-feeds/x/by-url"
1838
1470
  },
1839
1471
  {
1840
- // TODO(audit): verify tier — auto-defaulted to pro
1841
1472
  skill: "arrays-data-api-social-feeds",
1842
1473
  file: "x-entities-handle",
1843
1474
  method: "GET",
1844
- path: "/api/v1/social-feeds/x/entities/handle/{twitter_handle}",
1845
- tier: "alternative",
1846
- required_subscription_tier: "pro",
1847
- access: "pro_only",
1848
- pro_required: true
1475
+ path: "/api/v1/social-feeds/x/entities/handle/{twitter_handle}"
1849
1476
  },
1850
1477
  {
1851
- // TODO(audit): verify tier — auto-defaulted to pro
1852
1478
  skill: "arrays-data-api-social-feeds",
1853
1479
  file: "x-entities-handles",
1854
1480
  method: "GET",
1855
- path: "/api/v1/social-feeds/x/entities/handles",
1856
- tier: "alternative",
1857
- required_subscription_tier: "pro",
1858
- access: "pro_only",
1859
- pro_required: true
1481
+ path: "/api/v1/social-feeds/x/entities/handles"
1860
1482
  },
1861
1483
  {
1862
1484
  skill: "arrays-data-api-equity-fundamentals",
1863
1485
  file: "company-detail-non-us",
1864
1486
  method: "GET",
1865
- path: "/api/v1/stocks/non-us/company/detail",
1866
- tier: "public",
1867
- required_subscription_tier: "free",
1868
- access: "free_and_pro",
1869
- pro_required: false
1487
+ path: "/api/v1/stocks/non-us/company/detail"
1870
1488
  },
1871
1489
  {
1872
1490
  skill: "arrays-data-api-social-feeds",
1873
1491
  file: "x-search",
1874
1492
  method: "GET",
1875
- path: "/api/v1/social-feeds/x/search",
1876
- tier: "alternative",
1877
- required_subscription_tier: "pro",
1878
- access: "pro_only",
1879
- pro_required: true
1493
+ path: "/api/v1/social-feeds/x/search"
1880
1494
  },
1881
1495
  {
1882
1496
  skill: "arrays-data-api-spot-market-price-and-volume",
1883
1497
  file: "stocks-non-us-kline",
1884
1498
  method: "GET",
1885
- path: "/api/v1/stocks/non-us/kline",
1886
- tier: "public",
1887
- required_subscription_tier: "free",
1888
- access: "free_and_pro",
1889
- pro_required: false
1499
+ path: "/api/v1/stocks/non-us/kline"
1890
1500
  },
1891
1501
  {
1892
1502
  skill: "arrays-data-api-semiconductor-price",
1893
1503
  file: "dram-spot-price",
1894
1504
  method: "GET",
1895
- path: "/api/v1/other/semiconductor/dram-spot-price",
1896
- tier: "alternative",
1897
- required_subscription_tier: "pro",
1898
- access: "pro_only",
1899
- pro_required: true
1505
+ path: "/api/v1/other/semiconductor/dram-spot-price"
1900
1506
  },
1901
1507
  {
1902
1508
  skill: "arrays-data-api-semiconductor-price",
1903
1509
  file: "dram-contract-price",
1904
1510
  method: "GET",
1905
- path: "/api/v1/other/semiconductor/dram-contract-price",
1906
- tier: "alternative",
1907
- required_subscription_tier: "pro",
1908
- access: "pro_only",
1909
- pro_required: true
1511
+ path: "/api/v1/other/semiconductor/dram-contract-price"
1910
1512
  },
1911
1513
  {
1912
1514
  skill: "arrays-data-api-semiconductor-price",
1913
1515
  file: "nand-flash-spot-price",
1914
1516
  method: "GET",
1915
- path: "/api/v1/other/semiconductor/nand-flash-spot-price",
1916
- tier: "alternative",
1917
- required_subscription_tier: "pro",
1918
- access: "pro_only",
1919
- pro_required: true
1517
+ path: "/api/v1/other/semiconductor/nand-flash-spot-price"
1920
1518
  },
1921
1519
  {
1922
1520
  skill: "arrays-data-api-semiconductor-price",
1923
1521
  file: "nand-flash-contract-price",
1924
1522
  method: "GET",
1925
- path: "/api/v1/other/semiconductor/nand-flash-contract-price",
1926
- tier: "alternative",
1927
- required_subscription_tier: "pro",
1928
- access: "pro_only",
1929
- pro_required: true
1523
+ path: "/api/v1/other/semiconductor/nand-flash-contract-price"
1930
1524
  },
1931
1525
  {
1932
1526
  skill: "arrays-data-api-semiconductor-price",
1933
1527
  file: "memory-card-price",
1934
1528
  method: "GET",
1935
- path: "/api/v1/other/semiconductor/memory-card-price",
1936
- tier: "alternative",
1937
- required_subscription_tier: "pro",
1938
- access: "pro_only",
1939
- pro_required: true
1529
+ path: "/api/v1/other/semiconductor/memory-card-price"
1940
1530
  },
1941
1531
  {
1942
1532
  skill: "arrays-data-api-semiconductor-price",
1943
1533
  file: "dxi-index",
1944
1534
  method: "GET",
1945
- path: "/api/v1/other/semiconductor/dxi-index",
1946
- tier: "alternative",
1947
- required_subscription_tier: "pro",
1948
- access: "pro_only",
1949
- pro_required: true
1535
+ path: "/api/v1/other/semiconductor/dxi-index"
1536
+ },
1537
+ {
1538
+ skill: "arrays-data-api-equity-ownership-and-flow",
1539
+ file: "short-interest",
1540
+ method: "GET",
1541
+ path: "/api/v1/stocks/short-interest"
1542
+ },
1543
+ {
1544
+ skill: "arrays-data-api-social-feeds",
1545
+ file: "x-handles",
1546
+ method: "POST",
1547
+ path: "/api/v1/social-feeds/x/handles"
1950
1548
  }
1951
1549
  ];
1952
1550
  function getSkillEndpointMetadata(skill, file) {
@@ -2021,24 +1619,9 @@ var DataSkillsResource = class {
2021
1619
  }
2022
1620
  };
2023
1621
  function metadataSummaryForSkill(skill) {
2024
- const endpointMetadata = listSkillEndpointMetadata(skill);
2025
- if (endpointMetadata.length === 0) {
2026
- return {};
2027
- }
2028
- const counts = {};
2029
- let proCount = 0;
2030
- for (const endpoint of endpointMetadata) {
2031
- counts[endpoint.tier] = (counts[endpoint.tier] ?? 0) + 1;
2032
- if (endpoint.pro_required) proCount += 1;
2033
- }
2034
- return {
2035
- endpoint_tier_counts: counts,
2036
- metadata: {
2037
- endpoint_count: endpointMetadata.length,
2038
- endpoint_tier_counts: counts,
2039
- pro_count: proCount
2040
- }
2041
- };
1622
+ const endpointCount = listSkillEndpointMetadata(skill).length;
1623
+ if (endpointCount === 0) return {};
1624
+ return { metadata: { endpoint_count: endpointCount } };
2042
1625
  }
2043
1626
 
2044
1627
  // src/resources/playbookSkills.ts
@@ -3724,7 +3307,7 @@ var installPlaybookRuntime = (targetWindow) => {
3724
3307
  };
3725
3308
 
3726
3309
  // src/index.ts
3727
- var VERSION = true ? "0.20.0" : "dev";
3310
+ var VERSION = true ? "0.22.0" : "dev";
3728
3311
  export {
3729
3312
  AlertsResource,
3730
3313
  AlvaClient,