@respan/cli 0.6.1 → 0.6.3

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.
@@ -428,10 +428,16 @@
428
428
  "set.js"
429
429
  ]
430
430
  },
431
- "evaluators:create": {
431
+ "datasets:add-spans": {
432
432
  "aliases": [],
433
- "args": {},
434
- "description": "Create a new evaluator",
433
+ "args": {
434
+ "dataset-id": {
435
+ "description": "Dataset ID",
436
+ "name": "dataset-id",
437
+ "required": true
438
+ }
439
+ },
440
+ "description": "Add existing spans to a dataset",
435
441
  "flags": {
436
442
  "api-key": {
437
443
  "description": "API key (env: RESPAN_API_KEY)",
@@ -467,39 +473,18 @@
467
473
  "allowNo": false,
468
474
  "type": "boolean"
469
475
  },
470
- "name": {
471
- "description": "Evaluator name",
472
- "name": "name",
476
+ "span-ids": {
477
+ "description": "Comma-separated span IDs",
478
+ "name": "span-ids",
473
479
  "required": true,
474
480
  "hasDynamicHelp": false,
475
481
  "multiple": false,
476
482
  "type": "option"
477
- },
478
- "type": {
479
- "description": "Evaluator type",
480
- "name": "type",
481
- "hasDynamicHelp": false,
482
- "multiple": false,
483
- "type": "option"
484
- },
485
- "description": {
486
- "description": "Evaluator description",
487
- "name": "description",
488
- "hasDynamicHelp": false,
489
- "multiple": false,
490
- "type": "option"
491
- },
492
- "config": {
493
- "description": "Evaluator config as JSON string",
494
- "name": "config",
495
- "hasDynamicHelp": false,
496
- "multiple": false,
497
- "type": "option"
498
483
  }
499
484
  },
500
485
  "hasDynamicHelp": false,
501
486
  "hiddenAliases": [],
502
- "id": "evaluators:create",
487
+ "id": "datasets:add-spans",
503
488
  "pluginAlias": "@respan/cli",
504
489
  "pluginName": "@respan/cli",
505
490
  "pluginType": "core",
@@ -509,20 +494,20 @@
509
494
  "relativePath": [
510
495
  "dist",
511
496
  "commands",
512
- "evaluators",
513
- "create.js"
497
+ "datasets",
498
+ "add-spans.js"
514
499
  ]
515
500
  },
516
- "evaluators:get": {
501
+ "datasets:create-span": {
517
502
  "aliases": [],
518
503
  "args": {
519
- "id": {
520
- "description": "Evaluator ID",
521
- "name": "id",
504
+ "dataset-id": {
505
+ "description": "Dataset ID",
506
+ "name": "dataset-id",
522
507
  "required": true
523
508
  }
524
509
  },
525
- "description": "Get a specific evaluator",
510
+ "description": "Create a span in a dataset",
526
511
  "flags": {
527
512
  "api-key": {
528
513
  "description": "API key (env: RESPAN_API_KEY)",
@@ -557,11 +542,19 @@
557
542
  "name": "verbose",
558
543
  "allowNo": false,
559
544
  "type": "boolean"
545
+ },
546
+ "body": {
547
+ "description": "Span body as JSON string",
548
+ "name": "body",
549
+ "required": true,
550
+ "hasDynamicHelp": false,
551
+ "multiple": false,
552
+ "type": "option"
560
553
  }
561
554
  },
562
555
  "hasDynamicHelp": false,
563
556
  "hiddenAliases": [],
564
- "id": "evaluators:get",
557
+ "id": "datasets:create-span",
565
558
  "pluginAlias": "@respan/cli",
566
559
  "pluginName": "@respan/cli",
567
560
  "pluginType": "core",
@@ -571,14 +564,14 @@
571
564
  "relativePath": [
572
565
  "dist",
573
566
  "commands",
574
- "evaluators",
575
- "get.js"
567
+ "datasets",
568
+ "create-span.js"
576
569
  ]
577
570
  },
578
- "evaluators:list": {
571
+ "datasets:create": {
579
572
  "aliases": [],
580
573
  "args": {},
581
- "description": "List evaluators",
574
+ "description": "Create a new dataset",
582
575
  "flags": {
583
576
  "api-key": {
584
577
  "description": "API key (env: RESPAN_API_KEY)",
@@ -614,18 +607,17 @@
614
607
  "allowNo": false,
615
608
  "type": "boolean"
616
609
  },
617
- "limit": {
618
- "description": "Number of results per page",
619
- "name": "limit",
620
- "default": 20,
610
+ "name": {
611
+ "description": "Dataset name",
612
+ "name": "name",
613
+ "required": true,
621
614
  "hasDynamicHelp": false,
622
615
  "multiple": false,
623
616
  "type": "option"
624
617
  },
625
- "page": {
626
- "description": "Page number",
627
- "name": "page",
628
- "default": 1,
618
+ "description": {
619
+ "description": "Dataset description",
620
+ "name": "description",
629
621
  "hasDynamicHelp": false,
630
622
  "multiple": false,
631
623
  "type": "option"
@@ -633,7 +625,7 @@
633
625
  },
634
626
  "hasDynamicHelp": false,
635
627
  "hiddenAliases": [],
636
- "id": "evaluators:list",
628
+ "id": "datasets:create",
637
629
  "pluginAlias": "@respan/cli",
638
630
  "pluginName": "@respan/cli",
639
631
  "pluginType": "core",
@@ -643,20 +635,25 @@
643
635
  "relativePath": [
644
636
  "dist",
645
637
  "commands",
646
- "evaluators",
647
- "list.js"
638
+ "datasets",
639
+ "create.js"
648
640
  ]
649
641
  },
650
- "evaluators:run": {
642
+ "datasets:get-span": {
651
643
  "aliases": [],
652
644
  "args": {
653
- "id": {
654
- "description": "Evaluator ID",
655
- "name": "id",
645
+ "dataset-id": {
646
+ "description": "Dataset ID",
647
+ "name": "dataset-id",
648
+ "required": true
649
+ },
650
+ "span-id": {
651
+ "description": "Span ID",
652
+ "name": "span-id",
656
653
  "required": true
657
654
  }
658
655
  },
659
- "description": "Run an evaluator",
656
+ "description": "Get a specific span from a dataset",
660
657
  "flags": {
661
658
  "api-key": {
662
659
  "description": "API key (env: RESPAN_API_KEY)",
@@ -691,32 +688,11 @@
691
688
  "name": "verbose",
692
689
  "allowNo": false,
693
690
  "type": "boolean"
694
- },
695
- "dataset-id": {
696
- "description": "Dataset ID to evaluate against",
697
- "name": "dataset-id",
698
- "hasDynamicHelp": false,
699
- "multiple": false,
700
- "type": "option"
701
- },
702
- "log-ids": {
703
- "description": "Comma-separated log/span IDs to evaluate",
704
- "name": "log-ids",
705
- "hasDynamicHelp": false,
706
- "multiple": false,
707
- "type": "option"
708
- },
709
- "params": {
710
- "description": "Additional parameters as JSON string",
711
- "name": "params",
712
- "hasDynamicHelp": false,
713
- "multiple": false,
714
- "type": "option"
715
691
  }
716
692
  },
717
693
  "hasDynamicHelp": false,
718
694
  "hiddenAliases": [],
719
- "id": "evaluators:run",
695
+ "id": "datasets:get-span",
720
696
  "pluginAlias": "@respan/cli",
721
697
  "pluginName": "@respan/cli",
722
698
  "pluginType": "core",
@@ -726,20 +702,20 @@
726
702
  "relativePath": [
727
703
  "dist",
728
704
  "commands",
729
- "evaluators",
730
- "run.js"
705
+ "datasets",
706
+ "get-span.js"
731
707
  ]
732
708
  },
733
- "evaluators:update": {
709
+ "datasets:get": {
734
710
  "aliases": [],
735
711
  "args": {
736
712
  "id": {
737
- "description": "Evaluator ID",
713
+ "description": "Dataset ID",
738
714
  "name": "id",
739
715
  "required": true
740
716
  }
741
717
  },
742
- "description": "Update an evaluator",
718
+ "description": "Get a specific dataset",
743
719
  "flags": {
744
720
  "api-key": {
745
721
  "description": "API key (env: RESPAN_API_KEY)",
@@ -774,32 +750,11 @@
774
750
  "name": "verbose",
775
751
  "allowNo": false,
776
752
  "type": "boolean"
777
- },
778
- "name": {
779
- "description": "Evaluator name",
780
- "name": "name",
781
- "hasDynamicHelp": false,
782
- "multiple": false,
783
- "type": "option"
784
- },
785
- "description": {
786
- "description": "Evaluator description",
787
- "name": "description",
788
- "hasDynamicHelp": false,
789
- "multiple": false,
790
- "type": "option"
791
- },
792
- "config": {
793
- "description": "Evaluator config as JSON string",
794
- "name": "config",
795
- "hasDynamicHelp": false,
796
- "multiple": false,
797
- "type": "option"
798
753
  }
799
754
  },
800
755
  "hasDynamicHelp": false,
801
756
  "hiddenAliases": [],
802
- "id": "evaluators:update",
757
+ "id": "datasets:get",
803
758
  "pluginAlias": "@respan/cli",
804
759
  "pluginName": "@respan/cli",
805
760
  "pluginType": "core",
@@ -809,20 +764,14 @@
809
764
  "relativePath": [
810
765
  "dist",
811
766
  "commands",
812
- "evaluators",
813
- "update.js"
767
+ "datasets",
768
+ "get.js"
814
769
  ]
815
770
  },
816
- "datasets:add-spans": {
771
+ "datasets:list": {
817
772
  "aliases": [],
818
- "args": {
819
- "dataset-id": {
820
- "description": "Dataset ID",
821
- "name": "dataset-id",
822
- "required": true
823
- }
824
- },
825
- "description": "Add existing spans to a dataset",
773
+ "args": {},
774
+ "description": "List datasets",
826
775
  "flags": {
827
776
  "api-key": {
828
777
  "description": "API key (env: RESPAN_API_KEY)",
@@ -858,10 +807,18 @@
858
807
  "allowNo": false,
859
808
  "type": "boolean"
860
809
  },
861
- "span-ids": {
862
- "description": "Comma-separated span IDs",
863
- "name": "span-ids",
864
- "required": true,
810
+ "limit": {
811
+ "description": "Number of results per page",
812
+ "name": "limit",
813
+ "default": 50,
814
+ "hasDynamicHelp": false,
815
+ "multiple": false,
816
+ "type": "option"
817
+ },
818
+ "page": {
819
+ "description": "Page number",
820
+ "name": "page",
821
+ "default": 1,
865
822
  "hasDynamicHelp": false,
866
823
  "multiple": false,
867
824
  "type": "option"
@@ -869,7 +826,7 @@
869
826
  },
870
827
  "hasDynamicHelp": false,
871
828
  "hiddenAliases": [],
872
- "id": "datasets:add-spans",
829
+ "id": "datasets:list",
873
830
  "pluginAlias": "@respan/cli",
874
831
  "pluginName": "@respan/cli",
875
832
  "pluginType": "core",
@@ -880,10 +837,10 @@
880
837
  "dist",
881
838
  "commands",
882
839
  "datasets",
883
- "add-spans.js"
840
+ "list.js"
884
841
  ]
885
842
  },
886
- "datasets:create-span": {
843
+ "datasets:spans": {
887
844
  "aliases": [],
888
845
  "args": {
889
846
  "dataset-id": {
@@ -892,7 +849,7 @@
892
849
  "required": true
893
850
  }
894
851
  },
895
- "description": "Create a span in a dataset",
852
+ "description": "List spans in a dataset",
896
853
  "flags": {
897
854
  "api-key": {
898
855
  "description": "API key (env: RESPAN_API_KEY)",
@@ -927,19 +884,11 @@
927
884
  "name": "verbose",
928
885
  "allowNo": false,
929
886
  "type": "boolean"
930
- },
931
- "body": {
932
- "description": "Span body as JSON string",
933
- "name": "body",
934
- "required": true,
935
- "hasDynamicHelp": false,
936
- "multiple": false,
937
- "type": "option"
938
887
  }
939
888
  },
940
889
  "hasDynamicHelp": false,
941
890
  "hiddenAliases": [],
942
- "id": "datasets:create-span",
891
+ "id": "datasets:spans",
943
892
  "pluginAlias": "@respan/cli",
944
893
  "pluginName": "@respan/cli",
945
894
  "pluginType": "core",
@@ -950,13 +899,19 @@
950
899
  "dist",
951
900
  "commands",
952
901
  "datasets",
953
- "create-span.js"
902
+ "spans.js"
954
903
  ]
955
904
  },
956
- "datasets:create": {
905
+ "datasets:update": {
957
906
  "aliases": [],
958
- "args": {},
959
- "description": "Create a new dataset",
907
+ "args": {
908
+ "id": {
909
+ "description": "Dataset ID",
910
+ "name": "id",
911
+ "required": true
912
+ }
913
+ },
914
+ "description": "Update a dataset",
960
915
  "flags": {
961
916
  "api-key": {
962
917
  "description": "API key (env: RESPAN_API_KEY)",
@@ -995,7 +950,6 @@
995
950
  "name": {
996
951
  "description": "Dataset name",
997
952
  "name": "name",
998
- "required": true,
999
953
  "hasDynamicHelp": false,
1000
954
  "multiple": false,
1001
955
  "type": "option"
@@ -1010,7 +964,7 @@
1010
964
  },
1011
965
  "hasDynamicHelp": false,
1012
966
  "hiddenAliases": [],
1013
- "id": "datasets:create",
967
+ "id": "datasets:update",
1014
968
  "pluginAlias": "@respan/cli",
1015
969
  "pluginName": "@respan/cli",
1016
970
  "pluginType": "core",
@@ -1021,24 +975,13 @@
1021
975
  "dist",
1022
976
  "commands",
1023
977
  "datasets",
1024
- "create.js"
978
+ "update.js"
1025
979
  ]
1026
980
  },
1027
- "datasets:get-span": {
981
+ "evaluators:create": {
1028
982
  "aliases": [],
1029
- "args": {
1030
- "dataset-id": {
1031
- "description": "Dataset ID",
1032
- "name": "dataset-id",
1033
- "required": true
1034
- },
1035
- "span-id": {
1036
- "description": "Span ID",
1037
- "name": "span-id",
1038
- "required": true
1039
- }
1040
- },
1041
- "description": "Get a specific span from a dataset",
983
+ "args": {},
984
+ "description": "Create a new evaluator",
1042
985
  "flags": {
1043
986
  "api-key": {
1044
987
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1073,11 +1016,40 @@
1073
1016
  "name": "verbose",
1074
1017
  "allowNo": false,
1075
1018
  "type": "boolean"
1076
- }
1077
- },
1078
- "hasDynamicHelp": false,
1079
- "hiddenAliases": [],
1080
- "id": "datasets:get-span",
1019
+ },
1020
+ "name": {
1021
+ "description": "Evaluator name",
1022
+ "name": "name",
1023
+ "required": true,
1024
+ "hasDynamicHelp": false,
1025
+ "multiple": false,
1026
+ "type": "option"
1027
+ },
1028
+ "type": {
1029
+ "description": "Evaluator type",
1030
+ "name": "type",
1031
+ "hasDynamicHelp": false,
1032
+ "multiple": false,
1033
+ "type": "option"
1034
+ },
1035
+ "description": {
1036
+ "description": "Evaluator description",
1037
+ "name": "description",
1038
+ "hasDynamicHelp": false,
1039
+ "multiple": false,
1040
+ "type": "option"
1041
+ },
1042
+ "config": {
1043
+ "description": "Evaluator config as JSON string",
1044
+ "name": "config",
1045
+ "hasDynamicHelp": false,
1046
+ "multiple": false,
1047
+ "type": "option"
1048
+ }
1049
+ },
1050
+ "hasDynamicHelp": false,
1051
+ "hiddenAliases": [],
1052
+ "id": "evaluators:create",
1081
1053
  "pluginAlias": "@respan/cli",
1082
1054
  "pluginName": "@respan/cli",
1083
1055
  "pluginType": "core",
@@ -1087,20 +1059,20 @@
1087
1059
  "relativePath": [
1088
1060
  "dist",
1089
1061
  "commands",
1090
- "datasets",
1091
- "get-span.js"
1062
+ "evaluators",
1063
+ "create.js"
1092
1064
  ]
1093
1065
  },
1094
- "datasets:get": {
1066
+ "evaluators:get": {
1095
1067
  "aliases": [],
1096
1068
  "args": {
1097
1069
  "id": {
1098
- "description": "Dataset ID",
1070
+ "description": "Evaluator ID",
1099
1071
  "name": "id",
1100
1072
  "required": true
1101
1073
  }
1102
1074
  },
1103
- "description": "Get a specific dataset",
1075
+ "description": "Get a specific evaluator",
1104
1076
  "flags": {
1105
1077
  "api-key": {
1106
1078
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1139,7 +1111,7 @@
1139
1111
  },
1140
1112
  "hasDynamicHelp": false,
1141
1113
  "hiddenAliases": [],
1142
- "id": "datasets:get",
1114
+ "id": "evaluators:get",
1143
1115
  "pluginAlias": "@respan/cli",
1144
1116
  "pluginName": "@respan/cli",
1145
1117
  "pluginType": "core",
@@ -1149,14 +1121,14 @@
1149
1121
  "relativePath": [
1150
1122
  "dist",
1151
1123
  "commands",
1152
- "datasets",
1124
+ "evaluators",
1153
1125
  "get.js"
1154
1126
  ]
1155
1127
  },
1156
- "datasets:list": {
1128
+ "evaluators:list": {
1157
1129
  "aliases": [],
1158
1130
  "args": {},
1159
- "description": "List datasets",
1131
+ "description": "List evaluators",
1160
1132
  "flags": {
1161
1133
  "api-key": {
1162
1134
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1195,7 +1167,7 @@
1195
1167
  "limit": {
1196
1168
  "description": "Number of results per page",
1197
1169
  "name": "limit",
1198
- "default": 50,
1170
+ "default": 20,
1199
1171
  "hasDynamicHelp": false,
1200
1172
  "multiple": false,
1201
1173
  "type": "option"
@@ -1211,7 +1183,7 @@
1211
1183
  },
1212
1184
  "hasDynamicHelp": false,
1213
1185
  "hiddenAliases": [],
1214
- "id": "datasets:list",
1186
+ "id": "evaluators:list",
1215
1187
  "pluginAlias": "@respan/cli",
1216
1188
  "pluginName": "@respan/cli",
1217
1189
  "pluginType": "core",
@@ -1221,20 +1193,20 @@
1221
1193
  "relativePath": [
1222
1194
  "dist",
1223
1195
  "commands",
1224
- "datasets",
1196
+ "evaluators",
1225
1197
  "list.js"
1226
1198
  ]
1227
1199
  },
1228
- "datasets:spans": {
1200
+ "evaluators:run": {
1229
1201
  "aliases": [],
1230
1202
  "args": {
1231
- "dataset-id": {
1232
- "description": "Dataset ID",
1233
- "name": "dataset-id",
1203
+ "id": {
1204
+ "description": "Evaluator ID",
1205
+ "name": "id",
1234
1206
  "required": true
1235
1207
  }
1236
1208
  },
1237
- "description": "List spans in a dataset",
1209
+ "description": "Run an evaluator",
1238
1210
  "flags": {
1239
1211
  "api-key": {
1240
1212
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1269,11 +1241,32 @@
1269
1241
  "name": "verbose",
1270
1242
  "allowNo": false,
1271
1243
  "type": "boolean"
1244
+ },
1245
+ "dataset-id": {
1246
+ "description": "Dataset ID to evaluate against",
1247
+ "name": "dataset-id",
1248
+ "hasDynamicHelp": false,
1249
+ "multiple": false,
1250
+ "type": "option"
1251
+ },
1252
+ "log-ids": {
1253
+ "description": "Comma-separated log/span IDs to evaluate",
1254
+ "name": "log-ids",
1255
+ "hasDynamicHelp": false,
1256
+ "multiple": false,
1257
+ "type": "option"
1258
+ },
1259
+ "params": {
1260
+ "description": "Additional parameters as JSON string",
1261
+ "name": "params",
1262
+ "hasDynamicHelp": false,
1263
+ "multiple": false,
1264
+ "type": "option"
1272
1265
  }
1273
1266
  },
1274
1267
  "hasDynamicHelp": false,
1275
1268
  "hiddenAliases": [],
1276
- "id": "datasets:spans",
1269
+ "id": "evaluators:run",
1277
1270
  "pluginAlias": "@respan/cli",
1278
1271
  "pluginName": "@respan/cli",
1279
1272
  "pluginType": "core",
@@ -1283,20 +1276,20 @@
1283
1276
  "relativePath": [
1284
1277
  "dist",
1285
1278
  "commands",
1286
- "datasets",
1287
- "spans.js"
1279
+ "evaluators",
1280
+ "run.js"
1288
1281
  ]
1289
1282
  },
1290
- "datasets:update": {
1283
+ "evaluators:update": {
1291
1284
  "aliases": [],
1292
1285
  "args": {
1293
1286
  "id": {
1294
- "description": "Dataset ID",
1287
+ "description": "Evaluator ID",
1295
1288
  "name": "id",
1296
1289
  "required": true
1297
1290
  }
1298
1291
  },
1299
- "description": "Update a dataset",
1292
+ "description": "Update an evaluator",
1300
1293
  "flags": {
1301
1294
  "api-key": {
1302
1295
  "description": "API key (env: RESPAN_API_KEY)",
@@ -1333,23 +1326,30 @@
1333
1326
  "type": "boolean"
1334
1327
  },
1335
1328
  "name": {
1336
- "description": "Dataset name",
1329
+ "description": "Evaluator name",
1337
1330
  "name": "name",
1338
1331
  "hasDynamicHelp": false,
1339
1332
  "multiple": false,
1340
1333
  "type": "option"
1341
1334
  },
1342
1335
  "description": {
1343
- "description": "Dataset description",
1336
+ "description": "Evaluator description",
1344
1337
  "name": "description",
1345
1338
  "hasDynamicHelp": false,
1346
1339
  "multiple": false,
1347
1340
  "type": "option"
1341
+ },
1342
+ "config": {
1343
+ "description": "Evaluator config as JSON string",
1344
+ "name": "config",
1345
+ "hasDynamicHelp": false,
1346
+ "multiple": false,
1347
+ "type": "option"
1348
1348
  }
1349
1349
  },
1350
1350
  "hasDynamicHelp": false,
1351
1351
  "hiddenAliases": [],
1352
- "id": "datasets:update",
1352
+ "id": "evaluators:update",
1353
1353
  "pluginAlias": "@respan/cli",
1354
1354
  "pluginName": "@respan/cli",
1355
1355
  "pluginType": "core",
@@ -1359,7 +1359,7 @@
1359
1359
  "relativePath": [
1360
1360
  "dist",
1361
1361
  "commands",
1362
- "datasets",
1362
+ "evaluators",
1363
1363
  "update.js"
1364
1364
  ]
1365
1365
  },
@@ -2781,10 +2781,10 @@
2781
2781
  "summary.js"
2782
2782
  ]
2783
2783
  },
2784
- "logs:create": {
2784
+ "users:create": {
2785
2785
  "aliases": [],
2786
2786
  "args": {},
2787
- "description": "Create a log span",
2787
+ "description": "Create a new user (customer)",
2788
2788
  "flags": {
2789
2789
  "api-key": {
2790
2790
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2820,24 +2820,24 @@
2820
2820
  "allowNo": false,
2821
2821
  "type": "boolean"
2822
2822
  },
2823
- "input": {
2824
- "description": "Input text or JSON",
2825
- "name": "input",
2823
+ "identifier": {
2824
+ "description": "Customer identifier",
2825
+ "name": "identifier",
2826
2826
  "required": true,
2827
2827
  "hasDynamicHelp": false,
2828
2828
  "multiple": false,
2829
2829
  "type": "option"
2830
2830
  },
2831
- "output": {
2832
- "description": "Output text or JSON",
2833
- "name": "output",
2831
+ "name": {
2832
+ "description": "Customer name",
2833
+ "name": "name",
2834
2834
  "hasDynamicHelp": false,
2835
2835
  "multiple": false,
2836
2836
  "type": "option"
2837
2837
  },
2838
- "model": {
2839
- "description": "Model name",
2840
- "name": "model",
2838
+ "email": {
2839
+ "description": "Customer email",
2840
+ "name": "email",
2841
2841
  "hasDynamicHelp": false,
2842
2842
  "multiple": false,
2843
2843
  "type": "option"
@@ -2852,7 +2852,7 @@
2852
2852
  },
2853
2853
  "hasDynamicHelp": false,
2854
2854
  "hiddenAliases": [],
2855
- "id": "logs:create",
2855
+ "id": "users:create",
2856
2856
  "pluginAlias": "@respan/cli",
2857
2857
  "pluginName": "@respan/cli",
2858
2858
  "pluginType": "core",
@@ -2862,20 +2862,20 @@
2862
2862
  "relativePath": [
2863
2863
  "dist",
2864
2864
  "commands",
2865
- "logs",
2865
+ "users",
2866
2866
  "create.js"
2867
2867
  ]
2868
2868
  },
2869
- "logs:get": {
2869
+ "users:get": {
2870
2870
  "aliases": [],
2871
2871
  "args": {
2872
2872
  "id": {
2873
- "description": "Span ID",
2873
+ "description": "Customer identifier",
2874
2874
  "name": "id",
2875
2875
  "required": true
2876
2876
  }
2877
2877
  },
2878
- "description": "Get a specific log span",
2878
+ "description": "Get a specific user (customer)",
2879
2879
  "flags": {
2880
2880
  "api-key": {
2881
2881
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2914,7 +2914,7 @@
2914
2914
  },
2915
2915
  "hasDynamicHelp": false,
2916
2916
  "hiddenAliases": [],
2917
- "id": "logs:get",
2917
+ "id": "users:get",
2918
2918
  "pluginAlias": "@respan/cli",
2919
2919
  "pluginName": "@respan/cli",
2920
2920
  "pluginType": "core",
@@ -2924,14 +2924,14 @@
2924
2924
  "relativePath": [
2925
2925
  "dist",
2926
2926
  "commands",
2927
- "logs",
2927
+ "users",
2928
2928
  "get.js"
2929
2929
  ]
2930
2930
  },
2931
- "logs:list": {
2931
+ "users:list": {
2932
2932
  "aliases": [],
2933
2933
  "args": {},
2934
- "description": "List and filter LLM request logs (spans).\n\nSupports pagination, sorting, time range, and server-side filtering.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
2934
+ "description": "List users (customers)",
2935
2935
  "flags": {
2936
2936
  "api-key": {
2937
2937
  "description": "API key (env: RESPAN_API_KEY)",
@@ -2968,9 +2968,9 @@
2968
2968
  "type": "boolean"
2969
2969
  },
2970
2970
  "limit": {
2971
- "description": "Number of results per page (max 1000)",
2971
+ "description": "Number of results per page",
2972
2972
  "name": "limit",
2973
- "default": 50,
2973
+ "default": 20,
2974
2974
  "hasDynamicHelp": false,
2975
2975
  "multiple": false,
2976
2976
  "type": "option"
@@ -2984,50 +2984,15 @@
2984
2984
  "type": "option"
2985
2985
  },
2986
2986
  "sort-by": {
2987
- "description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
2987
+ "description": "Sort field",
2988
2988
  "name": "sort-by",
2989
2989
  "hasDynamicHelp": false,
2990
2990
  "multiple": false,
2991
2991
  "type": "option"
2992
2992
  },
2993
- "start-time": {
2994
- "description": "Start time filter (ISO 8601)",
2995
- "name": "start-time",
2996
- "hasDynamicHelp": false,
2997
- "multiple": false,
2998
- "type": "option"
2999
- },
3000
- "end-time": {
3001
- "description": "End time filter (ISO 8601)",
3002
- "name": "end-time",
3003
- "hasDynamicHelp": false,
3004
- "multiple": false,
3005
- "type": "option"
3006
- },
3007
- "filter": {
3008
- "description": "Filter in field:operator:value format (repeatable)",
3009
- "name": "filter",
3010
- "hasDynamicHelp": false,
3011
- "multiple": true,
3012
- "type": "option"
3013
- },
3014
- "all-envs": {
3015
- "description": "Include all environments (true/false)",
3016
- "name": "all-envs",
3017
- "hasDynamicHelp": false,
3018
- "multiple": false,
3019
- "type": "option"
3020
- },
3021
- "is-test": {
3022
- "description": "Filter by test (true) or production (false) environment",
3023
- "name": "is-test",
3024
- "hasDynamicHelp": false,
3025
- "multiple": false,
3026
- "type": "option"
3027
- },
3028
- "include-fields": {
3029
- "description": "Comma-separated fields to include in response",
3030
- "name": "include-fields",
2993
+ "environment": {
2994
+ "description": "Environment filter",
2995
+ "name": "environment",
3031
2996
  "hasDynamicHelp": false,
3032
2997
  "multiple": false,
3033
2998
  "type": "option"
@@ -3035,7 +3000,7 @@
3035
3000
  },
3036
3001
  "hasDynamicHelp": false,
3037
3002
  "hiddenAliases": [],
3038
- "id": "logs:list",
3003
+ "id": "users:list",
3039
3004
  "pluginAlias": "@respan/cli",
3040
3005
  "pluginName": "@respan/cli",
3041
3006
  "pluginType": "core",
@@ -3045,14 +3010,20 @@
3045
3010
  "relativePath": [
3046
3011
  "dist",
3047
3012
  "commands",
3048
- "logs",
3013
+ "users",
3049
3014
  "list.js"
3050
3015
  ]
3051
3016
  },
3052
- "logs:summary": {
3017
+ "users:update": {
3053
3018
  "aliases": [],
3054
- "args": {},
3055
- "description": "Get aggregated summary statistics for log spans in a time range.\n\nReturns total cost, total tokens, request count, and score summaries.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
3019
+ "args": {
3020
+ "id": {
3021
+ "description": "Customer identifier",
3022
+ "name": "id",
3023
+ "required": true
3024
+ }
3025
+ },
3026
+ "description": "Update a user (customer)",
3056
3027
  "flags": {
3057
3028
  "api-key": {
3058
3029
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3088,39 +3059,23 @@
3088
3059
  "allowNo": false,
3089
3060
  "type": "boolean"
3090
3061
  },
3091
- "start-time": {
3092
- "description": "Start time (ISO 8601)",
3093
- "name": "start-time",
3094
- "required": true,
3095
- "hasDynamicHelp": false,
3096
- "multiple": false,
3097
- "type": "option"
3098
- },
3099
- "end-time": {
3100
- "description": "End time (ISO 8601)",
3101
- "name": "end-time",
3102
- "required": true,
3062
+ "name": {
3063
+ "description": "Customer name",
3064
+ "name": "name",
3103
3065
  "hasDynamicHelp": false,
3104
3066
  "multiple": false,
3105
3067
  "type": "option"
3106
3068
  },
3107
- "filter": {
3108
- "description": "Filter in field:operator:value format (repeatable)",
3109
- "name": "filter",
3110
- "hasDynamicHelp": false,
3111
- "multiple": true,
3112
- "type": "option"
3113
- },
3114
- "all-envs": {
3115
- "description": "Include all environments (true/false)",
3116
- "name": "all-envs",
3069
+ "email": {
3070
+ "description": "Customer email",
3071
+ "name": "email",
3117
3072
  "hasDynamicHelp": false,
3118
3073
  "multiple": false,
3119
3074
  "type": "option"
3120
3075
  },
3121
- "is-test": {
3122
- "description": "Filter by test (true) or production (false) environment",
3123
- "name": "is-test",
3076
+ "metadata": {
3077
+ "description": "Metadata as JSON string",
3078
+ "name": "metadata",
3124
3079
  "hasDynamicHelp": false,
3125
3080
  "multiple": false,
3126
3081
  "type": "option"
@@ -3128,7 +3083,7 @@
3128
3083
  },
3129
3084
  "hasDynamicHelp": false,
3130
3085
  "hiddenAliases": [],
3131
- "id": "logs:summary",
3086
+ "id": "users:update",
3132
3087
  "pluginAlias": "@respan/cli",
3133
3088
  "pluginName": "@respan/cli",
3134
3089
  "pluginType": "core",
@@ -3138,14 +3093,14 @@
3138
3093
  "relativePath": [
3139
3094
  "dist",
3140
3095
  "commands",
3141
- "logs",
3142
- "summary.js"
3096
+ "users",
3097
+ "update.js"
3143
3098
  ]
3144
3099
  },
3145
- "users:create": {
3100
+ "logs:create": {
3146
3101
  "aliases": [],
3147
3102
  "args": {},
3148
- "description": "Create a new user (customer)",
3103
+ "description": "Create a log span",
3149
3104
  "flags": {
3150
3105
  "api-key": {
3151
3106
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3181,24 +3136,24 @@
3181
3136
  "allowNo": false,
3182
3137
  "type": "boolean"
3183
3138
  },
3184
- "identifier": {
3185
- "description": "Customer identifier",
3186
- "name": "identifier",
3139
+ "input": {
3140
+ "description": "Input text or JSON",
3141
+ "name": "input",
3187
3142
  "required": true,
3188
3143
  "hasDynamicHelp": false,
3189
3144
  "multiple": false,
3190
3145
  "type": "option"
3191
3146
  },
3192
- "name": {
3193
- "description": "Customer name",
3194
- "name": "name",
3147
+ "output": {
3148
+ "description": "Output text or JSON",
3149
+ "name": "output",
3195
3150
  "hasDynamicHelp": false,
3196
3151
  "multiple": false,
3197
3152
  "type": "option"
3198
3153
  },
3199
- "email": {
3200
- "description": "Customer email",
3201
- "name": "email",
3154
+ "model": {
3155
+ "description": "Model name",
3156
+ "name": "model",
3202
3157
  "hasDynamicHelp": false,
3203
3158
  "multiple": false,
3204
3159
  "type": "option"
@@ -3213,7 +3168,7 @@
3213
3168
  },
3214
3169
  "hasDynamicHelp": false,
3215
3170
  "hiddenAliases": [],
3216
- "id": "users:create",
3171
+ "id": "logs:create",
3217
3172
  "pluginAlias": "@respan/cli",
3218
3173
  "pluginName": "@respan/cli",
3219
3174
  "pluginType": "core",
@@ -3223,20 +3178,20 @@
3223
3178
  "relativePath": [
3224
3179
  "dist",
3225
3180
  "commands",
3226
- "users",
3181
+ "logs",
3227
3182
  "create.js"
3228
3183
  ]
3229
3184
  },
3230
- "users:get": {
3185
+ "logs:get": {
3231
3186
  "aliases": [],
3232
3187
  "args": {
3233
3188
  "id": {
3234
- "description": "Customer identifier",
3189
+ "description": "Span ID",
3235
3190
  "name": "id",
3236
3191
  "required": true
3237
3192
  }
3238
3193
  },
3239
- "description": "Get a specific user (customer)",
3194
+ "description": "Get a specific log span",
3240
3195
  "flags": {
3241
3196
  "api-key": {
3242
3197
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3275,7 +3230,7 @@
3275
3230
  },
3276
3231
  "hasDynamicHelp": false,
3277
3232
  "hiddenAliases": [],
3278
- "id": "users:get",
3233
+ "id": "logs:get",
3279
3234
  "pluginAlias": "@respan/cli",
3280
3235
  "pluginName": "@respan/cli",
3281
3236
  "pluginType": "core",
@@ -3285,14 +3240,14 @@
3285
3240
  "relativePath": [
3286
3241
  "dist",
3287
3242
  "commands",
3288
- "users",
3243
+ "logs",
3289
3244
  "get.js"
3290
3245
  ]
3291
3246
  },
3292
- "users:list": {
3247
+ "logs:list": {
3293
3248
  "aliases": [],
3294
3249
  "args": {},
3295
- "description": "List users (customers)",
3250
+ "description": "List and filter LLM request logs (spans).\n\nSupports pagination, sorting, time range, and server-side filtering.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
3296
3251
  "flags": {
3297
3252
  "api-key": {
3298
3253
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3329,9 +3284,9 @@
3329
3284
  "type": "boolean"
3330
3285
  },
3331
3286
  "limit": {
3332
- "description": "Number of results per page",
3287
+ "description": "Number of results per page (max 1000)",
3333
3288
  "name": "limit",
3334
- "default": 20,
3289
+ "default": 50,
3335
3290
  "hasDynamicHelp": false,
3336
3291
  "multiple": false,
3337
3292
  "type": "option"
@@ -3345,15 +3300,50 @@
3345
3300
  "type": "option"
3346
3301
  },
3347
3302
  "sort-by": {
3348
- "description": "Sort field",
3303
+ "description": "Sort field (prefix with - for descending, e.g. -cost, -latency)",
3349
3304
  "name": "sort-by",
3350
3305
  "hasDynamicHelp": false,
3351
3306
  "multiple": false,
3352
3307
  "type": "option"
3353
3308
  },
3354
- "environment": {
3355
- "description": "Environment filter",
3356
- "name": "environment",
3309
+ "start-time": {
3310
+ "description": "Start time filter (ISO 8601)",
3311
+ "name": "start-time",
3312
+ "hasDynamicHelp": false,
3313
+ "multiple": false,
3314
+ "type": "option"
3315
+ },
3316
+ "end-time": {
3317
+ "description": "End time filter (ISO 8601)",
3318
+ "name": "end-time",
3319
+ "hasDynamicHelp": false,
3320
+ "multiple": false,
3321
+ "type": "option"
3322
+ },
3323
+ "filter": {
3324
+ "description": "Filter in field:operator:value format (repeatable)",
3325
+ "name": "filter",
3326
+ "hasDynamicHelp": false,
3327
+ "multiple": true,
3328
+ "type": "option"
3329
+ },
3330
+ "all-envs": {
3331
+ "description": "Include all environments (true/false)",
3332
+ "name": "all-envs",
3333
+ "hasDynamicHelp": false,
3334
+ "multiple": false,
3335
+ "type": "option"
3336
+ },
3337
+ "is-test": {
3338
+ "description": "Filter by test (true) or production (false) environment",
3339
+ "name": "is-test",
3340
+ "hasDynamicHelp": false,
3341
+ "multiple": false,
3342
+ "type": "option"
3343
+ },
3344
+ "include-fields": {
3345
+ "description": "Comma-separated fields to include in response",
3346
+ "name": "include-fields",
3357
3347
  "hasDynamicHelp": false,
3358
3348
  "multiple": false,
3359
3349
  "type": "option"
@@ -3361,7 +3351,7 @@
3361
3351
  },
3362
3352
  "hasDynamicHelp": false,
3363
3353
  "hiddenAliases": [],
3364
- "id": "users:list",
3354
+ "id": "logs:list",
3365
3355
  "pluginAlias": "@respan/cli",
3366
3356
  "pluginName": "@respan/cli",
3367
3357
  "pluginType": "core",
@@ -3371,20 +3361,14 @@
3371
3361
  "relativePath": [
3372
3362
  "dist",
3373
3363
  "commands",
3374
- "users",
3364
+ "logs",
3375
3365
  "list.js"
3376
3366
  ]
3377
3367
  },
3378
- "users:update": {
3368
+ "logs:summary": {
3379
3369
  "aliases": [],
3380
- "args": {
3381
- "id": {
3382
- "description": "Customer identifier",
3383
- "name": "id",
3384
- "required": true
3385
- }
3386
- },
3387
- "description": "Update a user (customer)",
3370
+ "args": {},
3371
+ "description": "Get aggregated summary statistics for log spans in a time range.\n\nReturns total cost, total tokens, request count, and score summaries.\n\nFILTER SYNTAX: field:operator:value\n\nOPERATORS:\n (empty) Exact match model::gpt-4\n not Not equal status_code:not:200\n gt Greater than cost:gt:0.01\n gte Greater than/equal latency:gte:1.0\n lt Less than cost:lt:0.5\n lte Less than/equal prompt_tokens:lte:100\n contains Contains substring error_message:contains:timeout\n icontains Case-insensitive model:icontains:gpt\n startswith Starts with model:startswith:gpt\n endswith Ends with model:endswith:mini\n in Value in list model:in:gpt-4,gpt-4o\n isnull Is null error_message:isnull:true\n iexact Case-insens. exact status:iexact:success\n\nFILTERABLE FIELDS (logs):\n model, status_code, status, cost, latency, prompt_tokens,\n completion_tokens, customer_identifier, custom_identifier,\n thread_identifier, trace_unique_id, span_name, span_workflow_name,\n environment, log_type, error_message, failed, provider_id,\n deployment_name, prompt_name, prompt_id, unique_id, stream,\n temperature, max_tokens, tokens_per_second, time_to_first_token,\n total_request_tokens, metadata__<key>, scores__<evaluator_id>\n\nEXAMPLES:\n --filter model::gpt-4o --filter cost:gt:0.01\n --filter status_code:not:200\n --filter metadata__env::production\n --filter model:in:gpt-4,gpt-4o",
3388
3372
  "flags": {
3389
3373
  "api-key": {
3390
3374
  "description": "API key (env: RESPAN_API_KEY)",
@@ -3420,23 +3404,39 @@
3420
3404
  "allowNo": false,
3421
3405
  "type": "boolean"
3422
3406
  },
3423
- "name": {
3424
- "description": "Customer name",
3425
- "name": "name",
3407
+ "start-time": {
3408
+ "description": "Start time (ISO 8601)",
3409
+ "name": "start-time",
3410
+ "required": true,
3426
3411
  "hasDynamicHelp": false,
3427
3412
  "multiple": false,
3428
3413
  "type": "option"
3429
3414
  },
3430
- "email": {
3431
- "description": "Customer email",
3432
- "name": "email",
3415
+ "end-time": {
3416
+ "description": "End time (ISO 8601)",
3417
+ "name": "end-time",
3418
+ "required": true,
3433
3419
  "hasDynamicHelp": false,
3434
3420
  "multiple": false,
3435
3421
  "type": "option"
3436
3422
  },
3437
- "metadata": {
3438
- "description": "Metadata as JSON string",
3439
- "name": "metadata",
3423
+ "filter": {
3424
+ "description": "Filter in field:operator:value format (repeatable)",
3425
+ "name": "filter",
3426
+ "hasDynamicHelp": false,
3427
+ "multiple": true,
3428
+ "type": "option"
3429
+ },
3430
+ "all-envs": {
3431
+ "description": "Include all environments (true/false)",
3432
+ "name": "all-envs",
3433
+ "hasDynamicHelp": false,
3434
+ "multiple": false,
3435
+ "type": "option"
3436
+ },
3437
+ "is-test": {
3438
+ "description": "Filter by test (true) or production (false) environment",
3439
+ "name": "is-test",
3440
3440
  "hasDynamicHelp": false,
3441
3441
  "multiple": false,
3442
3442
  "type": "option"
@@ -3444,7 +3444,7 @@
3444
3444
  },
3445
3445
  "hasDynamicHelp": false,
3446
3446
  "hiddenAliases": [],
3447
- "id": "users:update",
3447
+ "id": "logs:summary",
3448
3448
  "pluginAlias": "@respan/cli",
3449
3449
  "pluginName": "@respan/cli",
3450
3450
  "pluginType": "core",
@@ -3454,10 +3454,10 @@
3454
3454
  "relativePath": [
3455
3455
  "dist",
3456
3456
  "commands",
3457
- "users",
3458
- "update.js"
3457
+ "logs",
3458
+ "summary.js"
3459
3459
  ]
3460
3460
  }
3461
3461
  },
3462
- "version": "0.6.1"
3462
+ "version": "0.6.3"
3463
3463
  }