@nuxtseo/protocol 0.5.10 → 0.5.11

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.
@@ -4488,6 +4488,725 @@ export declare const analyticsQueryOperation: {
4488
4488
  }];
4489
4489
  };
4490
4490
  };
4491
+ export declare const botActivityParamsSchema: z.ZodObject<{
4492
+ siteId: z.ZodString;
4493
+ }, z.core.$strict>;
4494
+ export declare const botActivityQuerySchema: z.ZodObject<{
4495
+ days: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
4496
+ crawler: z.ZodDefault<z.ZodEnum<{
4497
+ bingbot: "bingbot";
4498
+ googlebot: "googlebot";
4499
+ }>>;
4500
+ }, z.core.$strict>;
4501
+ export declare const botActivityDataSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4502
+ readonly crawler: z.ZodEnum<{
4503
+ bingbot: "bingbot";
4504
+ googlebot: "googlebot";
4505
+ }>;
4506
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
4507
+ _tag: z.ZodLiteral<"collecting">;
4508
+ }, z.core.$strict>, z.ZodObject<{
4509
+ _tag: z.ZodLiteral<"zone_access_missing">;
4510
+ permissions: z.ZodArray<z.ZodString>;
4511
+ oauthScopes: z.ZodArray<z.ZodString>;
4512
+ message: z.ZodString;
4513
+ }, z.core.$strict>, z.ZodObject<{
4514
+ _tag: z.ZodLiteral<"collection_failed">;
4515
+ reason: z.ZodString;
4516
+ message: z.ZodString;
4517
+ }, z.core.$strict>], "_tag">;
4518
+ readonly collection: z.ZodNullable<z.ZodObject<{
4519
+ readonly fromDay: z.ZodString;
4520
+ readonly toDay: z.ZodString;
4521
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
4522
+ }, z.core.$strip>>;
4523
+ readonly totals: z.ZodObject<{
4524
+ readonly requests: z.ZodNumber;
4525
+ readonly statuses: z.ZodObject<{
4526
+ readonly '2xx': z.ZodNumber;
4527
+ readonly '304': z.ZodNumber;
4528
+ readonly other3xx: z.ZodNumber;
4529
+ readonly '404': z.ZodNumber;
4530
+ readonly '410': z.ZodNumber;
4531
+ readonly other4xx: z.ZodNumber;
4532
+ readonly '429': z.ZodNumber;
4533
+ readonly '5xx': z.ZodNumber;
4534
+ }, z.core.$strip>;
4535
+ readonly contents: z.ZodObject<{
4536
+ readonly html: z.ZodNumber;
4537
+ readonly js: z.ZodNumber;
4538
+ readonly css: z.ZodNumber;
4539
+ readonly image: z.ZodNumber;
4540
+ readonly other: z.ZodNumber;
4541
+ }, z.core.$strip>;
4542
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
4543
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
4544
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
4545
+ }, z.core.$strip>;
4546
+ readonly days: z.ZodArray<z.ZodObject<{
4547
+ readonly day: z.ZodString;
4548
+ readonly complete: z.ZodBoolean;
4549
+ readonly requests: z.ZodNumber;
4550
+ readonly bytes: z.ZodNumber;
4551
+ readonly statuses: z.ZodObject<{
4552
+ readonly '2xx': z.ZodNumber;
4553
+ readonly '304': z.ZodNumber;
4554
+ readonly other3xx: z.ZodNumber;
4555
+ readonly '404': z.ZodNumber;
4556
+ readonly '410': z.ZodNumber;
4557
+ readonly other4xx: z.ZodNumber;
4558
+ readonly '429': z.ZodNumber;
4559
+ readonly '5xx': z.ZodNumber;
4560
+ }, z.core.$strip>;
4561
+ readonly contents: z.ZodObject<{
4562
+ readonly html: z.ZodNumber;
4563
+ readonly js: z.ZodNumber;
4564
+ readonly css: z.ZodNumber;
4565
+ readonly image: z.ZodNumber;
4566
+ readonly other: z.ZodNumber;
4567
+ }, z.core.$strip>;
4568
+ readonly cacheHits: z.ZodNumber;
4569
+ readonly origin: z.ZodObject<{
4570
+ readonly requests: z.ZodNumber;
4571
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
4572
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
4573
+ }, z.core.$strip>;
4574
+ }, z.core.$strip>>;
4575
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
4576
+ readonly path: z.ZodString;
4577
+ readonly status: z.ZodNumber;
4578
+ readonly requests: z.ZodNumber;
4579
+ readonly lastDay: z.ZodString;
4580
+ }, z.core.$strip>>;
4581
+ }, z.core.$strip>, z.ZodObject<{
4582
+ readonly crawler: z.ZodEnum<{
4583
+ bingbot: "bingbot";
4584
+ googlebot: "googlebot";
4585
+ }>;
4586
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
4587
+ _tag: z.ZodLiteral<"collecting">;
4588
+ }, z.core.$loose>, z.ZodObject<{
4589
+ _tag: z.ZodLiteral<"zone_access_missing">;
4590
+ permissions: z.ZodArray<z.ZodString>;
4591
+ oauthScopes: z.ZodArray<z.ZodString>;
4592
+ message: z.ZodString;
4593
+ }, z.core.$loose>, z.ZodObject<{
4594
+ _tag: z.ZodLiteral<"collection_failed">;
4595
+ reason: z.ZodString;
4596
+ message: z.ZodString;
4597
+ }, z.core.$loose>], "_tag">;
4598
+ readonly collection: z.ZodNullable<z.ZodObject<{
4599
+ readonly fromDay: z.ZodString;
4600
+ readonly toDay: z.ZodString;
4601
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
4602
+ }, z.core.$strip>>;
4603
+ readonly totals: z.ZodObject<{
4604
+ readonly requests: z.ZodNumber;
4605
+ readonly statuses: z.ZodObject<{
4606
+ readonly '2xx': z.ZodNumber;
4607
+ readonly '304': z.ZodNumber;
4608
+ readonly other3xx: z.ZodNumber;
4609
+ readonly '404': z.ZodNumber;
4610
+ readonly '410': z.ZodNumber;
4611
+ readonly other4xx: z.ZodNumber;
4612
+ readonly '429': z.ZodNumber;
4613
+ readonly '5xx': z.ZodNumber;
4614
+ }, z.core.$strip>;
4615
+ readonly contents: z.ZodObject<{
4616
+ readonly html: z.ZodNumber;
4617
+ readonly js: z.ZodNumber;
4618
+ readonly css: z.ZodNumber;
4619
+ readonly image: z.ZodNumber;
4620
+ readonly other: z.ZodNumber;
4621
+ }, z.core.$strip>;
4622
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
4623
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
4624
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
4625
+ }, z.core.$strip>;
4626
+ readonly days: z.ZodArray<z.ZodObject<{
4627
+ readonly day: z.ZodString;
4628
+ readonly complete: z.ZodBoolean;
4629
+ readonly requests: z.ZodNumber;
4630
+ readonly bytes: z.ZodNumber;
4631
+ readonly statuses: z.ZodObject<{
4632
+ readonly '2xx': z.ZodNumber;
4633
+ readonly '304': z.ZodNumber;
4634
+ readonly other3xx: z.ZodNumber;
4635
+ readonly '404': z.ZodNumber;
4636
+ readonly '410': z.ZodNumber;
4637
+ readonly other4xx: z.ZodNumber;
4638
+ readonly '429': z.ZodNumber;
4639
+ readonly '5xx': z.ZodNumber;
4640
+ }, z.core.$strip>;
4641
+ readonly contents: z.ZodObject<{
4642
+ readonly html: z.ZodNumber;
4643
+ readonly js: z.ZodNumber;
4644
+ readonly css: z.ZodNumber;
4645
+ readonly image: z.ZodNumber;
4646
+ readonly other: z.ZodNumber;
4647
+ }, z.core.$strip>;
4648
+ readonly cacheHits: z.ZodNumber;
4649
+ readonly origin: z.ZodObject<{
4650
+ readonly requests: z.ZodNumber;
4651
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
4652
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
4653
+ }, z.core.$strip>;
4654
+ }, z.core.$strip>>;
4655
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
4656
+ readonly path: z.ZodString;
4657
+ readonly status: z.ZodNumber;
4658
+ readonly requests: z.ZodNumber;
4659
+ readonly lastDay: z.ZodString;
4660
+ }, z.core.$strip>>;
4661
+ }, z.core.$strip>>;
4662
+ export declare const botActivityResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4663
+ data: z.ZodObject<{
4664
+ readonly crawler: z.ZodEnum<{
4665
+ bingbot: "bingbot";
4666
+ googlebot: "googlebot";
4667
+ }>;
4668
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
4669
+ _tag: z.ZodLiteral<"collecting">;
4670
+ }, z.core.$strict>, z.ZodObject<{
4671
+ _tag: z.ZodLiteral<"zone_access_missing">;
4672
+ permissions: z.ZodArray<z.ZodString>;
4673
+ oauthScopes: z.ZodArray<z.ZodString>;
4674
+ message: z.ZodString;
4675
+ }, z.core.$strict>, z.ZodObject<{
4676
+ _tag: z.ZodLiteral<"collection_failed">;
4677
+ reason: z.ZodString;
4678
+ message: z.ZodString;
4679
+ }, z.core.$strict>], "_tag">;
4680
+ readonly collection: z.ZodNullable<z.ZodObject<{
4681
+ readonly fromDay: z.ZodString;
4682
+ readonly toDay: z.ZodString;
4683
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
4684
+ }, z.core.$strip>>;
4685
+ readonly totals: z.ZodObject<{
4686
+ readonly requests: z.ZodNumber;
4687
+ readonly statuses: z.ZodObject<{
4688
+ readonly '2xx': z.ZodNumber;
4689
+ readonly '304': z.ZodNumber;
4690
+ readonly other3xx: z.ZodNumber;
4691
+ readonly '404': z.ZodNumber;
4692
+ readonly '410': z.ZodNumber;
4693
+ readonly other4xx: z.ZodNumber;
4694
+ readonly '429': z.ZodNumber;
4695
+ readonly '5xx': z.ZodNumber;
4696
+ }, z.core.$strip>;
4697
+ readonly contents: z.ZodObject<{
4698
+ readonly html: z.ZodNumber;
4699
+ readonly js: z.ZodNumber;
4700
+ readonly css: z.ZodNumber;
4701
+ readonly image: z.ZodNumber;
4702
+ readonly other: z.ZodNumber;
4703
+ }, z.core.$strip>;
4704
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
4705
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
4706
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
4707
+ }, z.core.$strip>;
4708
+ readonly days: z.ZodArray<z.ZodObject<{
4709
+ readonly day: z.ZodString;
4710
+ readonly complete: z.ZodBoolean;
4711
+ readonly requests: z.ZodNumber;
4712
+ readonly bytes: z.ZodNumber;
4713
+ readonly statuses: z.ZodObject<{
4714
+ readonly '2xx': z.ZodNumber;
4715
+ readonly '304': z.ZodNumber;
4716
+ readonly other3xx: z.ZodNumber;
4717
+ readonly '404': z.ZodNumber;
4718
+ readonly '410': z.ZodNumber;
4719
+ readonly other4xx: z.ZodNumber;
4720
+ readonly '429': z.ZodNumber;
4721
+ readonly '5xx': z.ZodNumber;
4722
+ }, z.core.$strip>;
4723
+ readonly contents: z.ZodObject<{
4724
+ readonly html: z.ZodNumber;
4725
+ readonly js: z.ZodNumber;
4726
+ readonly css: z.ZodNumber;
4727
+ readonly image: z.ZodNumber;
4728
+ readonly other: z.ZodNumber;
4729
+ }, z.core.$strip>;
4730
+ readonly cacheHits: z.ZodNumber;
4731
+ readonly origin: z.ZodObject<{
4732
+ readonly requests: z.ZodNumber;
4733
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
4734
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
4735
+ }, z.core.$strip>;
4736
+ }, z.core.$strip>>;
4737
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
4738
+ readonly path: z.ZodString;
4739
+ readonly status: z.ZodNumber;
4740
+ readonly requests: z.ZodNumber;
4741
+ readonly lastDay: z.ZodString;
4742
+ }, z.core.$strip>>;
4743
+ }, z.core.$strip>;
4744
+ meta: z.ZodObject<{
4745
+ requestId: z.ZodString;
4746
+ version: z.ZodLiteral<"1.0">;
4747
+ }, z.core.$strict>;
4748
+ }, z.core.$strip>, z.ZodObject<{
4749
+ data: z.ZodObject<{
4750
+ readonly crawler: z.ZodEnum<{
4751
+ bingbot: "bingbot";
4752
+ googlebot: "googlebot";
4753
+ }>;
4754
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
4755
+ _tag: z.ZodLiteral<"collecting">;
4756
+ }, z.core.$loose>, z.ZodObject<{
4757
+ _tag: z.ZodLiteral<"zone_access_missing">;
4758
+ permissions: z.ZodArray<z.ZodString>;
4759
+ oauthScopes: z.ZodArray<z.ZodString>;
4760
+ message: z.ZodString;
4761
+ }, z.core.$loose>, z.ZodObject<{
4762
+ _tag: z.ZodLiteral<"collection_failed">;
4763
+ reason: z.ZodString;
4764
+ message: z.ZodString;
4765
+ }, z.core.$loose>], "_tag">;
4766
+ readonly collection: z.ZodNullable<z.ZodObject<{
4767
+ readonly fromDay: z.ZodString;
4768
+ readonly toDay: z.ZodString;
4769
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
4770
+ }, z.core.$strip>>;
4771
+ readonly totals: z.ZodObject<{
4772
+ readonly requests: z.ZodNumber;
4773
+ readonly statuses: z.ZodObject<{
4774
+ readonly '2xx': z.ZodNumber;
4775
+ readonly '304': z.ZodNumber;
4776
+ readonly other3xx: z.ZodNumber;
4777
+ readonly '404': z.ZodNumber;
4778
+ readonly '410': z.ZodNumber;
4779
+ readonly other4xx: z.ZodNumber;
4780
+ readonly '429': z.ZodNumber;
4781
+ readonly '5xx': z.ZodNumber;
4782
+ }, z.core.$strip>;
4783
+ readonly contents: z.ZodObject<{
4784
+ readonly html: z.ZodNumber;
4785
+ readonly js: z.ZodNumber;
4786
+ readonly css: z.ZodNumber;
4787
+ readonly image: z.ZodNumber;
4788
+ readonly other: z.ZodNumber;
4789
+ }, z.core.$strip>;
4790
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
4791
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
4792
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
4793
+ }, z.core.$strip>;
4794
+ readonly days: z.ZodArray<z.ZodObject<{
4795
+ readonly day: z.ZodString;
4796
+ readonly complete: z.ZodBoolean;
4797
+ readonly requests: z.ZodNumber;
4798
+ readonly bytes: z.ZodNumber;
4799
+ readonly statuses: z.ZodObject<{
4800
+ readonly '2xx': z.ZodNumber;
4801
+ readonly '304': z.ZodNumber;
4802
+ readonly other3xx: z.ZodNumber;
4803
+ readonly '404': z.ZodNumber;
4804
+ readonly '410': z.ZodNumber;
4805
+ readonly other4xx: z.ZodNumber;
4806
+ readonly '429': z.ZodNumber;
4807
+ readonly '5xx': z.ZodNumber;
4808
+ }, z.core.$strip>;
4809
+ readonly contents: z.ZodObject<{
4810
+ readonly html: z.ZodNumber;
4811
+ readonly js: z.ZodNumber;
4812
+ readonly css: z.ZodNumber;
4813
+ readonly image: z.ZodNumber;
4814
+ readonly other: z.ZodNumber;
4815
+ }, z.core.$strip>;
4816
+ readonly cacheHits: z.ZodNumber;
4817
+ readonly origin: z.ZodObject<{
4818
+ readonly requests: z.ZodNumber;
4819
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
4820
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
4821
+ }, z.core.$strip>;
4822
+ }, z.core.$strip>>;
4823
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
4824
+ readonly path: z.ZodString;
4825
+ readonly status: z.ZodNumber;
4826
+ readonly requests: z.ZodNumber;
4827
+ readonly lastDay: z.ZodString;
4828
+ }, z.core.$strip>>;
4829
+ }, z.core.$strip>;
4830
+ meta: z.ZodObject<{
4831
+ requestId: z.ZodString;
4832
+ version: z.ZodLiteral<"1.0">;
4833
+ }, z.core.$loose>;
4834
+ }, z.core.$strip>>;
4835
+ export type BotActivityQuery = z.input<typeof botActivityQuerySchema>;
4836
+ export type BotActivity = z.output<typeof botActivityDataSchema.client>;
4837
+ export type BotActivityDay = BotActivity['days'][number];
4838
+ export type BotActivityErrorPath = BotActivity['errorPaths'][number];
4839
+ export type BotActivityAccess = BotActivity['access'];
4840
+ export declare const botActivityOperation: {
4841
+ readonly id: 'analytics.bots.activity';
4842
+ readonly method: 'GET';
4843
+ readonly path: '/api/v1/sites/{siteId}/bot-activity';
4844
+ readonly visibility: 'public';
4845
+ readonly semantics: {
4846
+ readonly kind: 'query';
4847
+ readonly sideEffects: 'none';
4848
+ readonly retry: 'idempotent';
4849
+ readonly readConsistency: 'replica-ok';
4850
+ };
4851
+ readonly auth: {
4852
+ readonly credentials: readonly ["session", "api_token"];
4853
+ readonly scopes: readonly ["analytics:read"];
4854
+ readonly minimumRole: 'viewer';
4855
+ readonly ownership: 'site';
4856
+ };
4857
+ readonly request: {
4858
+ readonly params: z.ZodObject<{
4859
+ siteId: z.ZodString;
4860
+ }, z.core.$strict>;
4861
+ readonly query: z.ZodObject<{
4862
+ days: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
4863
+ crawler: z.ZodDefault<z.ZodEnum<{
4864
+ bingbot: "bingbot";
4865
+ googlebot: "googlebot";
4866
+ }>>;
4867
+ }, z.core.$strict>;
4868
+ readonly headers: null;
4869
+ readonly body: null;
4870
+ };
4871
+ readonly responses: {
4872
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4873
+ data: z.ZodObject<{
4874
+ readonly crawler: z.ZodEnum<{
4875
+ bingbot: "bingbot";
4876
+ googlebot: "googlebot";
4877
+ }>;
4878
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
4879
+ _tag: z.ZodLiteral<"collecting">;
4880
+ }, z.core.$strict>, z.ZodObject<{
4881
+ _tag: z.ZodLiteral<"zone_access_missing">;
4882
+ permissions: z.ZodArray<z.ZodString>;
4883
+ oauthScopes: z.ZodArray<z.ZodString>;
4884
+ message: z.ZodString;
4885
+ }, z.core.$strict>, z.ZodObject<{
4886
+ _tag: z.ZodLiteral<"collection_failed">;
4887
+ reason: z.ZodString;
4888
+ message: z.ZodString;
4889
+ }, z.core.$strict>], "_tag">;
4890
+ readonly collection: z.ZodNullable<z.ZodObject<{
4891
+ readonly fromDay: z.ZodString;
4892
+ readonly toDay: z.ZodString;
4893
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
4894
+ }, z.core.$strip>>;
4895
+ readonly totals: z.ZodObject<{
4896
+ readonly requests: z.ZodNumber;
4897
+ readonly statuses: z.ZodObject<{
4898
+ readonly '2xx': z.ZodNumber;
4899
+ readonly '304': z.ZodNumber;
4900
+ readonly other3xx: z.ZodNumber;
4901
+ readonly '404': z.ZodNumber;
4902
+ readonly '410': z.ZodNumber;
4903
+ readonly other4xx: z.ZodNumber;
4904
+ readonly '429': z.ZodNumber;
4905
+ readonly '5xx': z.ZodNumber;
4906
+ }, z.core.$strip>;
4907
+ readonly contents: z.ZodObject<{
4908
+ readonly html: z.ZodNumber;
4909
+ readonly js: z.ZodNumber;
4910
+ readonly css: z.ZodNumber;
4911
+ readonly image: z.ZodNumber;
4912
+ readonly other: z.ZodNumber;
4913
+ }, z.core.$strip>;
4914
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
4915
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
4916
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
4917
+ }, z.core.$strip>;
4918
+ readonly days: z.ZodArray<z.ZodObject<{
4919
+ readonly day: z.ZodString;
4920
+ readonly complete: z.ZodBoolean;
4921
+ readonly requests: z.ZodNumber;
4922
+ readonly bytes: z.ZodNumber;
4923
+ readonly statuses: z.ZodObject<{
4924
+ readonly '2xx': z.ZodNumber;
4925
+ readonly '304': z.ZodNumber;
4926
+ readonly other3xx: z.ZodNumber;
4927
+ readonly '404': z.ZodNumber;
4928
+ readonly '410': z.ZodNumber;
4929
+ readonly other4xx: z.ZodNumber;
4930
+ readonly '429': z.ZodNumber;
4931
+ readonly '5xx': z.ZodNumber;
4932
+ }, z.core.$strip>;
4933
+ readonly contents: z.ZodObject<{
4934
+ readonly html: z.ZodNumber;
4935
+ readonly js: z.ZodNumber;
4936
+ readonly css: z.ZodNumber;
4937
+ readonly image: z.ZodNumber;
4938
+ readonly other: z.ZodNumber;
4939
+ }, z.core.$strip>;
4940
+ readonly cacheHits: z.ZodNumber;
4941
+ readonly origin: z.ZodObject<{
4942
+ readonly requests: z.ZodNumber;
4943
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
4944
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
4945
+ }, z.core.$strip>;
4946
+ }, z.core.$strip>>;
4947
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
4948
+ readonly path: z.ZodString;
4949
+ readonly status: z.ZodNumber;
4950
+ readonly requests: z.ZodNumber;
4951
+ readonly lastDay: z.ZodString;
4952
+ }, z.core.$strip>>;
4953
+ }, z.core.$strip>;
4954
+ meta: z.ZodObject<{
4955
+ requestId: z.ZodString;
4956
+ version: z.ZodLiteral<"1.0">;
4957
+ }, z.core.$strict>;
4958
+ }, z.core.$strip>, z.ZodObject<{
4959
+ data: z.ZodObject<{
4960
+ readonly crawler: z.ZodEnum<{
4961
+ bingbot: "bingbot";
4962
+ googlebot: "googlebot";
4963
+ }>;
4964
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
4965
+ _tag: z.ZodLiteral<"collecting">;
4966
+ }, z.core.$loose>, z.ZodObject<{
4967
+ _tag: z.ZodLiteral<"zone_access_missing">;
4968
+ permissions: z.ZodArray<z.ZodString>;
4969
+ oauthScopes: z.ZodArray<z.ZodString>;
4970
+ message: z.ZodString;
4971
+ }, z.core.$loose>, z.ZodObject<{
4972
+ _tag: z.ZodLiteral<"collection_failed">;
4973
+ reason: z.ZodString;
4974
+ message: z.ZodString;
4975
+ }, z.core.$loose>], "_tag">;
4976
+ readonly collection: z.ZodNullable<z.ZodObject<{
4977
+ readonly fromDay: z.ZodString;
4978
+ readonly toDay: z.ZodString;
4979
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
4980
+ }, z.core.$strip>>;
4981
+ readonly totals: z.ZodObject<{
4982
+ readonly requests: z.ZodNumber;
4983
+ readonly statuses: z.ZodObject<{
4984
+ readonly '2xx': z.ZodNumber;
4985
+ readonly '304': z.ZodNumber;
4986
+ readonly other3xx: z.ZodNumber;
4987
+ readonly '404': z.ZodNumber;
4988
+ readonly '410': z.ZodNumber;
4989
+ readonly other4xx: z.ZodNumber;
4990
+ readonly '429': z.ZodNumber;
4991
+ readonly '5xx': z.ZodNumber;
4992
+ }, z.core.$strip>;
4993
+ readonly contents: z.ZodObject<{
4994
+ readonly html: z.ZodNumber;
4995
+ readonly js: z.ZodNumber;
4996
+ readonly css: z.ZodNumber;
4997
+ readonly image: z.ZodNumber;
4998
+ readonly other: z.ZodNumber;
4999
+ }, z.core.$strip>;
5000
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
5001
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
5002
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
5003
+ }, z.core.$strip>;
5004
+ readonly days: z.ZodArray<z.ZodObject<{
5005
+ readonly day: z.ZodString;
5006
+ readonly complete: z.ZodBoolean;
5007
+ readonly requests: z.ZodNumber;
5008
+ readonly bytes: z.ZodNumber;
5009
+ readonly statuses: z.ZodObject<{
5010
+ readonly '2xx': z.ZodNumber;
5011
+ readonly '304': z.ZodNumber;
5012
+ readonly other3xx: z.ZodNumber;
5013
+ readonly '404': z.ZodNumber;
5014
+ readonly '410': z.ZodNumber;
5015
+ readonly other4xx: z.ZodNumber;
5016
+ readonly '429': z.ZodNumber;
5017
+ readonly '5xx': z.ZodNumber;
5018
+ }, z.core.$strip>;
5019
+ readonly contents: z.ZodObject<{
5020
+ readonly html: z.ZodNumber;
5021
+ readonly js: z.ZodNumber;
5022
+ readonly css: z.ZodNumber;
5023
+ readonly image: z.ZodNumber;
5024
+ readonly other: z.ZodNumber;
5025
+ }, z.core.$strip>;
5026
+ readonly cacheHits: z.ZodNumber;
5027
+ readonly origin: z.ZodObject<{
5028
+ readonly requests: z.ZodNumber;
5029
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
5030
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
5031
+ }, z.core.$strip>;
5032
+ }, z.core.$strip>>;
5033
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
5034
+ readonly path: z.ZodString;
5035
+ readonly status: z.ZodNumber;
5036
+ readonly requests: z.ZodNumber;
5037
+ readonly lastDay: z.ZodString;
5038
+ }, z.core.$strip>>;
5039
+ }, z.core.$strip>;
5040
+ meta: z.ZodObject<{
5041
+ requestId: z.ZodString;
5042
+ version: z.ZodLiteral<"1.0">;
5043
+ }, z.core.$loose>;
5044
+ }, z.core.$strip>>;
5045
+ };
5046
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "entitlement_required", "conflict", "rate_limited", "contract_violation", "internal_error"];
5047
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
5048
+ readonly error: z.ZodObject<{
5049
+ code: z.ZodEnum<{
5050
+ auth_expired: "auth_expired";
5051
+ conflict: "conflict";
5052
+ contract_violation: "contract_violation";
5053
+ entitlement_required: "entitlement_required";
5054
+ forbidden: "forbidden";
5055
+ internal_error: "internal_error";
5056
+ invalid_request: "invalid_request";
5057
+ not_found: "not_found";
5058
+ provider_unavailable: "provider_unavailable";
5059
+ quota_exhausted: "quota_exhausted";
5060
+ rate_limited: "rate_limited";
5061
+ site_ambiguous: "site_ambiguous";
5062
+ stale_evidence: "stale_evidence";
5063
+ unauthorized: "unauthorized";
5064
+ }>;
5065
+ message: z.ZodString;
5066
+ requestId: z.ZodString;
5067
+ retryable: z.ZodBoolean;
5068
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5069
+ }, z.core.$strict>;
5070
+ }, z.core.$strip>, z.ZodObject<{
5071
+ readonly error: z.ZodObject<{
5072
+ code: z.ZodEnum<{
5073
+ auth_expired: "auth_expired";
5074
+ conflict: "conflict";
5075
+ contract_violation: "contract_violation";
5076
+ entitlement_required: "entitlement_required";
5077
+ forbidden: "forbidden";
5078
+ internal_error: "internal_error";
5079
+ invalid_request: "invalid_request";
5080
+ not_found: "not_found";
5081
+ provider_unavailable: "provider_unavailable";
5082
+ quota_exhausted: "quota_exhausted";
5083
+ rate_limited: "rate_limited";
5084
+ site_ambiguous: "site_ambiguous";
5085
+ stale_evidence: "stale_evidence";
5086
+ unauthorized: "unauthorized";
5087
+ }>;
5088
+ message: z.ZodString;
5089
+ requestId: z.ZodString;
5090
+ retryable: z.ZodBoolean;
5091
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5092
+ }, z.core.$loose>;
5093
+ }, z.core.$strip>>;
5094
+ readonly resources: {
5095
+ readonly reads: readonly [{
5096
+ readonly type: 'site.analytics';
5097
+ readonly idFrom: 'params.siteId';
5098
+ }];
5099
+ readonly changes: readonly [];
5100
+ };
5101
+ readonly policy: {
5102
+ readonly rate: {
5103
+ readonly name: 'public-v1-fixed-window';
5104
+ readonly limit: 50;
5105
+ readonly windowSeconds: 60;
5106
+ };
5107
+ readonly idempotency: {
5108
+ readonly _tag: 'none';
5109
+ };
5110
+ readonly entitlement: 'growth';
5111
+ readonly meter: null;
5112
+ };
5113
+ readonly lifecycle: {
5114
+ readonly introduced: '1.3.0';
5115
+ };
5116
+ readonly docs: {
5117
+ readonly summary: 'Read Bot Traffic';
5118
+ readonly description: string;
5119
+ readonly tags: readonly ["Web Analytics"];
5120
+ readonly examples: readonly [{
5121
+ readonly request: {
5122
+ readonly params: {
5123
+ readonly siteId: 'site_01JXYZ';
5124
+ };
5125
+ readonly query: {
5126
+ readonly days: 7;
5127
+ };
5128
+ };
5129
+ readonly response: {
5130
+ readonly status: 200;
5131
+ readonly body: {
5132
+ readonly data: {
5133
+ readonly crawler: 'googlebot';
5134
+ readonly access: {
5135
+ readonly _tag: 'collecting';
5136
+ };
5137
+ readonly collection: {
5138
+ readonly fromDay: '2026-09-16';
5139
+ readonly toDay: '2026-10-13';
5140
+ readonly completeThroughDay: '2026-10-12';
5141
+ };
5142
+ readonly totals: {
5143
+ readonly requests: 2219;
5144
+ readonly statuses: {
5145
+ readonly '2xx': 1933;
5146
+ readonly '304': 0;
5147
+ readonly other3xx: 60;
5148
+ readonly '404': 51;
5149
+ readonly '410': 1;
5150
+ readonly other4xx: 172;
5151
+ readonly '429': 0;
5152
+ readonly '5xx': 2;
5153
+ };
5154
+ readonly contents: {
5155
+ readonly html: 1702;
5156
+ readonly js: 0;
5157
+ readonly css: 0;
5158
+ readonly image: 341;
5159
+ readonly other: 176;
5160
+ };
5161
+ readonly cacheHitShare: 0.41;
5162
+ readonly wastedShare: 0.1289;
5163
+ readonly originAvgMs: 284;
5164
+ };
5165
+ readonly days: readonly [{
5166
+ readonly day: '2026-10-12';
5167
+ readonly complete: true;
5168
+ readonly requests: 322;
5169
+ readonly bytes: 9840211;
5170
+ readonly statuses: {
5171
+ readonly '2xx': 282;
5172
+ readonly '304': 0;
5173
+ readonly other3xx: 6;
5174
+ readonly '404': 6;
5175
+ readonly '410': 0;
5176
+ readonly other4xx: 27;
5177
+ readonly '429': 0;
5178
+ readonly '5xx': 1;
5179
+ };
5180
+ readonly contents: {
5181
+ readonly html: 250;
5182
+ readonly js: 0;
5183
+ readonly css: 0;
5184
+ readonly image: 47;
5185
+ readonly other: 25;
5186
+ };
5187
+ readonly cacheHits: 131;
5188
+ readonly origin: {
5189
+ readonly requests: 191;
5190
+ readonly avgMs: 302;
5191
+ readonly p50Ms: 188;
5192
+ };
5193
+ }];
5194
+ readonly errorPaths: readonly [{
5195
+ readonly path: '/skills/acme/retired-skill';
5196
+ readonly status: 404;
5197
+ readonly requests: 6;
5198
+ readonly lastDay: '2026-10-12';
5199
+ }];
5200
+ };
5201
+ readonly meta: {
5202
+ readonly requestId: 'req_01JXYZ';
5203
+ readonly version: '1.0';
5204
+ };
5205
+ };
5206
+ };
5207
+ }];
5208
+ };
5209
+ };
4491
5210
  export declare const analyticsV1Registry: import("./core.js").PublicV1Registry<{
4492
5211
  readonly query: {
4493
5212
  readonly id: 'analytics.query';
@@ -6142,4 +6861,374 @@ export declare const analyticsV1Registry: import("./core.js").PublicV1Registry<{
6142
6861
  }];
6143
6862
  };
6144
6863
  };
6864
+ readonly botActivity: {
6865
+ readonly id: 'analytics.bots.activity';
6866
+ readonly method: 'GET';
6867
+ readonly path: '/api/v1/sites/{siteId}/bot-activity';
6868
+ readonly visibility: 'public';
6869
+ readonly semantics: {
6870
+ readonly kind: 'query';
6871
+ readonly sideEffects: 'none';
6872
+ readonly retry: 'idempotent';
6873
+ readonly readConsistency: 'replica-ok';
6874
+ };
6875
+ readonly auth: {
6876
+ readonly credentials: readonly ["session", "api_token"];
6877
+ readonly scopes: readonly ["analytics:read"];
6878
+ readonly minimumRole: 'viewer';
6879
+ readonly ownership: 'site';
6880
+ };
6881
+ readonly request: {
6882
+ readonly params: z.ZodObject<{
6883
+ siteId: z.ZodString;
6884
+ }, z.core.$strict>;
6885
+ readonly query: z.ZodObject<{
6886
+ days: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6887
+ crawler: z.ZodDefault<z.ZodEnum<{
6888
+ bingbot: "bingbot";
6889
+ googlebot: "googlebot";
6890
+ }>>;
6891
+ }, z.core.$strict>;
6892
+ readonly headers: null;
6893
+ readonly body: null;
6894
+ };
6895
+ readonly responses: {
6896
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
6897
+ data: z.ZodObject<{
6898
+ readonly crawler: z.ZodEnum<{
6899
+ bingbot: "bingbot";
6900
+ googlebot: "googlebot";
6901
+ }>;
6902
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
6903
+ _tag: z.ZodLiteral<"collecting">;
6904
+ }, z.core.$strict>, z.ZodObject<{
6905
+ _tag: z.ZodLiteral<"zone_access_missing">;
6906
+ permissions: z.ZodArray<z.ZodString>;
6907
+ oauthScopes: z.ZodArray<z.ZodString>;
6908
+ message: z.ZodString;
6909
+ }, z.core.$strict>, z.ZodObject<{
6910
+ _tag: z.ZodLiteral<"collection_failed">;
6911
+ reason: z.ZodString;
6912
+ message: z.ZodString;
6913
+ }, z.core.$strict>], "_tag">;
6914
+ readonly collection: z.ZodNullable<z.ZodObject<{
6915
+ readonly fromDay: z.ZodString;
6916
+ readonly toDay: z.ZodString;
6917
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
6918
+ }, z.core.$strip>>;
6919
+ readonly totals: z.ZodObject<{
6920
+ readonly requests: z.ZodNumber;
6921
+ readonly statuses: z.ZodObject<{
6922
+ readonly '2xx': z.ZodNumber;
6923
+ readonly '304': z.ZodNumber;
6924
+ readonly other3xx: z.ZodNumber;
6925
+ readonly '404': z.ZodNumber;
6926
+ readonly '410': z.ZodNumber;
6927
+ readonly other4xx: z.ZodNumber;
6928
+ readonly '429': z.ZodNumber;
6929
+ readonly '5xx': z.ZodNumber;
6930
+ }, z.core.$strip>;
6931
+ readonly contents: z.ZodObject<{
6932
+ readonly html: z.ZodNumber;
6933
+ readonly js: z.ZodNumber;
6934
+ readonly css: z.ZodNumber;
6935
+ readonly image: z.ZodNumber;
6936
+ readonly other: z.ZodNumber;
6937
+ }, z.core.$strip>;
6938
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
6939
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
6940
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
6941
+ }, z.core.$strip>;
6942
+ readonly days: z.ZodArray<z.ZodObject<{
6943
+ readonly day: z.ZodString;
6944
+ readonly complete: z.ZodBoolean;
6945
+ readonly requests: z.ZodNumber;
6946
+ readonly bytes: z.ZodNumber;
6947
+ readonly statuses: z.ZodObject<{
6948
+ readonly '2xx': z.ZodNumber;
6949
+ readonly '304': z.ZodNumber;
6950
+ readonly other3xx: z.ZodNumber;
6951
+ readonly '404': z.ZodNumber;
6952
+ readonly '410': z.ZodNumber;
6953
+ readonly other4xx: z.ZodNumber;
6954
+ readonly '429': z.ZodNumber;
6955
+ readonly '5xx': z.ZodNumber;
6956
+ }, z.core.$strip>;
6957
+ readonly contents: z.ZodObject<{
6958
+ readonly html: z.ZodNumber;
6959
+ readonly js: z.ZodNumber;
6960
+ readonly css: z.ZodNumber;
6961
+ readonly image: z.ZodNumber;
6962
+ readonly other: z.ZodNumber;
6963
+ }, z.core.$strip>;
6964
+ readonly cacheHits: z.ZodNumber;
6965
+ readonly origin: z.ZodObject<{
6966
+ readonly requests: z.ZodNumber;
6967
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
6968
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
6969
+ }, z.core.$strip>;
6970
+ }, z.core.$strip>>;
6971
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
6972
+ readonly path: z.ZodString;
6973
+ readonly status: z.ZodNumber;
6974
+ readonly requests: z.ZodNumber;
6975
+ readonly lastDay: z.ZodString;
6976
+ }, z.core.$strip>>;
6977
+ }, z.core.$strip>;
6978
+ meta: z.ZodObject<{
6979
+ requestId: z.ZodString;
6980
+ version: z.ZodLiteral<"1.0">;
6981
+ }, z.core.$strict>;
6982
+ }, z.core.$strip>, z.ZodObject<{
6983
+ data: z.ZodObject<{
6984
+ readonly crawler: z.ZodEnum<{
6985
+ bingbot: "bingbot";
6986
+ googlebot: "googlebot";
6987
+ }>;
6988
+ readonly access: z.ZodDiscriminatedUnion<[z.ZodObject<{
6989
+ _tag: z.ZodLiteral<"collecting">;
6990
+ }, z.core.$loose>, z.ZodObject<{
6991
+ _tag: z.ZodLiteral<"zone_access_missing">;
6992
+ permissions: z.ZodArray<z.ZodString>;
6993
+ oauthScopes: z.ZodArray<z.ZodString>;
6994
+ message: z.ZodString;
6995
+ }, z.core.$loose>, z.ZodObject<{
6996
+ _tag: z.ZodLiteral<"collection_failed">;
6997
+ reason: z.ZodString;
6998
+ message: z.ZodString;
6999
+ }, z.core.$loose>], "_tag">;
7000
+ readonly collection: z.ZodNullable<z.ZodObject<{
7001
+ readonly fromDay: z.ZodString;
7002
+ readonly toDay: z.ZodString;
7003
+ readonly completeThroughDay: z.ZodNullable<z.ZodString>;
7004
+ }, z.core.$strip>>;
7005
+ readonly totals: z.ZodObject<{
7006
+ readonly requests: z.ZodNumber;
7007
+ readonly statuses: z.ZodObject<{
7008
+ readonly '2xx': z.ZodNumber;
7009
+ readonly '304': z.ZodNumber;
7010
+ readonly other3xx: z.ZodNumber;
7011
+ readonly '404': z.ZodNumber;
7012
+ readonly '410': z.ZodNumber;
7013
+ readonly other4xx: z.ZodNumber;
7014
+ readonly '429': z.ZodNumber;
7015
+ readonly '5xx': z.ZodNumber;
7016
+ }, z.core.$strip>;
7017
+ readonly contents: z.ZodObject<{
7018
+ readonly html: z.ZodNumber;
7019
+ readonly js: z.ZodNumber;
7020
+ readonly css: z.ZodNumber;
7021
+ readonly image: z.ZodNumber;
7022
+ readonly other: z.ZodNumber;
7023
+ }, z.core.$strip>;
7024
+ readonly cacheHitShare: z.ZodNullable<z.ZodNumber>;
7025
+ readonly wastedShare: z.ZodNullable<z.ZodNumber>;
7026
+ readonly originAvgMs: z.ZodNullable<z.ZodNumber>;
7027
+ }, z.core.$strip>;
7028
+ readonly days: z.ZodArray<z.ZodObject<{
7029
+ readonly day: z.ZodString;
7030
+ readonly complete: z.ZodBoolean;
7031
+ readonly requests: z.ZodNumber;
7032
+ readonly bytes: z.ZodNumber;
7033
+ readonly statuses: z.ZodObject<{
7034
+ readonly '2xx': z.ZodNumber;
7035
+ readonly '304': z.ZodNumber;
7036
+ readonly other3xx: z.ZodNumber;
7037
+ readonly '404': z.ZodNumber;
7038
+ readonly '410': z.ZodNumber;
7039
+ readonly other4xx: z.ZodNumber;
7040
+ readonly '429': z.ZodNumber;
7041
+ readonly '5xx': z.ZodNumber;
7042
+ }, z.core.$strip>;
7043
+ readonly contents: z.ZodObject<{
7044
+ readonly html: z.ZodNumber;
7045
+ readonly js: z.ZodNumber;
7046
+ readonly css: z.ZodNumber;
7047
+ readonly image: z.ZodNumber;
7048
+ readonly other: z.ZodNumber;
7049
+ }, z.core.$strip>;
7050
+ readonly cacheHits: z.ZodNumber;
7051
+ readonly origin: z.ZodObject<{
7052
+ readonly requests: z.ZodNumber;
7053
+ readonly avgMs: z.ZodNullable<z.ZodNumber>;
7054
+ readonly p50Ms: z.ZodNullable<z.ZodNumber>;
7055
+ }, z.core.$strip>;
7056
+ }, z.core.$strip>>;
7057
+ readonly errorPaths: z.ZodArray<z.ZodObject<{
7058
+ readonly path: z.ZodString;
7059
+ readonly status: z.ZodNumber;
7060
+ readonly requests: z.ZodNumber;
7061
+ readonly lastDay: z.ZodString;
7062
+ }, z.core.$strip>>;
7063
+ }, z.core.$strip>;
7064
+ meta: z.ZodObject<{
7065
+ requestId: z.ZodString;
7066
+ version: z.ZodLiteral<"1.0">;
7067
+ }, z.core.$loose>;
7068
+ }, z.core.$strip>>;
7069
+ };
7070
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "entitlement_required", "conflict", "rate_limited", "contract_violation", "internal_error"];
7071
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
7072
+ readonly error: z.ZodObject<{
7073
+ code: z.ZodEnum<{
7074
+ auth_expired: "auth_expired";
7075
+ conflict: "conflict";
7076
+ contract_violation: "contract_violation";
7077
+ entitlement_required: "entitlement_required";
7078
+ forbidden: "forbidden";
7079
+ internal_error: "internal_error";
7080
+ invalid_request: "invalid_request";
7081
+ not_found: "not_found";
7082
+ provider_unavailable: "provider_unavailable";
7083
+ quota_exhausted: "quota_exhausted";
7084
+ rate_limited: "rate_limited";
7085
+ site_ambiguous: "site_ambiguous";
7086
+ stale_evidence: "stale_evidence";
7087
+ unauthorized: "unauthorized";
7088
+ }>;
7089
+ message: z.ZodString;
7090
+ requestId: z.ZodString;
7091
+ retryable: z.ZodBoolean;
7092
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7093
+ }, z.core.$strict>;
7094
+ }, z.core.$strip>, z.ZodObject<{
7095
+ readonly error: z.ZodObject<{
7096
+ code: z.ZodEnum<{
7097
+ auth_expired: "auth_expired";
7098
+ conflict: "conflict";
7099
+ contract_violation: "contract_violation";
7100
+ entitlement_required: "entitlement_required";
7101
+ forbidden: "forbidden";
7102
+ internal_error: "internal_error";
7103
+ invalid_request: "invalid_request";
7104
+ not_found: "not_found";
7105
+ provider_unavailable: "provider_unavailable";
7106
+ quota_exhausted: "quota_exhausted";
7107
+ rate_limited: "rate_limited";
7108
+ site_ambiguous: "site_ambiguous";
7109
+ stale_evidence: "stale_evidence";
7110
+ unauthorized: "unauthorized";
7111
+ }>;
7112
+ message: z.ZodString;
7113
+ requestId: z.ZodString;
7114
+ retryable: z.ZodBoolean;
7115
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7116
+ }, z.core.$loose>;
7117
+ }, z.core.$strip>>;
7118
+ readonly resources: {
7119
+ readonly reads: readonly [{
7120
+ readonly type: 'site.analytics';
7121
+ readonly idFrom: 'params.siteId';
7122
+ }];
7123
+ readonly changes: readonly [];
7124
+ };
7125
+ readonly policy: {
7126
+ readonly rate: {
7127
+ readonly name: 'public-v1-fixed-window';
7128
+ readonly limit: 50;
7129
+ readonly windowSeconds: 60;
7130
+ };
7131
+ readonly idempotency: {
7132
+ readonly _tag: 'none';
7133
+ };
7134
+ readonly entitlement: 'growth';
7135
+ readonly meter: null;
7136
+ };
7137
+ readonly lifecycle: {
7138
+ readonly introduced: '1.3.0';
7139
+ };
7140
+ readonly docs: {
7141
+ readonly summary: 'Read Bot Traffic';
7142
+ readonly description: string;
7143
+ readonly tags: readonly ["Web Analytics"];
7144
+ readonly examples: readonly [{
7145
+ readonly request: {
7146
+ readonly params: {
7147
+ readonly siteId: 'site_01JXYZ';
7148
+ };
7149
+ readonly query: {
7150
+ readonly days: 7;
7151
+ };
7152
+ };
7153
+ readonly response: {
7154
+ readonly status: 200;
7155
+ readonly body: {
7156
+ readonly data: {
7157
+ readonly crawler: 'googlebot';
7158
+ readonly access: {
7159
+ readonly _tag: 'collecting';
7160
+ };
7161
+ readonly collection: {
7162
+ readonly fromDay: '2026-09-16';
7163
+ readonly toDay: '2026-10-13';
7164
+ readonly completeThroughDay: '2026-10-12';
7165
+ };
7166
+ readonly totals: {
7167
+ readonly requests: 2219;
7168
+ readonly statuses: {
7169
+ readonly '2xx': 1933;
7170
+ readonly '304': 0;
7171
+ readonly other3xx: 60;
7172
+ readonly '404': 51;
7173
+ readonly '410': 1;
7174
+ readonly other4xx: 172;
7175
+ readonly '429': 0;
7176
+ readonly '5xx': 2;
7177
+ };
7178
+ readonly contents: {
7179
+ readonly html: 1702;
7180
+ readonly js: 0;
7181
+ readonly css: 0;
7182
+ readonly image: 341;
7183
+ readonly other: 176;
7184
+ };
7185
+ readonly cacheHitShare: 0.41;
7186
+ readonly wastedShare: 0.1289;
7187
+ readonly originAvgMs: 284;
7188
+ };
7189
+ readonly days: readonly [{
7190
+ readonly day: '2026-10-12';
7191
+ readonly complete: true;
7192
+ readonly requests: 322;
7193
+ readonly bytes: 9840211;
7194
+ readonly statuses: {
7195
+ readonly '2xx': 282;
7196
+ readonly '304': 0;
7197
+ readonly other3xx: 6;
7198
+ readonly '404': 6;
7199
+ readonly '410': 0;
7200
+ readonly other4xx: 27;
7201
+ readonly '429': 0;
7202
+ readonly '5xx': 1;
7203
+ };
7204
+ readonly contents: {
7205
+ readonly html: 250;
7206
+ readonly js: 0;
7207
+ readonly css: 0;
7208
+ readonly image: 47;
7209
+ readonly other: 25;
7210
+ };
7211
+ readonly cacheHits: 131;
7212
+ readonly origin: {
7213
+ readonly requests: 191;
7214
+ readonly avgMs: 302;
7215
+ readonly p50Ms: 188;
7216
+ };
7217
+ }];
7218
+ readonly errorPaths: readonly [{
7219
+ readonly path: '/skills/acme/retired-skill';
7220
+ readonly status: 404;
7221
+ readonly requests: 6;
7222
+ readonly lastDay: '2026-10-12';
7223
+ }];
7224
+ };
7225
+ readonly meta: {
7226
+ readonly requestId: 'req_01JXYZ';
7227
+ readonly version: '1.0';
7228
+ };
7229
+ };
7230
+ };
7231
+ }];
7232
+ };
7233
+ };
6145
7234
  }>;