@littlebigbrain/client 0.6.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +80 -18
- package/dist/client.js +142 -28
- package/dist/index.d.ts +1 -1
- package/dist/namespaces.d.ts +19 -6
- package/dist/namespaces.js +46 -6
- package/dist/schema.d.ts +754 -88
- package/dist/types.d.ts +26 -76
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -415,6 +415,23 @@ export interface paths {
|
|
|
415
415
|
patch?: never;
|
|
416
416
|
trace?: never;
|
|
417
417
|
};
|
|
418
|
+
"/v1/graph/entities/sample": {
|
|
419
|
+
parameters: {
|
|
420
|
+
query?: never;
|
|
421
|
+
header?: never;
|
|
422
|
+
path?: never;
|
|
423
|
+
cookie?: never;
|
|
424
|
+
};
|
|
425
|
+
/** Bounded class sample from the ranged adjacency index */
|
|
426
|
+
get: operations["get_v1_graph_entities_sample"];
|
|
427
|
+
put?: never;
|
|
428
|
+
post?: never;
|
|
429
|
+
delete?: never;
|
|
430
|
+
options?: never;
|
|
431
|
+
head?: never;
|
|
432
|
+
patch?: never;
|
|
433
|
+
trace?: never;
|
|
434
|
+
};
|
|
418
435
|
"/v1/graph/entity": {
|
|
419
436
|
parameters: {
|
|
420
437
|
query?: never;
|
|
@@ -518,6 +535,23 @@ export interface paths {
|
|
|
518
535
|
patch?: never;
|
|
519
536
|
trace?: never;
|
|
520
537
|
};
|
|
538
|
+
"/v1/graph/fork": {
|
|
539
|
+
parameters: {
|
|
540
|
+
query?: never;
|
|
541
|
+
header?: never;
|
|
542
|
+
path?: never;
|
|
543
|
+
cookie?: never;
|
|
544
|
+
};
|
|
545
|
+
get?: never;
|
|
546
|
+
put?: never;
|
|
547
|
+
/** Fork a graph: copy-based clone of the source graph's current head into a new graph in the same tenant — no data replay, no re-embedding; runs as a durable job (poll the destination's metadata) */
|
|
548
|
+
post: operations["post_v1_graph_fork"];
|
|
549
|
+
delete?: never;
|
|
550
|
+
options?: never;
|
|
551
|
+
head?: never;
|
|
552
|
+
patch?: never;
|
|
553
|
+
trace?: never;
|
|
554
|
+
};
|
|
521
555
|
"/v1/graph/groundability": {
|
|
522
556
|
parameters: {
|
|
523
557
|
query?: never;
|
|
@@ -620,6 +654,23 @@ export interface paths {
|
|
|
620
654
|
patch?: never;
|
|
621
655
|
trace?: never;
|
|
622
656
|
};
|
|
657
|
+
"/v1/graph/reload": {
|
|
658
|
+
parameters: {
|
|
659
|
+
query?: never;
|
|
660
|
+
header?: never;
|
|
661
|
+
path?: never;
|
|
662
|
+
cookie?: never;
|
|
663
|
+
};
|
|
664
|
+
get?: never;
|
|
665
|
+
put?: never;
|
|
666
|
+
/** Declarative full-state replace: body is bulk-import NDJSON of the desired state; entities absent from the payload leave current state (history kept for as_of), payload entities are upserted, and the cutover is one atomic visibility boundary. dry_run=true previews the full delta without changing anything */
|
|
667
|
+
post: operations["post_v1_graph_reload"];
|
|
668
|
+
delete?: never;
|
|
669
|
+
options?: never;
|
|
670
|
+
head?: never;
|
|
671
|
+
patch?: never;
|
|
672
|
+
trace?: never;
|
|
673
|
+
};
|
|
623
674
|
"/v1/graph/retract": {
|
|
624
675
|
parameters: {
|
|
625
676
|
query?: never;
|
|
@@ -2918,6 +2969,7 @@ export interface components {
|
|
|
2918
2969
|
facets?: components["schemas"]["FacetRequest"][] | null;
|
|
2919
2970
|
filters?: null | components["schemas"]["SearchFilterExpr"];
|
|
2920
2971
|
max_clusters?: number | null;
|
|
2972
|
+
min_indexed_seq?: null | components["schemas"]["CommitSeq"];
|
|
2921
2973
|
probe_count?: number | null;
|
|
2922
2974
|
provider?: null | components["schemas"]["EmbeddingProviderConfig"];
|
|
2923
2975
|
query: string;
|
|
@@ -3195,6 +3247,29 @@ export interface components {
|
|
|
3195
3247
|
snapshot: components["schemas"]["SnapshotView"];
|
|
3196
3248
|
transitions: components["schemas"]["TransitionEntry"][];
|
|
3197
3249
|
};
|
|
3250
|
+
/**
|
|
3251
|
+
* @description Exact class cardinality plus a bounded deterministic sample served from the
|
|
3252
|
+
* ranged adjacency meta. `indexed_commit_seq` makes index lag explicit while
|
|
3253
|
+
* `snapshot.commit_seq` reports the current graph head.
|
|
3254
|
+
*/
|
|
3255
|
+
EntityTypeSampleResponse: {
|
|
3256
|
+
entities: components["schemas"]["EntityTypeSampleRow"][];
|
|
3257
|
+
entity_type: string;
|
|
3258
|
+
indexed_commit_seq: components["schemas"]["CommitSeq"];
|
|
3259
|
+
snapshot: components["schemas"]["SnapshotView"];
|
|
3260
|
+
total_count: number;
|
|
3261
|
+
};
|
|
3262
|
+
/**
|
|
3263
|
+
* @description One bounded, index-backed class member for interactive graph exploration.
|
|
3264
|
+
* Unlike [`EntityExplorerRow`], this deliberately carries only fields the
|
|
3265
|
+
* adjacency build already knows; exhaustive attributes and observation counts
|
|
3266
|
+
* remain on the full entity/browse reads.
|
|
3267
|
+
*/
|
|
3268
|
+
EntityTypeSampleRow: {
|
|
3269
|
+
entity: components["schemas"]["EntityView"];
|
|
3270
|
+
in_degree: number;
|
|
3271
|
+
out_degree: number;
|
|
3272
|
+
};
|
|
3198
3273
|
EntityView: {
|
|
3199
3274
|
id: components["schemas"]["EntityId"];
|
|
3200
3275
|
name: string;
|
|
@@ -3400,6 +3475,7 @@ export interface components {
|
|
|
3400
3475
|
explain: boolean;
|
|
3401
3476
|
facets?: components["schemas"]["FacetRequest"][] | null;
|
|
3402
3477
|
filters?: null | components["schemas"]["SearchFilterExpr"];
|
|
3478
|
+
min_indexed_seq?: null | components["schemas"]["CommitSeq"];
|
|
3403
3479
|
/**
|
|
3404
3480
|
* @description Number of leading results to skip after ordering, for stateless paging:
|
|
3405
3481
|
* `offset = page * top_k` walks pages deterministically. Defaults to 0.
|
|
@@ -3775,6 +3851,23 @@ export interface components {
|
|
|
3775
3851
|
*/
|
|
3776
3852
|
snapshot_token: string;
|
|
3777
3853
|
};
|
|
3854
|
+
/**
|
|
3855
|
+
* @description Response to `POST /v1/graph/fork`: the fork runs as a durable background job
|
|
3856
|
+
* (a create-only copy of the source graph into a new graph id in the same
|
|
3857
|
+
* tenant), so this acknowledges the enqueue and points at the poll surface.
|
|
3858
|
+
*/
|
|
3859
|
+
GraphForkResponse: {
|
|
3860
|
+
dst_graph_id: string;
|
|
3861
|
+
job_id: string;
|
|
3862
|
+
ok: boolean;
|
|
3863
|
+
/**
|
|
3864
|
+
* @description Poll the destination graph's metadata to observe the fork completing
|
|
3865
|
+
* (the destination becomes readable once its head is published).
|
|
3866
|
+
*/
|
|
3867
|
+
poll: string;
|
|
3868
|
+
queued: boolean;
|
|
3869
|
+
src_graph_id: string;
|
|
3870
|
+
};
|
|
3778
3871
|
GraphId: string;
|
|
3779
3872
|
/**
|
|
3780
3873
|
* @description Outcome of the optional one-shot index build a bulk import runs at the end
|
|
@@ -3900,6 +3993,12 @@ export interface components {
|
|
|
3900
3993
|
* every as-of returns the same picture.
|
|
3901
3994
|
*/
|
|
3902
3995
|
temporal_coverage?: components["schemas"]["TemporalCoverage"];
|
|
3996
|
+
/**
|
|
3997
|
+
* @description Whether `temporal_coverage` was computed from the full snapshot. The
|
|
3998
|
+
* bounded HTTP metadata path is head-only by default; callers that need
|
|
3999
|
+
* exact event-time coverage opt in explicitly.
|
|
4000
|
+
*/
|
|
4001
|
+
temporal_coverage_computed?: boolean;
|
|
3903
4002
|
unindexed_tail_commits: number;
|
|
3904
4003
|
/** Format: int64 */
|
|
3905
4004
|
wal_tail_bytes: number;
|
|
@@ -3974,6 +4073,96 @@ export interface components {
|
|
|
3974
4073
|
recall_at_k: number;
|
|
3975
4074
|
snapshot: components["schemas"]["SnapshotView"];
|
|
3976
4075
|
};
|
|
4076
|
+
/**
|
|
4077
|
+
* @description Outcome of `POST /v1/graph/reload` — the declarative "make the graph match
|
|
4078
|
+
* this full dataset" verb. One atomic cutover replaces the whole current state:
|
|
4079
|
+
* records present in the payload are upserted, and entities present at the
|
|
4080
|
+
* pre-reload head but absent from the payload are removed from current state
|
|
4081
|
+
* (retraction semantics — history stays queryable via `?as_of_commit_seq=`).
|
|
4082
|
+
* The delta report is the "prove I don't have wrong data" aid.
|
|
4083
|
+
*
|
|
4084
|
+
* The whole reconciliation lands as a single graph-head advance, so a reader
|
|
4085
|
+
* never observes a mixed old/new state: a snapshot pinned at `prior_commit_seq`
|
|
4086
|
+
* sees only the old state, and `new_commit_seq` sees only the new state, with
|
|
4087
|
+
* nothing in between.
|
|
4088
|
+
*/
|
|
4089
|
+
GraphReloadResponse: {
|
|
4090
|
+
/**
|
|
4091
|
+
* @description True when this was a `?dry_run=true` preview: nothing durable changed and
|
|
4092
|
+
* the counts + `new_commit_seq`/`new_snapshot_token` are the *proposed*
|
|
4093
|
+
* effect of a real reload against the same pre-reload head.
|
|
4094
|
+
*/
|
|
4095
|
+
dry_run: boolean;
|
|
4096
|
+
/** @description Payload edges not currently present, within the reconciled scopes. */
|
|
4097
|
+
edges_added: number;
|
|
4098
|
+
/** @description Payload edges already present (re-asserted), within the reconciled scopes. */
|
|
4099
|
+
edges_changed: number;
|
|
4100
|
+
/** @description Current edges retracted because an endpoint left current state. */
|
|
4101
|
+
edges_removed: number;
|
|
4102
|
+
/** @description Entities present in the payload but not at the pre-reload head. */
|
|
4103
|
+
entities_added: number;
|
|
4104
|
+
/**
|
|
4105
|
+
* @description Entities present in both the payload and the pre-reload head (re-asserted;
|
|
4106
|
+
* this is a presence intersection, not a deep property diff).
|
|
4107
|
+
*/
|
|
4108
|
+
entities_changed: number;
|
|
4109
|
+
/**
|
|
4110
|
+
* @description Entities present at the pre-reload head but absent from the payload — the
|
|
4111
|
+
* ones leaving current state.
|
|
4112
|
+
*/
|
|
4113
|
+
entities_removed: number;
|
|
4114
|
+
/**
|
|
4115
|
+
* @description Parse errors for malformed payload lines (bounded; `error_count` is the
|
|
4116
|
+
* true total). Mirrors bulk import.
|
|
4117
|
+
*/
|
|
4118
|
+
error_count: number;
|
|
4119
|
+
errors?: components["schemas"]["GraphImportLineError"][];
|
|
4120
|
+
/**
|
|
4121
|
+
* @description True when the target graph did not exist and this reload bootstrapped it
|
|
4122
|
+
* (the pre-reload baseline was empty).
|
|
4123
|
+
*/
|
|
4124
|
+
graph_created?: boolean;
|
|
4125
|
+
/**
|
|
4126
|
+
* @description The idempotency key that scopes this reload's single commit (the caller
|
|
4127
|
+
* key, or a server-minted one).
|
|
4128
|
+
*/
|
|
4129
|
+
idempotency_key: string;
|
|
4130
|
+
/**
|
|
4131
|
+
* @description True when this request id was already applied (idempotent replay): the
|
|
4132
|
+
* diff counts are reported as zero because nothing new was written.
|
|
4133
|
+
*/
|
|
4134
|
+
idempotent_replay?: boolean;
|
|
4135
|
+
lines_read: number;
|
|
4136
|
+
/**
|
|
4137
|
+
* @description Commit sequence after cutover (real), or the proposed next sequence (dry
|
|
4138
|
+
* run).
|
|
4139
|
+
*/
|
|
4140
|
+
new_commit_seq: components["schemas"]["CommitSeq"];
|
|
4141
|
+
/** @description Snapshot token after cutover (real), or the proposed token (dry run). */
|
|
4142
|
+
new_snapshot_token: string;
|
|
4143
|
+
/**
|
|
4144
|
+
* @description True when the desired state already matched the current state and no
|
|
4145
|
+
* commit was written (real mode only).
|
|
4146
|
+
*/
|
|
4147
|
+
no_op?: boolean;
|
|
4148
|
+
/**
|
|
4149
|
+
* @description Commit sequence of the pre-reload head — the diff baseline and the
|
|
4150
|
+
* rollback anchor.
|
|
4151
|
+
*/
|
|
4152
|
+
prior_commit_seq: components["schemas"]["CommitSeq"];
|
|
4153
|
+
/**
|
|
4154
|
+
* @description Snapshot token of the pre-reload head. Read it back with
|
|
4155
|
+
* `?as_of_commit_seq=<prior_commit_seq>` to see the old state — the rollback
|
|
4156
|
+
* hint.
|
|
4157
|
+
*/
|
|
4158
|
+
prior_snapshot_token: string;
|
|
4159
|
+
/**
|
|
4160
|
+
* @description A bounded sample of the entities leaving current state, as `type/name`
|
|
4161
|
+
* display identities (external keys are one-way-hashed and unrecoverable) —
|
|
4162
|
+
* a sanity aid for confirming the reload drops what you expect.
|
|
4163
|
+
*/
|
|
4164
|
+
removed_sample?: string[];
|
|
4165
|
+
};
|
|
3977
4166
|
/**
|
|
3978
4167
|
* @description Retract specific edges and/or every edge touching given entities. Graph facts
|
|
3979
4168
|
* are append-only; a retraction does not erase events but appends a retracting
|
|
@@ -4041,6 +4230,7 @@ export interface components {
|
|
|
4041
4230
|
observation_count: number;
|
|
4042
4231
|
/** Format: int64 */
|
|
4043
4232
|
ontology_version: number;
|
|
4233
|
+
relation_adjacency?: components["schemas"]["RelationAdjacencyCount"][];
|
|
4044
4234
|
relations: components["schemas"]["NamedCount"][];
|
|
4045
4235
|
snapshot: components["schemas"]["SnapshotView"];
|
|
4046
4236
|
};
|
|
@@ -4504,7 +4694,7 @@ export interface components {
|
|
|
4504
4694
|
* @description Service used to generate managed corpus and query embeddings.
|
|
4505
4695
|
* @enum {string}
|
|
4506
4696
|
*/
|
|
4507
|
-
ManagedEmbeddingService: "
|
|
4697
|
+
ManagedEmbeddingService: "open_router" | "modal";
|
|
4508
4698
|
/**
|
|
4509
4699
|
* @description Where a managed embedding model came from.
|
|
4510
4700
|
* @enum {string}
|
|
@@ -5652,6 +5842,18 @@ export interface components {
|
|
|
5652
5842
|
/** Format: double */
|
|
5653
5843
|
y1: number;
|
|
5654
5844
|
};
|
|
5845
|
+
/**
|
|
5846
|
+
* @description Exact current-edge count for one observed source-type / relation /
|
|
5847
|
+
* target-type combination. The graph summary already scans the reduced edge
|
|
5848
|
+
* set, so exposing this rollup lets schema visualizations avoid one additional
|
|
5849
|
+
* whole-snapshot query per populated relation.
|
|
5850
|
+
*/
|
|
5851
|
+
RelationAdjacencyCount: {
|
|
5852
|
+
count: number;
|
|
5853
|
+
relation: string;
|
|
5854
|
+
source_type: string;
|
|
5855
|
+
target_type: string;
|
|
5856
|
+
};
|
|
5655
5857
|
RelationSearchResult: {
|
|
5656
5858
|
name: string;
|
|
5657
5859
|
relation_id: components["schemas"]["RelationTypeId"];
|
|
@@ -5961,6 +6163,12 @@ export interface components {
|
|
|
5961
6163
|
messages?: string[];
|
|
5962
6164
|
result_count: number;
|
|
5963
6165
|
results?: components["schemas"]["SchemaAuditResult"][];
|
|
6166
|
+
/**
|
|
6167
|
+
* @description True when `result_count` is exact but `results` contains only the
|
|
6168
|
+
* caller-requested leading window. Whole-graph audits can produce one row
|
|
6169
|
+
* per offending focus node, so HTTP responses are bounded by default.
|
|
6170
|
+
*/
|
|
6171
|
+
truncated?: boolean;
|
|
5964
6172
|
};
|
|
5965
6173
|
SchemaAuditResult: {
|
|
5966
6174
|
component: string;
|
|
@@ -6141,7 +6349,19 @@ export interface components {
|
|
|
6141
6349
|
/** Format: float */
|
|
6142
6350
|
weighted_score: number;
|
|
6143
6351
|
};
|
|
6144
|
-
/**
|
|
6352
|
+
/**
|
|
6353
|
+
* @description Read consistency for a query surface (search, graph summary, SPARQL).
|
|
6354
|
+
*
|
|
6355
|
+
* A5 (2026-07-21 product decision): `Eventual` is the **default**. It serves the
|
|
6356
|
+
* last published index/dataset state at its watermark with no in-memory fold of
|
|
6357
|
+
* the un-indexed tail — the lowest-latency mode and the availability floor
|
|
6358
|
+
* during any indexing backlog. The served watermark rides back on
|
|
6359
|
+
* `SnapshotView::served_at_seq`. `Strong` (fold the un-indexed tail up to the
|
|
6360
|
+
* query head) is now explicit opt-in; the precise read-your-writes contract
|
|
6361
|
+
* (`min_indexed_seq`) replaces most former uses of strong. See
|
|
6362
|
+
* `docs/architecture/segment-native-indexing.md` §6.
|
|
6363
|
+
* @enum {string}
|
|
6364
|
+
*/
|
|
6145
6365
|
SearchConsistency: "strong" | "eventual";
|
|
6146
6366
|
SearchEngineOptions: {
|
|
6147
6367
|
bm25?: boolean;
|
|
@@ -6154,6 +6374,7 @@ export interface components {
|
|
|
6154
6374
|
graph_anchor?: null | components["schemas"]["GraphAnchor"];
|
|
6155
6375
|
lexical?: boolean;
|
|
6156
6376
|
max_clusters?: number | null;
|
|
6377
|
+
min_indexed_seq?: null | components["schemas"]["CommitSeq"];
|
|
6157
6378
|
probe_count?: number | null;
|
|
6158
6379
|
profile?: null | components["schemas"]["RetrievalProfileId"];
|
|
6159
6380
|
provider?: null | components["schemas"]["EmbeddingProviderConfig"];
|
|
@@ -6899,6 +7120,14 @@ export interface components {
|
|
|
6899
7120
|
trained_fusion_run?: number | null;
|
|
6900
7121
|
unindexed_tail_commits: number;
|
|
6901
7122
|
vector_candidates: number;
|
|
7123
|
+
/**
|
|
7124
|
+
* @description True when latest-head hybrid search requested the persisted vector/ANN
|
|
7125
|
+
* channel but no matching run existed, so the optional vector channel was
|
|
7126
|
+
* skipped instead of silently rebuilding an O(corpus) ephemeral ANN on the
|
|
7127
|
+
* request path. Explicit ephemeral and historical pinned searches retain
|
|
7128
|
+
* their existing behavior.
|
|
7129
|
+
*/
|
|
7130
|
+
vector_channel_skipped?: boolean;
|
|
6902
7131
|
/** @description As `bm25_degraded_to_ephemeral`, for the persisted vector/ANN index. */
|
|
6903
7132
|
vector_degraded_to_ephemeral?: boolean;
|
|
6904
7133
|
vector_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
|
|
@@ -7474,6 +7703,7 @@ export interface components {
|
|
|
7474
7703
|
* `GET /v1/graph/metadata` and on the entity read's metadata.
|
|
7475
7704
|
*/
|
|
7476
7705
|
compacted_seq: components["schemas"]["CommitSeq"];
|
|
7706
|
+
served_at_seq?: null | components["schemas"]["CommitSeq"];
|
|
7477
7707
|
/**
|
|
7478
7708
|
* @description F2 (roadmap 18.3): true when this snapshot was served from the in-memory
|
|
7479
7709
|
* cache while storage was degraded and the latest head could not be
|
|
@@ -7483,8 +7713,9 @@ export interface components {
|
|
|
7483
7713
|
*/
|
|
7484
7714
|
stale?: boolean;
|
|
7485
7715
|
/**
|
|
7486
|
-
* @description The reason a read is `stale
|
|
7487
|
-
*
|
|
7716
|
+
* @description The reason a read is `stale`. `"storage_degraded"` (F2) or
|
|
7717
|
+
* `"eventual_consistency"` (A3: served from the last published index/dataset
|
|
7718
|
+
* state at [`Self::served_at_seq`], not head); omitted when not stale.
|
|
7488
7719
|
*/
|
|
7489
7720
|
stale_reason?: string | null;
|
|
7490
7721
|
};
|
|
@@ -7661,6 +7892,7 @@ export interface components {
|
|
|
7661
7892
|
* Projection, DISTINCT, and limit/offset are ignored.
|
|
7662
7893
|
*/
|
|
7663
7894
|
ask?: boolean;
|
|
7895
|
+
consistency?: null | components["schemas"]["SearchConsistency"];
|
|
7664
7896
|
/** @description `SELECT DISTINCT`: drop duplicate projected rows. */
|
|
7665
7897
|
distinct?: boolean;
|
|
7666
7898
|
/**
|
|
@@ -7705,6 +7937,7 @@ export interface components {
|
|
|
7705
7937
|
* (see `AnalyticQueryRequest::max_solutions`).
|
|
7706
7938
|
*/
|
|
7707
7939
|
max_solutions?: number | null;
|
|
7940
|
+
min_indexed_seq?: null | components["schemas"]["CommitSeq"];
|
|
7708
7941
|
/** @description Skip this many rows before `limit`. */
|
|
7709
7942
|
offset?: number | null;
|
|
7710
7943
|
/**
|
|
@@ -7821,6 +8054,7 @@ export interface components {
|
|
|
7821
8054
|
/** @description SPARQL 1.1 Query Results JSON, serialized. */
|
|
7822
8055
|
results: string;
|
|
7823
8056
|
row_page: components["schemas"]["RowPage"];
|
|
8057
|
+
snapshot?: null | components["schemas"]["SnapshotView"];
|
|
7824
8058
|
};
|
|
7825
8059
|
/**
|
|
7826
8060
|
* @description A literal constant operand in a FILTER. Scalars compare by typed value;
|
|
@@ -12476,19 +12710,17 @@ export interface operations {
|
|
|
12476
12710
|
};
|
|
12477
12711
|
};
|
|
12478
12712
|
};
|
|
12479
|
-
|
|
12713
|
+
get_v1_graph_entities_sample: {
|
|
12480
12714
|
parameters: {
|
|
12481
12715
|
query?: {
|
|
12482
12716
|
/** @description Graph name (default `main`) */
|
|
12483
12717
|
graph?: string;
|
|
12484
12718
|
/** @description Branch name (default `main`) */
|
|
12485
12719
|
branch?: string;
|
|
12486
|
-
/** @description
|
|
12487
|
-
id?: string;
|
|
12488
|
-
/** @description Entity type for name-addressed lookup */
|
|
12720
|
+
/** @description Exact entity type */
|
|
12489
12721
|
type?: string;
|
|
12490
|
-
/** @description
|
|
12491
|
-
|
|
12722
|
+
/** @description Max sampled rows (up to 128) */
|
|
12723
|
+
limit?: string;
|
|
12492
12724
|
};
|
|
12493
12725
|
header?: {
|
|
12494
12726
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
@@ -12509,7 +12741,7 @@ export interface operations {
|
|
|
12509
12741
|
[name: string]: unknown;
|
|
12510
12742
|
};
|
|
12511
12743
|
content: {
|
|
12512
|
-
"application/json": components["schemas"]["
|
|
12744
|
+
"application/json": components["schemas"]["EntityTypeSampleResponse"];
|
|
12513
12745
|
};
|
|
12514
12746
|
};
|
|
12515
12747
|
/** @description Bad request */
|
|
@@ -12618,7 +12850,7 @@ export interface operations {
|
|
|
12618
12850
|
};
|
|
12619
12851
|
};
|
|
12620
12852
|
};
|
|
12621
|
-
|
|
12853
|
+
get_v1_graph_entity: {
|
|
12622
12854
|
parameters: {
|
|
12623
12855
|
query?: {
|
|
12624
12856
|
/** @description Graph name (default `main`) */
|
|
@@ -12631,8 +12863,6 @@ export interface operations {
|
|
|
12631
12863
|
type?: string;
|
|
12632
12864
|
/** @description Entity canonical name for name-addressed lookup */
|
|
12633
12865
|
name?: string;
|
|
12634
|
-
/** @description RFC3339 as-of timestamp */
|
|
12635
|
-
as_of?: string;
|
|
12636
12866
|
};
|
|
12637
12867
|
header?: {
|
|
12638
12868
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
@@ -12653,7 +12883,7 @@ export interface operations {
|
|
|
12653
12883
|
[name: string]: unknown;
|
|
12654
12884
|
};
|
|
12655
12885
|
content: {
|
|
12656
|
-
"application/json": components["schemas"]["
|
|
12886
|
+
"application/json": components["schemas"]["EntityDetailResponse"];
|
|
12657
12887
|
};
|
|
12658
12888
|
};
|
|
12659
12889
|
/** @description Bad request */
|
|
@@ -12762,7 +12992,7 @@ export interface operations {
|
|
|
12762
12992
|
};
|
|
12763
12993
|
};
|
|
12764
12994
|
};
|
|
12765
|
-
|
|
12995
|
+
get_v1_graph_entity_metadata: {
|
|
12766
12996
|
parameters: {
|
|
12767
12997
|
query?: {
|
|
12768
12998
|
/** @description Graph name (default `main`) */
|
|
@@ -12775,8 +13005,6 @@ export interface operations {
|
|
|
12775
13005
|
type?: string;
|
|
12776
13006
|
/** @description Entity canonical name for name-addressed lookup */
|
|
12777
13007
|
name?: string;
|
|
12778
|
-
/** @description Comma-separated relation filter */
|
|
12779
|
-
relations?: string;
|
|
12780
13008
|
/** @description RFC3339 as-of timestamp */
|
|
12781
13009
|
as_of?: string;
|
|
12782
13010
|
};
|
|
@@ -12799,7 +13027,7 @@ export interface operations {
|
|
|
12799
13027
|
[name: string]: unknown;
|
|
12800
13028
|
};
|
|
12801
13029
|
content: {
|
|
12802
|
-
"application/json": components["schemas"]["
|
|
13030
|
+
"application/json": components["schemas"]["EntityMetadataResponse"];
|
|
12803
13031
|
};
|
|
12804
13032
|
};
|
|
12805
13033
|
/** @description Bad request */
|
|
@@ -12908,19 +13136,25 @@ export interface operations {
|
|
|
12908
13136
|
};
|
|
12909
13137
|
};
|
|
12910
13138
|
};
|
|
12911
|
-
|
|
13139
|
+
get_v1_graph_entity_neighborhood: {
|
|
12912
13140
|
parameters: {
|
|
12913
13141
|
query?: {
|
|
12914
13142
|
/** @description Graph name (default `main`) */
|
|
12915
13143
|
graph?: string;
|
|
12916
13144
|
/** @description Branch name (default `main`) */
|
|
12917
13145
|
branch?: string;
|
|
12918
|
-
/** @description
|
|
12919
|
-
|
|
12920
|
-
/** @description
|
|
12921
|
-
|
|
12922
|
-
/** @description
|
|
12923
|
-
|
|
13146
|
+
/** @description Entity id */
|
|
13147
|
+
id?: string;
|
|
13148
|
+
/** @description Entity type for name-addressed lookup */
|
|
13149
|
+
type?: string;
|
|
13150
|
+
/** @description Entity canonical name for name-addressed lookup */
|
|
13151
|
+
name?: string;
|
|
13152
|
+
/** @description Comma-separated relation filter */
|
|
13153
|
+
relations?: string;
|
|
13154
|
+
/** @description RFC3339 as-of timestamp */
|
|
13155
|
+
as_of?: string;
|
|
13156
|
+
/** @description When true, require ranged adjacency and never fall back to a whole-snapshot scan */
|
|
13157
|
+
indexed?: string;
|
|
12924
13158
|
};
|
|
12925
13159
|
header?: {
|
|
12926
13160
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
@@ -12941,7 +13175,7 @@ export interface operations {
|
|
|
12941
13175
|
[name: string]: unknown;
|
|
12942
13176
|
};
|
|
12943
13177
|
content: {
|
|
12944
|
-
"application/json":
|
|
13178
|
+
"application/json": components["schemas"]["EntityNeighborhoodResponse"];
|
|
12945
13179
|
};
|
|
12946
13180
|
};
|
|
12947
13181
|
/** @description Bad request */
|
|
@@ -13050,15 +13284,19 @@ export interface operations {
|
|
|
13050
13284
|
};
|
|
13051
13285
|
};
|
|
13052
13286
|
};
|
|
13053
|
-
|
|
13287
|
+
get_v1_graph_export: {
|
|
13054
13288
|
parameters: {
|
|
13055
13289
|
query?: {
|
|
13056
13290
|
/** @description Graph name (default `main`) */
|
|
13057
13291
|
graph?: string;
|
|
13058
13292
|
/** @description Branch name (default `main`) */
|
|
13059
13293
|
branch?: string;
|
|
13060
|
-
/** @description
|
|
13061
|
-
|
|
13294
|
+
/** @description Records (entity+edge lines) per page (default 1000, clamped 1-50000) */
|
|
13295
|
+
limit?: string;
|
|
13296
|
+
/** @description Opaque page cursor from a prior page's meta.next_cursor; pins the snapshot across pages */
|
|
13297
|
+
cursor?: string;
|
|
13298
|
+
/** @description Pin the export to a past snapshot commit_seq (first page only) */
|
|
13299
|
+
as_of_commit_seq?: string;
|
|
13062
13300
|
};
|
|
13063
13301
|
header?: {
|
|
13064
13302
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
@@ -13188,21 +13426,19 @@ export interface operations {
|
|
|
13188
13426
|
};
|
|
13189
13427
|
};
|
|
13190
13428
|
};
|
|
13191
|
-
|
|
13429
|
+
get_v1_graph_export_job: {
|
|
13192
13430
|
parameters: {
|
|
13193
13431
|
query?: {
|
|
13194
13432
|
/** @description Graph name (default `main`) */
|
|
13195
13433
|
graph?: string;
|
|
13196
13434
|
/** @description Branch name (default `main`) */
|
|
13197
13435
|
branch?: string;
|
|
13198
|
-
/** @description
|
|
13199
|
-
|
|
13436
|
+
/** @description The export job id returned by the enqueue call */
|
|
13437
|
+
job_id?: string;
|
|
13200
13438
|
};
|
|
13201
13439
|
header?: {
|
|
13202
13440
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
13203
13441
|
"Lbb-Version"?: string;
|
|
13204
|
-
/** @description Stable client-generated key for safely retrying mutations and supervision writes. */
|
|
13205
|
-
"Idempotency-Key"?: string;
|
|
13206
13442
|
};
|
|
13207
13443
|
path?: never;
|
|
13208
13444
|
cookie?: never;
|
|
@@ -13328,38 +13564,28 @@ export interface operations {
|
|
|
13328
13564
|
};
|
|
13329
13565
|
};
|
|
13330
13566
|
};
|
|
13331
|
-
|
|
13567
|
+
post_v1_graph_export_job: {
|
|
13332
13568
|
parameters: {
|
|
13333
13569
|
query?: {
|
|
13334
13570
|
/** @description Graph name (default `main`) */
|
|
13335
13571
|
graph?: string;
|
|
13336
13572
|
/** @description Branch name (default `main`) */
|
|
13337
13573
|
branch?: string;
|
|
13338
|
-
/** @description
|
|
13339
|
-
format?: string;
|
|
13340
|
-
/** @description Output ceiling; rejects the full export, or bounds the JSON preview when truncate=true */
|
|
13341
|
-
max_triples?: string;
|
|
13342
|
-
/** @description Return a deterministic bounded JSON preview instead of rejecting when the graph is larger than max_triples */
|
|
13343
|
-
truncate?: string;
|
|
13344
|
-
/** @description RFC3339 valid-time snapshot pin */
|
|
13345
|
-
as_of_valid_time?: string;
|
|
13346
|
-
/** @description Commit-sequence snapshot pin */
|
|
13574
|
+
/** @description Pin the export to a past snapshot commit_seq */
|
|
13347
13575
|
as_of_commit_seq?: string;
|
|
13348
|
-
/** @description subclass (default) or none */
|
|
13349
|
-
entailment?: string;
|
|
13350
|
-
/** @description Include stored rule-derived facts when true */
|
|
13351
|
-
reason?: string;
|
|
13352
13576
|
};
|
|
13353
13577
|
header?: {
|
|
13354
13578
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
13355
13579
|
"Lbb-Version"?: string;
|
|
13580
|
+
/** @description Stable client-generated key for safely retrying mutations and supervision writes. */
|
|
13581
|
+
"Idempotency-Key"?: string;
|
|
13356
13582
|
};
|
|
13357
13583
|
path?: never;
|
|
13358
13584
|
cookie?: never;
|
|
13359
13585
|
};
|
|
13360
13586
|
requestBody?: never;
|
|
13361
13587
|
responses: {
|
|
13362
|
-
/** @description
|
|
13588
|
+
/** @description OK */
|
|
13363
13589
|
200: {
|
|
13364
13590
|
headers: {
|
|
13365
13591
|
/** @description API contract version used for the response */
|
|
@@ -13369,11 +13595,7 @@ export interface operations {
|
|
|
13369
13595
|
[name: string]: unknown;
|
|
13370
13596
|
};
|
|
13371
13597
|
content: {
|
|
13372
|
-
"application/json":
|
|
13373
|
-
"application/n-quads": string;
|
|
13374
|
-
"application/n-triples": string;
|
|
13375
|
-
"application/trig": string;
|
|
13376
|
-
"text/turtle": string;
|
|
13598
|
+
"application/json": Record<string, never>;
|
|
13377
13599
|
};
|
|
13378
13600
|
};
|
|
13379
13601
|
/** @description Bad request */
|
|
@@ -13482,15 +13704,27 @@ export interface operations {
|
|
|
13482
13704
|
};
|
|
13483
13705
|
};
|
|
13484
13706
|
};
|
|
13485
|
-
|
|
13707
|
+
get_v1_graph_export_rdf: {
|
|
13486
13708
|
parameters: {
|
|
13487
13709
|
query?: {
|
|
13488
13710
|
/** @description Graph name (default `main`) */
|
|
13489
13711
|
graph?: string;
|
|
13490
13712
|
/** @description Branch name (default `main`) */
|
|
13491
13713
|
branch?: string;
|
|
13492
|
-
/** @description
|
|
13493
|
-
|
|
13714
|
+
/** @description RDF format: turtle (default), nt/ntriples, trig, or nq/nquads */
|
|
13715
|
+
format?: string;
|
|
13716
|
+
/** @description Output ceiling; rejects the full export, or bounds the JSON preview when truncate=true */
|
|
13717
|
+
max_triples?: string;
|
|
13718
|
+
/** @description Return a deterministic bounded JSON preview instead of rejecting when the graph is larger than max_triples */
|
|
13719
|
+
truncate?: string;
|
|
13720
|
+
/** @description RFC3339 valid-time snapshot pin */
|
|
13721
|
+
as_of_valid_time?: string;
|
|
13722
|
+
/** @description Commit-sequence snapshot pin */
|
|
13723
|
+
as_of_commit_seq?: string;
|
|
13724
|
+
/** @description subclass (default) or none */
|
|
13725
|
+
entailment?: string;
|
|
13726
|
+
/** @description Include stored rule-derived facts when true */
|
|
13727
|
+
reason?: string;
|
|
13494
13728
|
};
|
|
13495
13729
|
header?: {
|
|
13496
13730
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
@@ -13501,7 +13735,7 @@ export interface operations {
|
|
|
13501
13735
|
};
|
|
13502
13736
|
requestBody?: never;
|
|
13503
13737
|
responses: {
|
|
13504
|
-
/** @description
|
|
13738
|
+
/** @description RDF graph */
|
|
13505
13739
|
200: {
|
|
13506
13740
|
headers: {
|
|
13507
13741
|
/** @description API contract version used for the response */
|
|
@@ -13511,7 +13745,11 @@ export interface operations {
|
|
|
13511
13745
|
[name: string]: unknown;
|
|
13512
13746
|
};
|
|
13513
13747
|
content: {
|
|
13514
|
-
"application/json": components["schemas"]["
|
|
13748
|
+
"application/json": components["schemas"]["RdfExportPreviewResponse"];
|
|
13749
|
+
"application/n-quads": string;
|
|
13750
|
+
"application/n-triples": string;
|
|
13751
|
+
"application/trig": string;
|
|
13752
|
+
"text/turtle": string;
|
|
13515
13753
|
};
|
|
13516
13754
|
};
|
|
13517
13755
|
/** @description Bad request */
|
|
@@ -13620,19 +13858,19 @@ export interface operations {
|
|
|
13620
13858
|
};
|
|
13621
13859
|
};
|
|
13622
13860
|
};
|
|
13623
|
-
|
|
13861
|
+
post_v1_graph_fork: {
|
|
13624
13862
|
parameters: {
|
|
13625
13863
|
query?: {
|
|
13626
13864
|
/** @description Graph name (default `main`) */
|
|
13627
13865
|
graph?: string;
|
|
13628
13866
|
/** @description Branch name (default `main`) */
|
|
13629
13867
|
branch?: string;
|
|
13630
|
-
/** @description
|
|
13631
|
-
|
|
13632
|
-
/** @description
|
|
13633
|
-
|
|
13634
|
-
/** @description
|
|
13635
|
-
|
|
13868
|
+
/** @description Source graph id to fork from */
|
|
13869
|
+
src?: string;
|
|
13870
|
+
/** @description Destination graph id to create (must not exist) */
|
|
13871
|
+
dst?: string;
|
|
13872
|
+
/** @description Must equal the destination graph id to authorize the fork */
|
|
13873
|
+
confirm?: string;
|
|
13636
13874
|
};
|
|
13637
13875
|
header?: {
|
|
13638
13876
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
@@ -13655,7 +13893,7 @@ export interface operations {
|
|
|
13655
13893
|
[name: string]: unknown;
|
|
13656
13894
|
};
|
|
13657
13895
|
content: {
|
|
13658
|
-
"application/json": components["schemas"]["
|
|
13896
|
+
"application/json": components["schemas"]["GraphForkResponse"];
|
|
13659
13897
|
};
|
|
13660
13898
|
};
|
|
13661
13899
|
/** @description Bad request */
|
|
@@ -13764,32 +14002,314 @@ export interface operations {
|
|
|
13764
14002
|
};
|
|
13765
14003
|
};
|
|
13766
14004
|
};
|
|
13767
|
-
|
|
14005
|
+
get_v1_graph_groundability: {
|
|
13768
14006
|
parameters: {
|
|
13769
14007
|
query?: {
|
|
13770
14008
|
/** @description Graph name (default `main`) */
|
|
13771
14009
|
graph?: string;
|
|
13772
14010
|
/** @description Branch name (default `main`) */
|
|
13773
14011
|
branch?: string;
|
|
13774
|
-
/** @description
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
13778
|
-
/** @description
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
|
|
13790
|
-
|
|
13791
|
-
|
|
13792
|
-
|
|
14012
|
+
/** @description Entities to sample for name/recall probes (default 50, max 200) */
|
|
14013
|
+
sample?: string;
|
|
14014
|
+
};
|
|
14015
|
+
header?: {
|
|
14016
|
+
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
14017
|
+
"Lbb-Version"?: string;
|
|
14018
|
+
};
|
|
14019
|
+
path?: never;
|
|
14020
|
+
cookie?: never;
|
|
14021
|
+
};
|
|
14022
|
+
requestBody?: never;
|
|
14023
|
+
responses: {
|
|
14024
|
+
/** @description OK */
|
|
14025
|
+
200: {
|
|
14026
|
+
headers: {
|
|
14027
|
+
/** @description API contract version used for the response */
|
|
14028
|
+
"Lbb-Version"?: string;
|
|
14029
|
+
/** @description Request correlation id */
|
|
14030
|
+
"X-Request-Id"?: string;
|
|
14031
|
+
[name: string]: unknown;
|
|
14032
|
+
};
|
|
14033
|
+
content: {
|
|
14034
|
+
"application/json": components["schemas"]["GroundabilityReport"];
|
|
14035
|
+
};
|
|
14036
|
+
};
|
|
14037
|
+
/** @description Bad request */
|
|
14038
|
+
400: {
|
|
14039
|
+
headers: {
|
|
14040
|
+
/** @description API contract version used for the response */
|
|
14041
|
+
"Lbb-Version"?: string;
|
|
14042
|
+
/** @description Request correlation id */
|
|
14043
|
+
"X-Request-Id"?: string;
|
|
14044
|
+
[name: string]: unknown;
|
|
14045
|
+
};
|
|
14046
|
+
content: {
|
|
14047
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14048
|
+
};
|
|
14049
|
+
};
|
|
14050
|
+
/** @description Unauthorized */
|
|
14051
|
+
401: {
|
|
14052
|
+
headers: {
|
|
14053
|
+
/** @description API contract version used for the response */
|
|
14054
|
+
"Lbb-Version"?: string;
|
|
14055
|
+
/** @description Request correlation id */
|
|
14056
|
+
"X-Request-Id"?: string;
|
|
14057
|
+
[name: string]: unknown;
|
|
14058
|
+
};
|
|
14059
|
+
content: {
|
|
14060
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14061
|
+
};
|
|
14062
|
+
};
|
|
14063
|
+
/** @description Forbidden */
|
|
14064
|
+
403: {
|
|
14065
|
+
headers: {
|
|
14066
|
+
/** @description API contract version used for the response */
|
|
14067
|
+
"Lbb-Version"?: string;
|
|
14068
|
+
/** @description Request correlation id */
|
|
14069
|
+
"X-Request-Id"?: string;
|
|
14070
|
+
[name: string]: unknown;
|
|
14071
|
+
};
|
|
14072
|
+
content: {
|
|
14073
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14074
|
+
};
|
|
14075
|
+
};
|
|
14076
|
+
/** @description Not found */
|
|
14077
|
+
404: {
|
|
14078
|
+
headers: {
|
|
14079
|
+
/** @description API contract version used for the response */
|
|
14080
|
+
"Lbb-Version"?: string;
|
|
14081
|
+
/** @description Request correlation id */
|
|
14082
|
+
"X-Request-Id"?: string;
|
|
14083
|
+
[name: string]: unknown;
|
|
14084
|
+
};
|
|
14085
|
+
content: {
|
|
14086
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14087
|
+
};
|
|
14088
|
+
};
|
|
14089
|
+
/** @description Conflict */
|
|
14090
|
+
409: {
|
|
14091
|
+
headers: {
|
|
14092
|
+
/** @description API contract version used for the response */
|
|
14093
|
+
"Lbb-Version"?: string;
|
|
14094
|
+
/** @description Request correlation id */
|
|
14095
|
+
"X-Request-Id"?: string;
|
|
14096
|
+
[name: string]: unknown;
|
|
14097
|
+
};
|
|
14098
|
+
content: {
|
|
14099
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14100
|
+
};
|
|
14101
|
+
};
|
|
14102
|
+
/** @description Rate limit exceeded */
|
|
14103
|
+
429: {
|
|
14104
|
+
headers: {
|
|
14105
|
+
/** @description API contract version used for the response */
|
|
14106
|
+
"Lbb-Version"?: string;
|
|
14107
|
+
/** @description Request correlation id */
|
|
14108
|
+
"X-Request-Id"?: string;
|
|
14109
|
+
[name: string]: unknown;
|
|
14110
|
+
};
|
|
14111
|
+
content: {
|
|
14112
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14113
|
+
};
|
|
14114
|
+
};
|
|
14115
|
+
/** @description Internal server error */
|
|
14116
|
+
500: {
|
|
14117
|
+
headers: {
|
|
14118
|
+
/** @description API contract version used for the response */
|
|
14119
|
+
"Lbb-Version"?: string;
|
|
14120
|
+
/** @description Request correlation id */
|
|
14121
|
+
"X-Request-Id"?: string;
|
|
14122
|
+
[name: string]: unknown;
|
|
14123
|
+
};
|
|
14124
|
+
content: {
|
|
14125
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14126
|
+
};
|
|
14127
|
+
};
|
|
14128
|
+
/** @description Service unavailable */
|
|
14129
|
+
503: {
|
|
14130
|
+
headers: {
|
|
14131
|
+
/** @description API contract version used for the response */
|
|
14132
|
+
"Lbb-Version"?: string;
|
|
14133
|
+
/** @description Request correlation id */
|
|
14134
|
+
"X-Request-Id"?: string;
|
|
14135
|
+
[name: string]: unknown;
|
|
14136
|
+
};
|
|
14137
|
+
content: {
|
|
14138
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14139
|
+
};
|
|
14140
|
+
};
|
|
14141
|
+
};
|
|
14142
|
+
};
|
|
14143
|
+
post_v1_graph_import: {
|
|
14144
|
+
parameters: {
|
|
14145
|
+
query?: {
|
|
14146
|
+
/** @description Graph name (default `main`) */
|
|
14147
|
+
graph?: string;
|
|
14148
|
+
/** @description Branch name (default `main`) */
|
|
14149
|
+
branch?: string;
|
|
14150
|
+
/** @description Records per internal commit (default 1000, clamped 1-10000) */
|
|
14151
|
+
batch?: string;
|
|
14152
|
+
/** @description Abort on the first malformed line instead of skipping it */
|
|
14153
|
+
strict?: string;
|
|
14154
|
+
/** @description RFC3339 backfill instant stamped on every batch */
|
|
14155
|
+
observed_at?: string;
|
|
14156
|
+
};
|
|
14157
|
+
header?: {
|
|
14158
|
+
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
14159
|
+
"Lbb-Version"?: string;
|
|
14160
|
+
/** @description Stable client-generated key for safely retrying mutations and supervision writes. */
|
|
14161
|
+
"Idempotency-Key"?: string;
|
|
14162
|
+
};
|
|
14163
|
+
path?: never;
|
|
14164
|
+
cookie?: never;
|
|
14165
|
+
};
|
|
14166
|
+
requestBody?: never;
|
|
14167
|
+
responses: {
|
|
14168
|
+
/** @description OK */
|
|
14169
|
+
200: {
|
|
14170
|
+
headers: {
|
|
14171
|
+
/** @description API contract version used for the response */
|
|
14172
|
+
"Lbb-Version"?: string;
|
|
14173
|
+
/** @description Request correlation id */
|
|
14174
|
+
"X-Request-Id"?: string;
|
|
14175
|
+
[name: string]: unknown;
|
|
14176
|
+
};
|
|
14177
|
+
content: {
|
|
14178
|
+
"application/json": components["schemas"]["GraphImportResponse"];
|
|
14179
|
+
};
|
|
14180
|
+
};
|
|
14181
|
+
/** @description Bad request */
|
|
14182
|
+
400: {
|
|
14183
|
+
headers: {
|
|
14184
|
+
/** @description API contract version used for the response */
|
|
14185
|
+
"Lbb-Version"?: string;
|
|
14186
|
+
/** @description Request correlation id */
|
|
14187
|
+
"X-Request-Id"?: string;
|
|
14188
|
+
[name: string]: unknown;
|
|
14189
|
+
};
|
|
14190
|
+
content: {
|
|
14191
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14192
|
+
};
|
|
14193
|
+
};
|
|
14194
|
+
/** @description Unauthorized */
|
|
14195
|
+
401: {
|
|
14196
|
+
headers: {
|
|
14197
|
+
/** @description API contract version used for the response */
|
|
14198
|
+
"Lbb-Version"?: string;
|
|
14199
|
+
/** @description Request correlation id */
|
|
14200
|
+
"X-Request-Id"?: string;
|
|
14201
|
+
[name: string]: unknown;
|
|
14202
|
+
};
|
|
14203
|
+
content: {
|
|
14204
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14205
|
+
};
|
|
14206
|
+
};
|
|
14207
|
+
/** @description Forbidden */
|
|
14208
|
+
403: {
|
|
14209
|
+
headers: {
|
|
14210
|
+
/** @description API contract version used for the response */
|
|
14211
|
+
"Lbb-Version"?: string;
|
|
14212
|
+
/** @description Request correlation id */
|
|
14213
|
+
"X-Request-Id"?: string;
|
|
14214
|
+
[name: string]: unknown;
|
|
14215
|
+
};
|
|
14216
|
+
content: {
|
|
14217
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14218
|
+
};
|
|
14219
|
+
};
|
|
14220
|
+
/** @description Not found */
|
|
14221
|
+
404: {
|
|
14222
|
+
headers: {
|
|
14223
|
+
/** @description API contract version used for the response */
|
|
14224
|
+
"Lbb-Version"?: string;
|
|
14225
|
+
/** @description Request correlation id */
|
|
14226
|
+
"X-Request-Id"?: string;
|
|
14227
|
+
[name: string]: unknown;
|
|
14228
|
+
};
|
|
14229
|
+
content: {
|
|
14230
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14231
|
+
};
|
|
14232
|
+
};
|
|
14233
|
+
/** @description Conflict */
|
|
14234
|
+
409: {
|
|
14235
|
+
headers: {
|
|
14236
|
+
/** @description API contract version used for the response */
|
|
14237
|
+
"Lbb-Version"?: string;
|
|
14238
|
+
/** @description Request correlation id */
|
|
14239
|
+
"X-Request-Id"?: string;
|
|
14240
|
+
[name: string]: unknown;
|
|
14241
|
+
};
|
|
14242
|
+
content: {
|
|
14243
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14244
|
+
};
|
|
14245
|
+
};
|
|
14246
|
+
/** @description Rate limit exceeded */
|
|
14247
|
+
429: {
|
|
14248
|
+
headers: {
|
|
14249
|
+
/** @description API contract version used for the response */
|
|
14250
|
+
"Lbb-Version"?: string;
|
|
14251
|
+
/** @description Request correlation id */
|
|
14252
|
+
"X-Request-Id"?: string;
|
|
14253
|
+
[name: string]: unknown;
|
|
14254
|
+
};
|
|
14255
|
+
content: {
|
|
14256
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14257
|
+
};
|
|
14258
|
+
};
|
|
14259
|
+
/** @description Internal server error */
|
|
14260
|
+
500: {
|
|
14261
|
+
headers: {
|
|
14262
|
+
/** @description API contract version used for the response */
|
|
14263
|
+
"Lbb-Version"?: string;
|
|
14264
|
+
/** @description Request correlation id */
|
|
14265
|
+
"X-Request-Id"?: string;
|
|
14266
|
+
[name: string]: unknown;
|
|
14267
|
+
};
|
|
14268
|
+
content: {
|
|
14269
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14270
|
+
};
|
|
14271
|
+
};
|
|
14272
|
+
/** @description Service unavailable */
|
|
14273
|
+
503: {
|
|
14274
|
+
headers: {
|
|
14275
|
+
/** @description API contract version used for the response */
|
|
14276
|
+
"Lbb-Version"?: string;
|
|
14277
|
+
/** @description Request correlation id */
|
|
14278
|
+
"X-Request-Id"?: string;
|
|
14279
|
+
[name: string]: unknown;
|
|
14280
|
+
};
|
|
14281
|
+
content: {
|
|
14282
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14283
|
+
};
|
|
14284
|
+
};
|
|
14285
|
+
};
|
|
14286
|
+
};
|
|
14287
|
+
post_v1_graph_import_rdf: {
|
|
14288
|
+
parameters: {
|
|
14289
|
+
query?: {
|
|
14290
|
+
/** @description Graph name (default `main`) */
|
|
14291
|
+
graph?: string;
|
|
14292
|
+
/** @description Branch name (default `main`) */
|
|
14293
|
+
branch?: string;
|
|
14294
|
+
/** @description RDF statements per internal commit (default 1000, clamped 1-1000000) */
|
|
14295
|
+
batch?: string;
|
|
14296
|
+
/** @description Abort on the first malformed RDF parse error instead of reporting it */
|
|
14297
|
+
strict?: string;
|
|
14298
|
+
/** @description RFC3339 backfill instant stamped on every batch */
|
|
14299
|
+
observed_at?: string;
|
|
14300
|
+
/** @description Edge duplicate handling: skip_unchanged (default) or append for fresh high-throughput loads */
|
|
14301
|
+
edge_idempotency?: string;
|
|
14302
|
+
/** @description RDF format: ntriples (default), turtle, nquads, or trig */
|
|
14303
|
+
format?: string;
|
|
14304
|
+
/** @description Optional base IRI for resolving relative IRIs in Turtle or TriG */
|
|
14305
|
+
base_iri?: string;
|
|
14306
|
+
/** @description Optional named-graph IRI for N-Triples or Turtle input */
|
|
14307
|
+
graph_uri?: string;
|
|
14308
|
+
/** @description Optional stable document scope for blank-node labels across chunks; omit to preserve labels exactly across retries and chunk boundaries */
|
|
14309
|
+
blank_node_scope?: string;
|
|
14310
|
+
/** @description Entity type name for imported RDF resources (default Resource) */
|
|
14311
|
+
resource_type?: string;
|
|
14312
|
+
};
|
|
13793
14313
|
header?: {
|
|
13794
14314
|
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
13795
14315
|
"Lbb-Version"?: string;
|
|
@@ -14340,6 +14860,152 @@ export interface operations {
|
|
|
14340
14860
|
};
|
|
14341
14861
|
};
|
|
14342
14862
|
};
|
|
14863
|
+
post_v1_graph_reload: {
|
|
14864
|
+
parameters: {
|
|
14865
|
+
query?: {
|
|
14866
|
+
/** @description Graph name (default `main`) */
|
|
14867
|
+
graph?: string;
|
|
14868
|
+
/** @description Branch name (default `main`) */
|
|
14869
|
+
branch?: string;
|
|
14870
|
+
/** @description Must equal the target graph id (reload is semi-destructive) */
|
|
14871
|
+
confirm?: string;
|
|
14872
|
+
/** @description true = preview the delta; nothing durable changes */
|
|
14873
|
+
dry_run?: string;
|
|
14874
|
+
/** @description true = malformed payload lines fail the reload instead of being skipped and reported */
|
|
14875
|
+
strict?: string;
|
|
14876
|
+
/** @description Optional RFC3339 observation timestamp applied to the reload's writes */
|
|
14877
|
+
observed_at?: string;
|
|
14878
|
+
};
|
|
14879
|
+
header?: {
|
|
14880
|
+
/** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
|
|
14881
|
+
"Lbb-Version"?: string;
|
|
14882
|
+
/** @description Stable client-generated key for safely retrying mutations and supervision writes. */
|
|
14883
|
+
"Idempotency-Key"?: string;
|
|
14884
|
+
};
|
|
14885
|
+
path?: never;
|
|
14886
|
+
cookie?: never;
|
|
14887
|
+
};
|
|
14888
|
+
requestBody?: never;
|
|
14889
|
+
responses: {
|
|
14890
|
+
/** @description OK */
|
|
14891
|
+
200: {
|
|
14892
|
+
headers: {
|
|
14893
|
+
/** @description API contract version used for the response */
|
|
14894
|
+
"Lbb-Version"?: string;
|
|
14895
|
+
/** @description Request correlation id */
|
|
14896
|
+
"X-Request-Id"?: string;
|
|
14897
|
+
[name: string]: unknown;
|
|
14898
|
+
};
|
|
14899
|
+
content: {
|
|
14900
|
+
"application/json": components["schemas"]["GraphReloadResponse"];
|
|
14901
|
+
};
|
|
14902
|
+
};
|
|
14903
|
+
/** @description Bad request */
|
|
14904
|
+
400: {
|
|
14905
|
+
headers: {
|
|
14906
|
+
/** @description API contract version used for the response */
|
|
14907
|
+
"Lbb-Version"?: string;
|
|
14908
|
+
/** @description Request correlation id */
|
|
14909
|
+
"X-Request-Id"?: string;
|
|
14910
|
+
[name: string]: unknown;
|
|
14911
|
+
};
|
|
14912
|
+
content: {
|
|
14913
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14914
|
+
};
|
|
14915
|
+
};
|
|
14916
|
+
/** @description Unauthorized */
|
|
14917
|
+
401: {
|
|
14918
|
+
headers: {
|
|
14919
|
+
/** @description API contract version used for the response */
|
|
14920
|
+
"Lbb-Version"?: string;
|
|
14921
|
+
/** @description Request correlation id */
|
|
14922
|
+
"X-Request-Id"?: string;
|
|
14923
|
+
[name: string]: unknown;
|
|
14924
|
+
};
|
|
14925
|
+
content: {
|
|
14926
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14927
|
+
};
|
|
14928
|
+
};
|
|
14929
|
+
/** @description Forbidden */
|
|
14930
|
+
403: {
|
|
14931
|
+
headers: {
|
|
14932
|
+
/** @description API contract version used for the response */
|
|
14933
|
+
"Lbb-Version"?: string;
|
|
14934
|
+
/** @description Request correlation id */
|
|
14935
|
+
"X-Request-Id"?: string;
|
|
14936
|
+
[name: string]: unknown;
|
|
14937
|
+
};
|
|
14938
|
+
content: {
|
|
14939
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14940
|
+
};
|
|
14941
|
+
};
|
|
14942
|
+
/** @description Not found */
|
|
14943
|
+
404: {
|
|
14944
|
+
headers: {
|
|
14945
|
+
/** @description API contract version used for the response */
|
|
14946
|
+
"Lbb-Version"?: string;
|
|
14947
|
+
/** @description Request correlation id */
|
|
14948
|
+
"X-Request-Id"?: string;
|
|
14949
|
+
[name: string]: unknown;
|
|
14950
|
+
};
|
|
14951
|
+
content: {
|
|
14952
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14953
|
+
};
|
|
14954
|
+
};
|
|
14955
|
+
/** @description Conflict */
|
|
14956
|
+
409: {
|
|
14957
|
+
headers: {
|
|
14958
|
+
/** @description API contract version used for the response */
|
|
14959
|
+
"Lbb-Version"?: string;
|
|
14960
|
+
/** @description Request correlation id */
|
|
14961
|
+
"X-Request-Id"?: string;
|
|
14962
|
+
[name: string]: unknown;
|
|
14963
|
+
};
|
|
14964
|
+
content: {
|
|
14965
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14966
|
+
};
|
|
14967
|
+
};
|
|
14968
|
+
/** @description Rate limit exceeded */
|
|
14969
|
+
429: {
|
|
14970
|
+
headers: {
|
|
14971
|
+
/** @description API contract version used for the response */
|
|
14972
|
+
"Lbb-Version"?: string;
|
|
14973
|
+
/** @description Request correlation id */
|
|
14974
|
+
"X-Request-Id"?: string;
|
|
14975
|
+
[name: string]: unknown;
|
|
14976
|
+
};
|
|
14977
|
+
content: {
|
|
14978
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14979
|
+
};
|
|
14980
|
+
};
|
|
14981
|
+
/** @description Internal server error */
|
|
14982
|
+
500: {
|
|
14983
|
+
headers: {
|
|
14984
|
+
/** @description API contract version used for the response */
|
|
14985
|
+
"Lbb-Version"?: string;
|
|
14986
|
+
/** @description Request correlation id */
|
|
14987
|
+
"X-Request-Id"?: string;
|
|
14988
|
+
[name: string]: unknown;
|
|
14989
|
+
};
|
|
14990
|
+
content: {
|
|
14991
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
14992
|
+
};
|
|
14993
|
+
};
|
|
14994
|
+
/** @description Service unavailable */
|
|
14995
|
+
503: {
|
|
14996
|
+
headers: {
|
|
14997
|
+
/** @description API contract version used for the response */
|
|
14998
|
+
"Lbb-Version"?: string;
|
|
14999
|
+
/** @description Request correlation id */
|
|
15000
|
+
"X-Request-Id"?: string;
|
|
15001
|
+
[name: string]: unknown;
|
|
15002
|
+
};
|
|
15003
|
+
content: {
|
|
15004
|
+
"application/json": components["schemas"]["LbbErrorEnvelope"];
|
|
15005
|
+
};
|
|
15006
|
+
};
|
|
15007
|
+
};
|
|
15008
|
+
};
|
|
14343
15009
|
post_v1_graph_retract: {
|
|
14344
15010
|
parameters: {
|
|
14345
15011
|
query?: {
|