@arke-institute/sdk 2.3.5 → 2.3.6

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.
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Source: Arke v1 API
8
8
  * Version: 1.0.0
9
- * Generated: 2026-01-05T15:10:38.577Z
9
+ * Generated: 2026-01-07T14:40:52.072Z
10
10
  */
11
11
  type paths = {
12
12
  "/auth/register": {
@@ -5071,6 +5071,510 @@ type paths = {
5071
5071
  patch?: never;
5072
5072
  trace?: never;
5073
5073
  };
5074
+ "/graph/paths": {
5075
+ parameters: {
5076
+ query?: never;
5077
+ header?: never;
5078
+ path?: never;
5079
+ cookie?: never;
5080
+ };
5081
+ get?: never;
5082
+ put?: never;
5083
+ /**
5084
+ * Find paths between entities
5085
+ * @description Find shortest paths between source and target entity sets using graph traversal.
5086
+ */
5087
+ post: {
5088
+ parameters: {
5089
+ query?: never;
5090
+ header?: never;
5091
+ path?: never;
5092
+ cookie?: never;
5093
+ };
5094
+ requestBody?: {
5095
+ content: {
5096
+ "application/json": components["schemas"]["PathsBetweenRequest"];
5097
+ };
5098
+ };
5099
+ responses: {
5100
+ /** @description Paths found */
5101
+ 200: {
5102
+ headers: {
5103
+ [name: string]: unknown;
5104
+ };
5105
+ content: {
5106
+ "application/json": components["schemas"]["PathsBetweenResponse"];
5107
+ };
5108
+ };
5109
+ /** @description Bad Request - Invalid input */
5110
+ 400: {
5111
+ headers: {
5112
+ [name: string]: unknown;
5113
+ };
5114
+ content: {
5115
+ /**
5116
+ * @example {
5117
+ * "error": "Validation failed",
5118
+ * "details": {
5119
+ * "issues": [
5120
+ * {
5121
+ * "path": [
5122
+ * "properties",
5123
+ * "label"
5124
+ * ],
5125
+ * "message": "Required"
5126
+ * }
5127
+ * ]
5128
+ * }
5129
+ * }
5130
+ */
5131
+ "application/json": components["schemas"]["ValidationErrorResponse"];
5132
+ };
5133
+ };
5134
+ };
5135
+ };
5136
+ delete?: never;
5137
+ options?: never;
5138
+ head?: never;
5139
+ patch?: never;
5140
+ trace?: never;
5141
+ };
5142
+ "/graph/reachable": {
5143
+ parameters: {
5144
+ query?: never;
5145
+ header?: never;
5146
+ path?: never;
5147
+ cookie?: never;
5148
+ };
5149
+ get?: never;
5150
+ put?: never;
5151
+ /**
5152
+ * Find reachable entities
5153
+ * @description Find all entities of a specific type reachable from source entities within N hops.
5154
+ */
5155
+ post: {
5156
+ parameters: {
5157
+ query?: never;
5158
+ header?: never;
5159
+ path?: never;
5160
+ cookie?: never;
5161
+ };
5162
+ requestBody?: {
5163
+ content: {
5164
+ "application/json": components["schemas"]["PathsReachableRequest"];
5165
+ };
5166
+ };
5167
+ responses: {
5168
+ /** @description Reachable entities found */
5169
+ 200: {
5170
+ headers: {
5171
+ [name: string]: unknown;
5172
+ };
5173
+ content: {
5174
+ "application/json": components["schemas"]["PathsReachableResponse"];
5175
+ };
5176
+ };
5177
+ /** @description Bad Request - Invalid input */
5178
+ 400: {
5179
+ headers: {
5180
+ [name: string]: unknown;
5181
+ };
5182
+ content: {
5183
+ /**
5184
+ * @example {
5185
+ * "error": "Validation failed",
5186
+ * "details": {
5187
+ * "issues": [
5188
+ * {
5189
+ * "path": [
5190
+ * "properties",
5191
+ * "label"
5192
+ * ],
5193
+ * "message": "Required"
5194
+ * }
5195
+ * ]
5196
+ * }
5197
+ * }
5198
+ */
5199
+ "application/json": components["schemas"]["ValidationErrorResponse"];
5200
+ };
5201
+ };
5202
+ };
5203
+ };
5204
+ delete?: never;
5205
+ options?: never;
5206
+ head?: never;
5207
+ patch?: never;
5208
+ trace?: never;
5209
+ };
5210
+ "/graph/entity/{id}": {
5211
+ parameters: {
5212
+ query?: never;
5213
+ header?: never;
5214
+ path?: never;
5215
+ cookie?: never;
5216
+ };
5217
+ /**
5218
+ * Get entity from graph
5219
+ * @description Get entity details with all relationships from the graph database.
5220
+ */
5221
+ get: {
5222
+ parameters: {
5223
+ query?: never;
5224
+ header?: never;
5225
+ path: {
5226
+ /** @description Entity ID (ULID) */
5227
+ id: string;
5228
+ };
5229
+ cookie?: never;
5230
+ };
5231
+ requestBody?: never;
5232
+ responses: {
5233
+ /** @description Entity found */
5234
+ 200: {
5235
+ headers: {
5236
+ [name: string]: unknown;
5237
+ };
5238
+ content: {
5239
+ "application/json": components["schemas"]["GraphEntityResponse"];
5240
+ };
5241
+ };
5242
+ /** @description Not Found - Resource does not exist */
5243
+ 404: {
5244
+ headers: {
5245
+ [name: string]: unknown;
5246
+ };
5247
+ content: {
5248
+ /**
5249
+ * @example {
5250
+ * "error": "Entity not found"
5251
+ * }
5252
+ */
5253
+ "application/json": components["schemas"]["ErrorResponse"];
5254
+ };
5255
+ };
5256
+ };
5257
+ };
5258
+ put?: never;
5259
+ post?: never;
5260
+ delete?: never;
5261
+ options?: never;
5262
+ head?: never;
5263
+ patch?: never;
5264
+ trace?: never;
5265
+ };
5266
+ "/query": {
5267
+ parameters: {
5268
+ query?: never;
5269
+ header?: never;
5270
+ path?: never;
5271
+ cookie?: never;
5272
+ };
5273
+ get?: never;
5274
+ put?: never;
5275
+ /**
5276
+ * Execute Argo query
5277
+ * @description Execute an Argo DSL query for path-based graph traversal.
5278
+ *
5279
+ * ## Query Syntax
5280
+ *
5281
+ * ```
5282
+ * ENTRY_POINT [ENTRY_FILTER] [-[RELATION]{DEPTH}-> TARGET_FILTER]...
5283
+ * ```
5284
+ *
5285
+ * ### Entry Points
5286
+ *
5287
+ * | Syntax | Description | Example |
5288
+ * |--------|-------------|---------|
5289
+ * | `"text"` | Semantic search | `"george washington"` |
5290
+ * | `@id` | Exact entity ID | `@01KE4ZY69F9R40E88PK9S0TQRQ` |
5291
+ * | `type:X` | All entities of type | `type:person` |
5292
+ * | `type:X ~ "text"` | Semantic search within type | `type:person ~ "physician"` |
5293
+ *
5294
+ * ### Edges (Hops)
5295
+ *
5296
+ * | Syntax | Direction |
5297
+ * |--------|-----------|
5298
+ * | `-[*]->` | Outgoing |
5299
+ * | `<-[*]-` | Incoming |
5300
+ * | `<-[*]->` | Both |
5301
+ * | `-[*]{,4}->` | Variable depth (1-4) |
5302
+ *
5303
+ * ### Examples
5304
+ *
5305
+ * ```
5306
+ * "george washington" # Simple semantic search
5307
+ * "albert einstein" type:person # With type filter
5308
+ * "medical college" -[*]{,4}-> type:file # Find files connected to concept
5309
+ * @01KE4ZY... -[*]{,2}-> type:person # Find people near entity
5310
+ * ```
5311
+ */
5312
+ post: {
5313
+ parameters: {
5314
+ query?: never;
5315
+ header?: never;
5316
+ path?: never;
5317
+ cookie?: never;
5318
+ };
5319
+ requestBody?: {
5320
+ content: {
5321
+ "application/json": components["schemas"]["QueryRequest"];
5322
+ };
5323
+ };
5324
+ responses: {
5325
+ /** @description Query executed successfully */
5326
+ 200: {
5327
+ headers: {
5328
+ [name: string]: unknown;
5329
+ };
5330
+ content: {
5331
+ "application/json": components["schemas"]["QueryResponse"];
5332
+ };
5333
+ };
5334
+ /** @description Bad Request - Invalid input */
5335
+ 400: {
5336
+ headers: {
5337
+ [name: string]: unknown;
5338
+ };
5339
+ content: {
5340
+ /**
5341
+ * @example {
5342
+ * "error": "Validation failed",
5343
+ * "details": {
5344
+ * "issues": [
5345
+ * {
5346
+ * "path": [
5347
+ * "properties",
5348
+ * "label"
5349
+ * ],
5350
+ * "message": "Required"
5351
+ * }
5352
+ * ]
5353
+ * }
5354
+ * }
5355
+ */
5356
+ "application/json": components["schemas"]["ValidationErrorResponse"];
5357
+ };
5358
+ };
5359
+ };
5360
+ };
5361
+ delete?: never;
5362
+ options?: never;
5363
+ head?: never;
5364
+ patch?: never;
5365
+ trace?: never;
5366
+ };
5367
+ "/entities/{id}/attestation": {
5368
+ parameters: {
5369
+ query?: never;
5370
+ header?: never;
5371
+ path?: never;
5372
+ cookie?: never;
5373
+ };
5374
+ /**
5375
+ * Get latest attestation
5376
+ * @description Returns the Arweave attestation for the current (latest) version of an entity.
5377
+ *
5378
+ * Returns 202 Accepted if the attestation upload is still pending.
5379
+ */
5380
+ get: {
5381
+ parameters: {
5382
+ query?: never;
5383
+ header?: never;
5384
+ path: {
5385
+ /** @description Entity ID (ULID) */
5386
+ id: string;
5387
+ };
5388
+ cookie?: never;
5389
+ };
5390
+ requestBody?: never;
5391
+ responses: {
5392
+ /** @description Attestation found */
5393
+ 200: {
5394
+ headers: {
5395
+ [name: string]: unknown;
5396
+ };
5397
+ content: {
5398
+ "application/json": components["schemas"]["AttestationResponse"];
5399
+ };
5400
+ };
5401
+ /** @description Attestation pending */
5402
+ 202: {
5403
+ headers: {
5404
+ [name: string]: unknown;
5405
+ };
5406
+ content: {
5407
+ "application/json": components["schemas"]["AttestationPendingResponse"];
5408
+ };
5409
+ };
5410
+ /** @description Forbidden - Insufficient permissions */
5411
+ 403: {
5412
+ headers: {
5413
+ [name: string]: unknown;
5414
+ };
5415
+ content: {
5416
+ /**
5417
+ * @example {
5418
+ * "error": "Forbidden: You do not have permission to perform this action"
5419
+ * }
5420
+ */
5421
+ "application/json": components["schemas"]["ErrorResponse"];
5422
+ };
5423
+ };
5424
+ /** @description Not Found - Resource does not exist */
5425
+ 404: {
5426
+ headers: {
5427
+ [name: string]: unknown;
5428
+ };
5429
+ content: {
5430
+ /**
5431
+ * @example {
5432
+ * "error": "Entity not found"
5433
+ * }
5434
+ */
5435
+ "application/json": components["schemas"]["ErrorResponse"];
5436
+ };
5437
+ };
5438
+ };
5439
+ };
5440
+ put?: never;
5441
+ post?: never;
5442
+ delete?: never;
5443
+ options?: never;
5444
+ head?: never;
5445
+ patch?: never;
5446
+ trace?: never;
5447
+ };
5448
+ "/versions/{id}/{ver}/attestation": {
5449
+ parameters: {
5450
+ query?: never;
5451
+ header?: never;
5452
+ path?: never;
5453
+ cookie?: never;
5454
+ };
5455
+ /**
5456
+ * Get version attestation
5457
+ * @description Returns the Arweave attestation for a specific version of an entity.
5458
+ */
5459
+ get: {
5460
+ parameters: {
5461
+ query?: never;
5462
+ header?: never;
5463
+ path: {
5464
+ /** @description Entity ID (ULID) */
5465
+ id: string;
5466
+ /** @description Version number */
5467
+ ver: number;
5468
+ };
5469
+ cookie?: never;
5470
+ };
5471
+ requestBody?: never;
5472
+ responses: {
5473
+ /** @description Attestation found */
5474
+ 200: {
5475
+ headers: {
5476
+ [name: string]: unknown;
5477
+ };
5478
+ content: {
5479
+ "application/json": components["schemas"]["AttestationResponse"];
5480
+ };
5481
+ };
5482
+ /** @description Forbidden - Insufficient permissions */
5483
+ 403: {
5484
+ headers: {
5485
+ [name: string]: unknown;
5486
+ };
5487
+ content: {
5488
+ /**
5489
+ * @example {
5490
+ * "error": "Forbidden: You do not have permission to perform this action"
5491
+ * }
5492
+ */
5493
+ "application/json": components["schemas"]["ErrorResponse"];
5494
+ };
5495
+ };
5496
+ /** @description Not Found - Resource does not exist */
5497
+ 404: {
5498
+ headers: {
5499
+ [name: string]: unknown;
5500
+ };
5501
+ content: {
5502
+ /**
5503
+ * @example {
5504
+ * "error": "Entity not found"
5505
+ * }
5506
+ */
5507
+ "application/json": components["schemas"]["ErrorResponse"];
5508
+ };
5509
+ };
5510
+ };
5511
+ };
5512
+ put?: never;
5513
+ post?: never;
5514
+ delete?: never;
5515
+ options?: never;
5516
+ head?: never;
5517
+ patch?: never;
5518
+ trace?: never;
5519
+ };
5520
+ "/attestations/verify/{tx}": {
5521
+ parameters: {
5522
+ query?: never;
5523
+ header?: never;
5524
+ path?: never;
5525
+ cookie?: never;
5526
+ };
5527
+ /**
5528
+ * Verify attestation
5529
+ * @description Fetches an attestation from Arweave and verifies the CID matches the manifest content.
5530
+ *
5531
+ * This is a public endpoint - anyone can verify attestations.
5532
+ */
5533
+ get: {
5534
+ parameters: {
5535
+ query?: never;
5536
+ header?: never;
5537
+ path: {
5538
+ /** @description Arweave transaction ID */
5539
+ tx: string;
5540
+ };
5541
+ cookie?: never;
5542
+ };
5543
+ requestBody?: never;
5544
+ responses: {
5545
+ /** @description Verification result */
5546
+ 200: {
5547
+ headers: {
5548
+ [name: string]: unknown;
5549
+ };
5550
+ content: {
5551
+ "application/json": components["schemas"]["VerifyAttestationResponse"];
5552
+ };
5553
+ };
5554
+ /** @description Not Found - Resource does not exist */
5555
+ 404: {
5556
+ headers: {
5557
+ [name: string]: unknown;
5558
+ };
5559
+ content: {
5560
+ /**
5561
+ * @example {
5562
+ * "error": "Entity not found"
5563
+ * }
5564
+ */
5565
+ "application/json": components["schemas"]["ErrorResponse"];
5566
+ };
5567
+ };
5568
+ };
5569
+ };
5570
+ put?: never;
5571
+ post?: never;
5572
+ delete?: never;
5573
+ options?: never;
5574
+ head?: never;
5575
+ patch?: never;
5576
+ trace?: never;
5577
+ };
5074
5578
  };
5075
5579
  type components = {
5076
5580
  schemas: {
@@ -6691,6 +7195,17 @@ type components = {
6691
7195
  };
6692
7196
  /** @description Optional note describing this version */
6693
7197
  note?: string;
7198
+ /**
7199
+ * @description Arweave transaction ID if this version has been attested
7200
+ * @example abc123xyz...
7201
+ */
7202
+ arweave_tx?: string;
7203
+ /**
7204
+ * Format: uri
7205
+ * @description Arweave gateway URL for the attestation
7206
+ * @example https://arweave.net/abc123xyz...
7207
+ */
7208
+ arweave_url?: string;
6694
7209
  };
6695
7210
  VersionListResponse: {
6696
7211
  /**
@@ -7235,6 +7750,343 @@ type components = {
7235
7750
  */
7236
7751
  cursor: number;
7237
7752
  };
7753
+ PathEdge: {
7754
+ /**
7755
+ * @description Source entity PI
7756
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7757
+ */
7758
+ subject_pi: string;
7759
+ /** @description Source entity label */
7760
+ subject_label: string;
7761
+ /** @description Source entity type */
7762
+ subject_type: string;
7763
+ /** @description Relationship predicate */
7764
+ predicate: string;
7765
+ /**
7766
+ * @description Target entity PI
7767
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7768
+ */
7769
+ object_pi: string;
7770
+ /** @description Target entity label */
7771
+ object_label: string;
7772
+ /** @description Target entity type */
7773
+ object_type: string;
7774
+ };
7775
+ PathResult: {
7776
+ /**
7777
+ * @description Entity ID (ULID format)
7778
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7779
+ */
7780
+ source_pi: string;
7781
+ /**
7782
+ * @description Entity ID (ULID format)
7783
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7784
+ */
7785
+ target_pi: string;
7786
+ /** @description Path length (number of hops) */
7787
+ length: number;
7788
+ edges: components["schemas"]["PathEdge"][];
7789
+ };
7790
+ PathsBetweenResponse: {
7791
+ paths: components["schemas"]["PathResult"][];
7792
+ /** @description Whether results were truncated due to limit */
7793
+ truncated: boolean;
7794
+ };
7795
+ PathsBetweenRequest: {
7796
+ /**
7797
+ * @description Starting entity PIs
7798
+ * @example [
7799
+ * "01KE4ZY69F9R40E88PK9S0TQRQ"
7800
+ * ]
7801
+ */
7802
+ source_pis: string[];
7803
+ /**
7804
+ * @description Target entity PIs
7805
+ * @example [
7806
+ * "01KE506KZGD8M2P1XK3VNQT4YR"
7807
+ * ]
7808
+ */
7809
+ target_pis: string[];
7810
+ /**
7811
+ * @description Maximum path depth (1-4)
7812
+ * @default 4
7813
+ * @example 3
7814
+ */
7815
+ max_depth: number;
7816
+ /**
7817
+ * @description Relationship traversal direction
7818
+ * @default both
7819
+ * @example both
7820
+ * @enum {string}
7821
+ */
7822
+ direction: "outgoing" | "incoming" | "both";
7823
+ /**
7824
+ * @description Maximum number of paths to return
7825
+ * @default 100
7826
+ * @example 10
7827
+ */
7828
+ limit: number;
7829
+ };
7830
+ ReachableResult: {
7831
+ /**
7832
+ * @description Entity ID (ULID format)
7833
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7834
+ */
7835
+ source_pi: string;
7836
+ /**
7837
+ * @description Entity ID (ULID format)
7838
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7839
+ */
7840
+ target_pi: string;
7841
+ target_label: string;
7842
+ target_type: string;
7843
+ /** @description Path length (number of hops) */
7844
+ length: number;
7845
+ edges: components["schemas"]["PathEdge"][];
7846
+ };
7847
+ PathsReachableResponse: {
7848
+ results: components["schemas"]["ReachableResult"][];
7849
+ /** @description Whether results were truncated due to limit */
7850
+ truncated: boolean;
7851
+ };
7852
+ PathsReachableRequest: {
7853
+ /**
7854
+ * @description Starting entity PIs
7855
+ * @example [
7856
+ * "01KE4ZY69F9R40E88PK9S0TQRQ"
7857
+ * ]
7858
+ */
7859
+ source_pis: string[];
7860
+ /**
7861
+ * @description Target entity type to find
7862
+ * @example file
7863
+ */
7864
+ target_type: string;
7865
+ /**
7866
+ * @description Maximum path depth (1-4)
7867
+ * @default 4
7868
+ * @example 3
7869
+ */
7870
+ max_depth: number;
7871
+ /**
7872
+ * @description Relationship traversal direction
7873
+ * @default both
7874
+ * @example both
7875
+ * @enum {string}
7876
+ */
7877
+ direction: "outgoing" | "incoming" | "both";
7878
+ /**
7879
+ * @description Maximum number of results to return
7880
+ * @default 100
7881
+ * @example 50
7882
+ */
7883
+ limit: number;
7884
+ };
7885
+ RelationshipInfo: {
7886
+ /** @enum {string} */
7887
+ direction: "outgoing" | "incoming";
7888
+ predicate: string;
7889
+ /**
7890
+ * @description Entity ID (ULID format)
7891
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7892
+ */
7893
+ peer_pi: string;
7894
+ peer_type: string;
7895
+ peer_label: string;
7896
+ properties: {
7897
+ [key: string]: unknown;
7898
+ };
7899
+ };
7900
+ GraphEntityResponse: {
7901
+ /**
7902
+ * @description Entity ID (ULID format)
7903
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7904
+ */
7905
+ pi: string;
7906
+ type: string;
7907
+ label: string;
7908
+ collection_pi: string | null;
7909
+ /** Format: date-time */
7910
+ created_at: string;
7911
+ /** Format: date-time */
7912
+ updated_at: string;
7913
+ relationships: components["schemas"]["RelationshipInfo"][];
7914
+ };
7915
+ QueryEntity: {
7916
+ /**
7917
+ * @description Entity ID (ULID format)
7918
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7919
+ */
7920
+ pi: string;
7921
+ type: string;
7922
+ label: string;
7923
+ collection_pi: string | null;
7924
+ };
7925
+ EntityStep: {
7926
+ entity: string;
7927
+ label?: string;
7928
+ type?: string;
7929
+ score?: number;
7930
+ };
7931
+ EdgeStep: {
7932
+ edge: string;
7933
+ /** @enum {string} */
7934
+ direction: "outgoing" | "incoming";
7935
+ score?: number;
7936
+ };
7937
+ PathStep: components["schemas"]["EntityStep"] | components["schemas"]["EdgeStep"];
7938
+ QueryResultItem: {
7939
+ entity: components["schemas"]["QueryEntity"];
7940
+ path: components["schemas"]["PathStep"][];
7941
+ score: number;
7942
+ };
7943
+ QueryMetadata: {
7944
+ query: string;
7945
+ hops: number;
7946
+ k: number;
7947
+ k_explore: number;
7948
+ total_candidates_explored: number;
7949
+ execution_time_ms: number;
7950
+ collection?: string;
7951
+ error?: string;
7952
+ reason?: string;
7953
+ partial_path?: components["schemas"]["PathStep"][];
7954
+ stopped_at_hop?: number;
7955
+ };
7956
+ QueryResponse: {
7957
+ results: components["schemas"]["QueryResultItem"][];
7958
+ metadata: components["schemas"]["QueryMetadata"];
7959
+ };
7960
+ QueryRequest: {
7961
+ /**
7962
+ * @description Argo query string
7963
+ * @example "medical college" -[*]{,4}-> type:file
7964
+ */
7965
+ path: string;
7966
+ /**
7967
+ * @description Maximum number of results to return
7968
+ * @default 10
7969
+ * @example 10
7970
+ */
7971
+ k: number;
7972
+ /**
7973
+ * @description Beam width for exploration (default: k * 3)
7974
+ * @example 30
7975
+ */
7976
+ k_explore?: number;
7977
+ /**
7978
+ * @description Scope query to collection PI
7979
+ * @example 01JCOLL_MEDICAL
7980
+ */
7981
+ collection?: string;
7982
+ };
7983
+ AttestationResponse: {
7984
+ /**
7985
+ * @description Entity ID (ULID format)
7986
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
7987
+ */
7988
+ pi: string;
7989
+ /**
7990
+ * @description Entity version number
7991
+ * @example 1
7992
+ */
7993
+ ver: number;
7994
+ /**
7995
+ * @description IPFS Content Identifier (CID)
7996
+ * @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
7997
+ */
7998
+ cid: string;
7999
+ /**
8000
+ * @description Arweave transaction ID
8001
+ * @example abc123xyz...
8002
+ */
8003
+ arweave_tx: string;
8004
+ /**
8005
+ * Format: uri
8006
+ * @description Arweave gateway URL for direct access
8007
+ * @example https://arweave.net/abc123xyz...
8008
+ */
8009
+ arweave_url: string;
8010
+ /**
8011
+ * @description Unix timestamp (milliseconds) of the operation
8012
+ * @example 1704455200000
8013
+ */
8014
+ ts: number;
8015
+ };
8016
+ AttestationPendingResponse: {
8017
+ /**
8018
+ * @description Entity ID (ULID format)
8019
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
8020
+ */
8021
+ pi: string;
8022
+ /**
8023
+ * @description Entity version number
8024
+ * @example 1
8025
+ */
8026
+ ver: number;
8027
+ /**
8028
+ * @description IPFS Content Identifier (CID)
8029
+ * @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
8030
+ */
8031
+ cid: string;
8032
+ /**
8033
+ * @description Attestation upload status
8034
+ * @enum {string}
8035
+ */
8036
+ attestation_status: "pending";
8037
+ /**
8038
+ * @description Status message
8039
+ * @example Attestation upload in progress
8040
+ */
8041
+ message: string;
8042
+ };
8043
+ VerifyAttestationResponse: {
8044
+ arweave_tx: string;
8045
+ attestation: {
8046
+ /**
8047
+ * @description Entity ID (ULID format)
8048
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
8049
+ */
8050
+ pi: string;
8051
+ /**
8052
+ * @description Entity version number
8053
+ * @example 1
8054
+ */
8055
+ ver: number;
8056
+ /**
8057
+ * @description IPFS Content Identifier (CID)
8058
+ * @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
8059
+ */
8060
+ cid: string;
8061
+ /**
8062
+ * @description Operation type: C=Create, U=Update
8063
+ * @enum {string}
8064
+ */
8065
+ op: "C" | "U";
8066
+ /**
8067
+ * @description Visibility at time of operation
8068
+ * @enum {string}
8069
+ */
8070
+ vis: "pub" | "priv";
8071
+ /**
8072
+ * @description Previous version CID (null for creates)
8073
+ * @example bafyreibug443cnd4endcwinwttw3c3dzmcl2ikht64xzn5qg56bix3usfy
8074
+ */
8075
+ prev_cid: string | null;
8076
+ /** @description Unix timestamp (milliseconds) */
8077
+ ts: number;
8078
+ };
8079
+ /** @description True if hash(manifest) matches the attested CID */
8080
+ cid_valid: boolean;
8081
+ /** @description Truncated preview of the manifest content */
8082
+ manifest_preview: {
8083
+ /**
8084
+ * @description Entity type
8085
+ * @example collection
8086
+ */
8087
+ type: string;
8088
+ };
8089
+ };
7238
8090
  };
7239
8091
  responses: never;
7240
8092
  parameters: never;