@arke-institute/sdk 2.3.11 → 2.3.12

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-14T01:00:30.186Z
9
+ * Generated: 2026-01-14T16:34:47.055Z
10
10
  */
11
11
  type paths = {
12
12
  "/auth/register": {
@@ -2599,6 +2599,104 @@ type paths = {
2599
2599
  patch?: never;
2600
2600
  trace?: never;
2601
2601
  };
2602
+ "/entities/{id}/permissions": {
2603
+ parameters: {
2604
+ query?: never;
2605
+ header?: never;
2606
+ path?: never;
2607
+ cookie?: never;
2608
+ };
2609
+ /**
2610
+ * Get your permissions for an entity
2611
+ * @description Returns the list of actions you can perform on this entity.
2612
+ *
2613
+ * The response includes:
2614
+ * - `allowed_actions`: Concrete actions you can perform (no wildcards)
2615
+ * - `resolution`: How permissions were determined
2616
+ *
2617
+ * Resolution methods:
2618
+ * - `collection`: Permissions from your role in the parent collection
2619
+ * - `self`: You are checking your own user entity (self-ownership)
2620
+ * - `open_season`: Entity is not in any collection (publicly accessible)
2621
+ *
2622
+ * Actions are filtered to only those relevant to the entity type:
2623
+ * - For files: entity:* and file:* actions
2624
+ * - For collections: entity:* and collection:* actions
2625
+ * - etc.
2626
+ */
2627
+ get: {
2628
+ parameters: {
2629
+ query?: never;
2630
+ header?: never;
2631
+ path: {
2632
+ /** @description Entity ID (ULID) */
2633
+ id: string;
2634
+ };
2635
+ cookie?: never;
2636
+ };
2637
+ requestBody?: never;
2638
+ responses: {
2639
+ /** @description Permissions retrieved */
2640
+ 200: {
2641
+ headers: {
2642
+ [name: string]: unknown;
2643
+ };
2644
+ content: {
2645
+ "application/json": components["schemas"]["EntityPermissionsResponse"];
2646
+ };
2647
+ };
2648
+ /** @description Unauthorized - Missing or invalid authentication */
2649
+ 401: {
2650
+ headers: {
2651
+ [name: string]: unknown;
2652
+ };
2653
+ content: {
2654
+ /**
2655
+ * @example {
2656
+ * "error": "Unauthorized: Missing or invalid authentication token"
2657
+ * }
2658
+ */
2659
+ "application/json": components["schemas"]["ErrorResponse"];
2660
+ };
2661
+ };
2662
+ /** @description Forbidden - Insufficient permissions */
2663
+ 403: {
2664
+ headers: {
2665
+ [name: string]: unknown;
2666
+ };
2667
+ content: {
2668
+ /**
2669
+ * @example {
2670
+ * "error": "Forbidden: You do not have permission to perform this action"
2671
+ * }
2672
+ */
2673
+ "application/json": components["schemas"]["ErrorResponse"];
2674
+ };
2675
+ };
2676
+ /** @description Not Found - Resource does not exist */
2677
+ 404: {
2678
+ headers: {
2679
+ [name: string]: unknown;
2680
+ };
2681
+ content: {
2682
+ /**
2683
+ * @example {
2684
+ * "error": "Entity not found"
2685
+ * }
2686
+ */
2687
+ "application/json": components["schemas"]["ErrorResponse"];
2688
+ };
2689
+ };
2690
+ };
2691
+ };
2692
+ put?: never;
2693
+ post?: never;
2694
+ delete?: never;
2695
+ options?: never;
2696
+ head?: never;
2697
+ patch?: never;
2698
+ trace?: never;
2699
+ };
2602
2700
  "/relationships": {
2603
2701
  parameters: {
2604
2702
  query?: never;
@@ -8105,6 +8203,47 @@ type components = {
8105
8203
  patch: components["schemas"]["PatchOperation"][];
8106
8204
  };
8107
8205
  DiffResponse: components["schemas"]["SemanticDiffResponse"] | components["schemas"]["PatchDiffResponse"];
8206
+ /** @description How permissions were resolved */
8207
+ PermissionResolution: {
8208
+ /**
8209
+ * @description How permissions were resolved
8210
+ * @example collection
8211
+ * @enum {string}
8212
+ */
8213
+ method: "collection" | "self" | "open_season";
8214
+ /**
8215
+ * @description Collection ID if permissions come from a collection role
8216
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
8217
+ */
8218
+ collection_id?: string;
8219
+ /**
8220
+ * @description Role name in the collection
8221
+ * @example editor
8222
+ */
8223
+ role?: string;
8224
+ };
8225
+ EntityPermissionsResponse: {
8226
+ /**
8227
+ * @description The entity ID
8228
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
8229
+ */
8230
+ entity_id: string;
8231
+ /**
8232
+ * @description The entity type
8233
+ * @example file
8234
+ */
8235
+ entity_type: string;
8236
+ /**
8237
+ * @description Actions the user can perform on this entity
8238
+ * @example [
8239
+ * "entity:view",
8240
+ * "entity:update",
8241
+ * "file:download"
8242
+ * ]
8243
+ */
8244
+ allowed_actions: string[];
8245
+ resolution: components["schemas"]["PermissionResolution"];
8246
+ };
8108
8247
  AddRelationshipResponse: {
8109
8248
  source: components["schemas"]["EntityResponse"] & unknown;
8110
8249
  target?: components["schemas"]["EntityResponse"] & unknown;
@@ -9780,7 +9919,12 @@ type components = {
9780
9919
  };
9781
9920
  };
9782
9921
  responses: never;
9783
- parameters: never;
9922
+ parameters: {
9923
+ /** @description Target network. Use `test` for isolated test data with II-prefixed IDs. */
9924
+ "X-Arke-Network": "main" | "test";
9925
+ /** @description User entity ID for service accounts acting on behalf of a user. Only valid with `role: service` authentication. */
9926
+ "X-On-Behalf-Of": string;
9927
+ };
9784
9928
  requestBodies: never;
9785
9929
  headers: never;
9786
9930
  pathItems: never;
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Source: Arke v1 API
8
8
  * Version: 1.0.0
9
- * Generated: 2026-01-14T01:00:30.186Z
9
+ * Generated: 2026-01-14T16:34:47.055Z
10
10
  */
11
11
  type paths = {
12
12
  "/auth/register": {
@@ -2599,6 +2599,104 @@ type paths = {
2599
2599
  patch?: never;
2600
2600
  trace?: never;
2601
2601
  };
2602
+ "/entities/{id}/permissions": {
2603
+ parameters: {
2604
+ query?: never;
2605
+ header?: never;
2606
+ path?: never;
2607
+ cookie?: never;
2608
+ };
2609
+ /**
2610
+ * Get your permissions for an entity
2611
+ * @description Returns the list of actions you can perform on this entity.
2612
+ *
2613
+ * The response includes:
2614
+ * - `allowed_actions`: Concrete actions you can perform (no wildcards)
2615
+ * - `resolution`: How permissions were determined
2616
+ *
2617
+ * Resolution methods:
2618
+ * - `collection`: Permissions from your role in the parent collection
2619
+ * - `self`: You are checking your own user entity (self-ownership)
2620
+ * - `open_season`: Entity is not in any collection (publicly accessible)
2621
+ *
2622
+ * Actions are filtered to only those relevant to the entity type:
2623
+ * - For files: entity:* and file:* actions
2624
+ * - For collections: entity:* and collection:* actions
2625
+ * - etc.
2626
+ */
2627
+ get: {
2628
+ parameters: {
2629
+ query?: never;
2630
+ header?: never;
2631
+ path: {
2632
+ /** @description Entity ID (ULID) */
2633
+ id: string;
2634
+ };
2635
+ cookie?: never;
2636
+ };
2637
+ requestBody?: never;
2638
+ responses: {
2639
+ /** @description Permissions retrieved */
2640
+ 200: {
2641
+ headers: {
2642
+ [name: string]: unknown;
2643
+ };
2644
+ content: {
2645
+ "application/json": components["schemas"]["EntityPermissionsResponse"];
2646
+ };
2647
+ };
2648
+ /** @description Unauthorized - Missing or invalid authentication */
2649
+ 401: {
2650
+ headers: {
2651
+ [name: string]: unknown;
2652
+ };
2653
+ content: {
2654
+ /**
2655
+ * @example {
2656
+ * "error": "Unauthorized: Missing or invalid authentication token"
2657
+ * }
2658
+ */
2659
+ "application/json": components["schemas"]["ErrorResponse"];
2660
+ };
2661
+ };
2662
+ /** @description Forbidden - Insufficient permissions */
2663
+ 403: {
2664
+ headers: {
2665
+ [name: string]: unknown;
2666
+ };
2667
+ content: {
2668
+ /**
2669
+ * @example {
2670
+ * "error": "Forbidden: You do not have permission to perform this action"
2671
+ * }
2672
+ */
2673
+ "application/json": components["schemas"]["ErrorResponse"];
2674
+ };
2675
+ };
2676
+ /** @description Not Found - Resource does not exist */
2677
+ 404: {
2678
+ headers: {
2679
+ [name: string]: unknown;
2680
+ };
2681
+ content: {
2682
+ /**
2683
+ * @example {
2684
+ * "error": "Entity not found"
2685
+ * }
2686
+ */
2687
+ "application/json": components["schemas"]["ErrorResponse"];
2688
+ };
2689
+ };
2690
+ };
2691
+ };
2692
+ put?: never;
2693
+ post?: never;
2694
+ delete?: never;
2695
+ options?: never;
2696
+ head?: never;
2697
+ patch?: never;
2698
+ trace?: never;
2699
+ };
2602
2700
  "/relationships": {
2603
2701
  parameters: {
2604
2702
  query?: never;
@@ -8105,6 +8203,47 @@ type components = {
8105
8203
  patch: components["schemas"]["PatchOperation"][];
8106
8204
  };
8107
8205
  DiffResponse: components["schemas"]["SemanticDiffResponse"] | components["schemas"]["PatchDiffResponse"];
8206
+ /** @description How permissions were resolved */
8207
+ PermissionResolution: {
8208
+ /**
8209
+ * @description How permissions were resolved
8210
+ * @example collection
8211
+ * @enum {string}
8212
+ */
8213
+ method: "collection" | "self" | "open_season";
8214
+ /**
8215
+ * @description Collection ID if permissions come from a collection role
8216
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
8217
+ */
8218
+ collection_id?: string;
8219
+ /**
8220
+ * @description Role name in the collection
8221
+ * @example editor
8222
+ */
8223
+ role?: string;
8224
+ };
8225
+ EntityPermissionsResponse: {
8226
+ /**
8227
+ * @description The entity ID
8228
+ * @example 01KDETYWYWM0MJVKM8DK3AEXPY
8229
+ */
8230
+ entity_id: string;
8231
+ /**
8232
+ * @description The entity type
8233
+ * @example file
8234
+ */
8235
+ entity_type: string;
8236
+ /**
8237
+ * @description Actions the user can perform on this entity
8238
+ * @example [
8239
+ * "entity:view",
8240
+ * "entity:update",
8241
+ * "file:download"
8242
+ * ]
8243
+ */
8244
+ allowed_actions: string[];
8245
+ resolution: components["schemas"]["PermissionResolution"];
8246
+ };
8108
8247
  AddRelationshipResponse: {
8109
8248
  source: components["schemas"]["EntityResponse"] & unknown;
8110
8249
  target?: components["schemas"]["EntityResponse"] & unknown;
@@ -9780,7 +9919,12 @@ type components = {
9780
9919
  };
9781
9920
  };
9782
9921
  responses: never;
9783
- parameters: never;
9922
+ parameters: {
9923
+ /** @description Target network. Use `test` for isolated test data with II-prefixed IDs. */
9924
+ "X-Arke-Network": "main" | "test";
9925
+ /** @description User entity ID for service accounts acting on behalf of a user. Only valid with `role: service` authentication. */
9926
+ "X-On-Behalf-Of": string;
9927
+ };
9784
9928
  requestBodies: never;
9785
9929
  headers: never;
9786
9930
  pathItems: never;
package/openapi/spec.json CHANGED
@@ -72,6 +72,37 @@
72
72
  "scheme": "bearer",
73
73
  "bearerFormat": "JWT",
74
74
  "description": "Supabase JWT token"
75
+ },
76
+ "apiKeyAuth": {
77
+ "type": "apiKey",
78
+ "in": "header",
79
+ "name": "Authorization",
80
+ "description": "API Key authentication. Format: `ApiKey ak_xxx` (agent) or `ApiKey uk_xxx` (user)"
81
+ }
82
+ },
83
+ "parameters": {
84
+ "X-Arke-Network": {
85
+ "name": "X-Arke-Network",
86
+ "in": "header",
87
+ "required": false,
88
+ "schema": {
89
+ "type": "string",
90
+ "enum": [
91
+ "main",
92
+ "test"
93
+ ],
94
+ "default": "main"
95
+ },
96
+ "description": "Target network. Use `test` for isolated test data with II-prefixed IDs."
97
+ },
98
+ "X-On-Behalf-Of": {
99
+ "name": "X-On-Behalf-Of",
100
+ "in": "header",
101
+ "required": false,
102
+ "schema": {
103
+ "type": "string"
104
+ },
105
+ "description": "User entity ID for service accounts acting on behalf of a user. Only valid with `role: service` authentication."
75
106
  }
76
107
  },
77
108
  "schemas": {
@@ -2573,6 +2604,73 @@
2573
2604
  }
2574
2605
  ]
2575
2606
  },
2607
+ "PermissionResolution": {
2608
+ "type": "object",
2609
+ "properties": {
2610
+ "method": {
2611
+ "type": "string",
2612
+ "enum": [
2613
+ "collection",
2614
+ "self",
2615
+ "open_season"
2616
+ ],
2617
+ "description": "How permissions were resolved",
2618
+ "example": "collection"
2619
+ },
2620
+ "collection_id": {
2621
+ "type": "string",
2622
+ "pattern": "^(?:II[0-9A-HJKMNP-TV-Z]{24}|[FC][0-9A-HJKMNP-TV-Z]{25}|[0-9A-HJKMNP-TV-Z]{26})$",
2623
+ "description": "Collection ID if permissions come from a collection role",
2624
+ "example": "01KDETYWYWM0MJVKM8DK3AEXPY"
2625
+ },
2626
+ "role": {
2627
+ "type": "string",
2628
+ "description": "Role name in the collection",
2629
+ "example": "editor"
2630
+ }
2631
+ },
2632
+ "required": [
2633
+ "method"
2634
+ ],
2635
+ "description": "How permissions were resolved"
2636
+ },
2637
+ "EntityPermissionsResponse": {
2638
+ "type": "object",
2639
+ "properties": {
2640
+ "entity_id": {
2641
+ "type": "string",
2642
+ "pattern": "^(?:II[0-9A-HJKMNP-TV-Z]{24}|[FC][0-9A-HJKMNP-TV-Z]{25}|[0-9A-HJKMNP-TV-Z]{26})$",
2643
+ "description": "The entity ID",
2644
+ "example": "01KDETYWYWM0MJVKM8DK3AEXPY"
2645
+ },
2646
+ "entity_type": {
2647
+ "type": "string",
2648
+ "description": "The entity type",
2649
+ "example": "file"
2650
+ },
2651
+ "allowed_actions": {
2652
+ "type": "array",
2653
+ "items": {
2654
+ "type": "string"
2655
+ },
2656
+ "description": "Actions the user can perform on this entity",
2657
+ "example": [
2658
+ "entity:view",
2659
+ "entity:update",
2660
+ "file:download"
2661
+ ]
2662
+ },
2663
+ "resolution": {
2664
+ "$ref": "#/components/schemas/PermissionResolution"
2665
+ }
2666
+ },
2667
+ "required": [
2668
+ "entity_id",
2669
+ "entity_type",
2670
+ "allowed_actions",
2671
+ "resolution"
2672
+ ]
2673
+ },
2576
2674
  "AddRelationshipResponse": {
2577
2675
  "type": "object",
2578
2676
  "properties": {
@@ -6129,8 +6227,7 @@
6129
6227
  "manifest_preview"
6130
6228
  ]
6131
6229
  }
6132
- },
6133
- "parameters": {}
6230
+ }
6134
6231
  },
6135
6232
  "x-arke-version": "1.0.0",
6136
6233
  "paths": {
@@ -6212,6 +6309,9 @@
6212
6309
  "security": [
6213
6310
  {
6214
6311
  "bearerAuth": []
6312
+ },
6313
+ {
6314
+ "apiKeyAuth": []
6215
6315
  }
6216
6316
  ],
6217
6317
  "responses": {
@@ -6319,6 +6419,9 @@
6319
6419
  "security": [
6320
6420
  {
6321
6421
  "bearerAuth": []
6422
+ },
6423
+ {
6424
+ "apiKeyAuth": []
6322
6425
  }
6323
6426
  ],
6324
6427
  "parameters": [
@@ -6452,6 +6555,9 @@
6452
6555
  "security": [
6453
6556
  {
6454
6557
  "bearerAuth": []
6558
+ },
6559
+ {
6560
+ "apiKeyAuth": []
6455
6561
  }
6456
6562
  ],
6457
6563
  "requestBody": {
@@ -6502,6 +6608,9 @@
6502
6608
  "security": [
6503
6609
  {
6504
6610
  "bearerAuth": []
6611
+ },
6612
+ {
6613
+ "apiKeyAuth": []
6505
6614
  }
6506
6615
  ],
6507
6616
  "responses": {
@@ -6545,6 +6654,9 @@
6545
6654
  "security": [
6546
6655
  {
6547
6656
  "bearerAuth": []
6657
+ },
6658
+ {
6659
+ "apiKeyAuth": []
6548
6660
  }
6549
6661
  ],
6550
6662
  "parameters": [
@@ -6718,6 +6830,9 @@
6718
6830
  "security": [
6719
6831
  {
6720
6832
  "bearerAuth": []
6833
+ },
6834
+ {
6835
+ "apiKeyAuth": []
6721
6836
  }
6722
6837
  ],
6723
6838
  "requestBody": {
@@ -6796,6 +6911,9 @@
6796
6911
  "security": [
6797
6912
  {
6798
6913
  "bearerAuth": []
6914
+ },
6915
+ {
6916
+ "apiKeyAuth": []
6799
6917
  }
6800
6918
  ],
6801
6919
  "requestBody": {
@@ -6946,6 +7064,9 @@
6946
7064
  "security": [
6947
7065
  {
6948
7066
  "bearerAuth": []
7067
+ },
7068
+ {
7069
+ "apiKeyAuth": []
6949
7070
  }
6950
7071
  ],
6951
7072
  "parameters": [
@@ -7078,6 +7199,9 @@
7078
7199
  "security": [
7079
7200
  {
7080
7201
  "bearerAuth": []
7202
+ },
7203
+ {
7204
+ "apiKeyAuth": []
7081
7205
  }
7082
7206
  ],
7083
7207
  "parameters": [
@@ -7193,6 +7317,9 @@
7193
7317
  "security": [
7194
7318
  {
7195
7319
  "bearerAuth": []
7320
+ },
7321
+ {
7322
+ "apiKeyAuth": []
7196
7323
  }
7197
7324
  ],
7198
7325
  "parameters": [
@@ -7318,6 +7445,9 @@
7318
7445
  "security": [
7319
7446
  {
7320
7447
  "bearerAuth": []
7448
+ },
7449
+ {
7450
+ "apiKeyAuth": []
7321
7451
  }
7322
7452
  ],
7323
7453
  "parameters": [
@@ -7488,6 +7618,9 @@
7488
7618
  "security": [
7489
7619
  {
7490
7620
  "bearerAuth": []
7621
+ },
7622
+ {
7623
+ "apiKeyAuth": []
7491
7624
  }
7492
7625
  ],
7493
7626
  "parameters": [
@@ -7603,6 +7736,9 @@
7603
7736
  "security": [
7604
7737
  {
7605
7738
  "bearerAuth": []
7739
+ },
7740
+ {
7741
+ "apiKeyAuth": []
7606
7742
  }
7607
7743
  ],
7608
7744
  "parameters": [
@@ -7732,6 +7868,9 @@
7732
7868
  "security": [
7733
7869
  {
7734
7870
  "bearerAuth": []
7871
+ },
7872
+ {
7873
+ "apiKeyAuth": []
7735
7874
  }
7736
7875
  ],
7737
7876
  "parameters": [
@@ -7967,6 +8106,9 @@
7967
8106
  "security": [
7968
8107
  {
7969
8108
  "bearerAuth": []
8109
+ },
8110
+ {
8111
+ "apiKeyAuth": []
7970
8112
  }
7971
8113
  ],
7972
8114
  "requestBody": {
@@ -8134,6 +8276,9 @@
8134
8276
  "security": [
8135
8277
  {
8136
8278
  "bearerAuth": []
8279
+ },
8280
+ {
8281
+ "apiKeyAuth": []
8137
8282
  }
8138
8283
  ],
8139
8284
  "parameters": [
@@ -8264,6 +8409,9 @@
8264
8409
  "security": [
8265
8410
  {
8266
8411
  "bearerAuth": []
8412
+ },
8413
+ {
8414
+ "apiKeyAuth": []
8267
8415
  }
8268
8416
  ],
8269
8417
  "parameters": [
@@ -8396,6 +8544,9 @@
8396
8544
  "security": [
8397
8545
  {
8398
8546
  "bearerAuth": []
8547
+ },
8548
+ {
8549
+ "apiKeyAuth": []
8399
8550
  }
8400
8551
  ],
8401
8552
  "parameters": [
@@ -8817,6 +8968,92 @@
8817
8968
  }
8818
8969
  }
8819
8970
  },
8971
+ "/entities/{id}/permissions": {
8972
+ "get": {
8973
+ "tags": [
8974
+ "Entities",
8975
+ "Permissions"
8976
+ ],
8977
+ "summary": "Get your permissions for an entity",
8978
+ "description": "Returns the list of actions you can perform on this entity.\n\nThe response includes:\n- `allowed_actions`: Concrete actions you can perform (no wildcards)\n- `resolution`: How permissions were determined\n\nResolution methods:\n- `collection`: Permissions from your role in the parent collection\n- `self`: You are checking your own user entity (self-ownership)\n- `open_season`: Entity is not in any collection (publicly accessible)\n\nActions are filtered to only those relevant to the entity type:\n- For files: entity:* and file:* actions\n- For collections: entity:* and collection:* actions\n- etc.",
8979
+ "x-arke-action": "entity:view",
8980
+ "x-arke-auth": "required",
8981
+ "x-arke-tier": "standard",
8982
+ "security": [
8983
+ {
8984
+ "bearerAuth": []
8985
+ },
8986
+ {
8987
+ "apiKeyAuth": []
8988
+ }
8989
+ ],
8990
+ "parameters": [
8991
+ {
8992
+ "schema": {
8993
+ "type": "string",
8994
+ "pattern": "^(?:II[0-9A-HJKMNP-TV-Z]{24}|[FC][0-9A-HJKMNP-TV-Z]{25}|[0-9A-HJKMNP-TV-Z]{26})$",
8995
+ "description": "Entity ID (ULID format)",
8996
+ "example": "01KDETYWYWM0MJVKM8DK3AEXPY"
8997
+ },
8998
+ "required": true,
8999
+ "description": "Entity ID (ULID)",
9000
+ "name": "id",
9001
+ "in": "path"
9002
+ }
9003
+ ],
9004
+ "responses": {
9005
+ "200": {
9006
+ "description": "Permissions retrieved",
9007
+ "content": {
9008
+ "application/json": {
9009
+ "schema": {
9010
+ "$ref": "#/components/schemas/EntityPermissionsResponse"
9011
+ }
9012
+ }
9013
+ }
9014
+ },
9015
+ "401": {
9016
+ "description": "Unauthorized - Missing or invalid authentication",
9017
+ "content": {
9018
+ "application/json": {
9019
+ "schema": {
9020
+ "$ref": "#/components/schemas/ErrorResponse"
9021
+ },
9022
+ "example": {
9023
+ "error": "Unauthorized: Missing or invalid authentication token"
9024
+ }
9025
+ }
9026
+ }
9027
+ },
9028
+ "403": {
9029
+ "description": "Forbidden - Insufficient permissions",
9030
+ "content": {
9031
+ "application/json": {
9032
+ "schema": {
9033
+ "$ref": "#/components/schemas/ErrorResponse"
9034
+ },
9035
+ "example": {
9036
+ "error": "Forbidden: You do not have permission to perform this action"
9037
+ }
9038
+ }
9039
+ }
9040
+ },
9041
+ "404": {
9042
+ "description": "Not Found - Resource does not exist",
9043
+ "content": {
9044
+ "application/json": {
9045
+ "schema": {
9046
+ "$ref": "#/components/schemas/ErrorResponse"
9047
+ },
9048
+ "example": {
9049
+ "error": "Entity not found"
9050
+ }
9051
+ }
9052
+ }
9053
+ }
9054
+ }
9055
+ }
9056
+ },
8820
9057
  "/relationships": {
8821
9058
  "post": {
8822
9059
  "tags": [
@@ -8830,6 +9067,9 @@
8830
9067
  "security": [
8831
9068
  {
8832
9069
  "bearerAuth": []
9070
+ },
9071
+ {
9072
+ "apiKeyAuth": []
8833
9073
  }
8834
9074
  ],
8835
9075
  "requestBody": {
@@ -8946,6 +9186,9 @@
8946
9186
  "security": [
8947
9187
  {
8948
9188
  "bearerAuth": []
9189
+ },
9190
+ {
9191
+ "apiKeyAuth": []
8949
9192
  }
8950
9193
  ],
8951
9194
  "requestBody": {
@@ -9064,6 +9307,9 @@
9064
9307
  "security": [
9065
9308
  {
9066
9309
  "bearerAuth": []
9310
+ },
9311
+ {
9312
+ "apiKeyAuth": []
9067
9313
  }
9068
9314
  ],
9069
9315
  "requestBody": {
@@ -9182,6 +9428,9 @@
9182
9428
  "security": [
9183
9429
  {
9184
9430
  "bearerAuth": []
9431
+ },
9432
+ {
9433
+ "apiKeyAuth": []
9185
9434
  }
9186
9435
  ],
9187
9436
  "requestBody": {
@@ -9300,6 +9549,9 @@
9300
9549
  "security": [
9301
9550
  {
9302
9551
  "bearerAuth": []
9552
+ },
9553
+ {
9554
+ "apiKeyAuth": []
9303
9555
  }
9304
9556
  ],
9305
9557
  "requestBody": {
@@ -9467,6 +9719,9 @@
9467
9719
  "security": [
9468
9720
  {
9469
9721
  "bearerAuth": []
9722
+ },
9723
+ {
9724
+ "apiKeyAuth": []
9470
9725
  }
9471
9726
  ],
9472
9727
  "parameters": [
@@ -9599,6 +9854,9 @@
9599
9854
  "security": [
9600
9855
  {
9601
9856
  "bearerAuth": []
9857
+ },
9858
+ {
9859
+ "apiKeyAuth": []
9602
9860
  }
9603
9861
  ],
9604
9862
  "parameters": [
@@ -9808,6 +10066,9 @@
9808
10066
  "security": [
9809
10067
  {
9810
10068
  "bearerAuth": []
10069
+ },
10070
+ {
10071
+ "apiKeyAuth": []
9811
10072
  }
9812
10073
  ],
9813
10074
  "parameters": [
@@ -9940,6 +10201,9 @@
9940
10201
  "security": [
9941
10202
  {
9942
10203
  "bearerAuth": []
10204
+ },
10205
+ {
10206
+ "apiKeyAuth": []
9943
10207
  }
9944
10208
  ],
9945
10209
  "requestBody": {
@@ -10090,6 +10354,9 @@
10090
10354
  "security": [
10091
10355
  {
10092
10356
  "bearerAuth": []
10357
+ },
10358
+ {
10359
+ "apiKeyAuth": []
10093
10360
  }
10094
10361
  ],
10095
10362
  "parameters": [
@@ -10222,6 +10489,9 @@
10222
10489
  "security": [
10223
10490
  {
10224
10491
  "bearerAuth": []
10492
+ },
10493
+ {
10494
+ "apiKeyAuth": []
10225
10495
  }
10226
10496
  ],
10227
10497
  "parameters": [
@@ -10354,6 +10624,9 @@
10354
10624
  "security": [
10355
10625
  {
10356
10626
  "bearerAuth": []
10627
+ },
10628
+ {
10629
+ "apiKeyAuth": []
10357
10630
  }
10358
10631
  ],
10359
10632
  "parameters": [
@@ -10498,6 +10771,9 @@
10498
10771
  "security": [
10499
10772
  {
10500
10773
  "bearerAuth": []
10774
+ },
10775
+ {
10776
+ "apiKeyAuth": []
10501
10777
  }
10502
10778
  ],
10503
10779
  "parameters": [
@@ -10630,6 +10906,9 @@
10630
10906
  "security": [
10631
10907
  {
10632
10908
  "bearerAuth": []
10909
+ },
10910
+ {
10911
+ "apiKeyAuth": []
10633
10912
  }
10634
10913
  ],
10635
10914
  "parameters": [
@@ -10762,6 +11041,9 @@
10762
11041
  "security": [
10763
11042
  {
10764
11043
  "bearerAuth": []
11044
+ },
11045
+ {
11046
+ "apiKeyAuth": []
10765
11047
  }
10766
11048
  ],
10767
11049
  "parameters": [
@@ -11107,6 +11389,9 @@
11107
11389
  "security": [
11108
11390
  {
11109
11391
  "bearerAuth": []
11392
+ },
11393
+ {
11394
+ "apiKeyAuth": []
11110
11395
  }
11111
11396
  ],
11112
11397
  "requestBody": {
@@ -11270,6 +11555,9 @@
11270
11555
  "security": [
11271
11556
  {
11272
11557
  "bearerAuth": []
11558
+ },
11559
+ {
11560
+ "apiKeyAuth": []
11273
11561
  }
11274
11562
  ],
11275
11563
  "parameters": [
@@ -11402,6 +11690,9 @@
11402
11690
  "security": [
11403
11691
  {
11404
11692
  "bearerAuth": []
11693
+ },
11694
+ {
11695
+ "apiKeyAuth": []
11405
11696
  }
11406
11697
  ],
11407
11698
  "parameters": [
@@ -11527,6 +11818,9 @@
11527
11818
  "security": [
11528
11819
  {
11529
11820
  "bearerAuth": []
11821
+ },
11822
+ {
11823
+ "apiKeyAuth": []
11530
11824
  }
11531
11825
  ],
11532
11826
  "parameters": [
@@ -11640,6 +11934,9 @@
11640
11934
  "security": [
11641
11935
  {
11642
11936
  "bearerAuth": []
11937
+ },
11938
+ {
11939
+ "apiKeyAuth": []
11643
11940
  }
11644
11941
  ],
11645
11942
  "parameters": [
@@ -11722,6 +12019,9 @@
11722
12019
  "security": [
11723
12020
  {
11724
12021
  "bearerAuth": []
12022
+ },
12023
+ {
12024
+ "apiKeyAuth": []
11725
12025
  }
11726
12026
  ],
11727
12027
  "parameters": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "specVersion": "1.0.0",
3
3
  "apiVersion": "1.0.0",
4
- "fetchedAt": "2026-01-14T01:00:29.332Z",
4
+ "fetchedAt": "2026-01-14T16:34:46.221Z",
5
5
  "sourceUrl": "https://arke-v1.arke.institute/openapi.json",
6
6
  "openApiVersion": "3.1.0"
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arke-institute/sdk",
3
- "version": "2.3.11",
3
+ "version": "2.3.12",
4
4
  "description": "TypeScript SDK for the Arke API - auto-generated from OpenAPI spec",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",