@littlebigbrain/client 0.4.2 → 0.5.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/schema.d.ts CHANGED
@@ -319,7 +319,7 @@ export interface paths {
319
319
  };
320
320
  get?: never;
321
321
  put?: never;
322
- /** Embed the graph corpus with the managed model and rebuild the Stored ANN index */
322
+ /** Submit a durable managed-embedding backfill job (legacy path alias) */
323
323
  post: operations["post_v1_graph_embedding_backfill"];
324
324
  delete?: never;
325
325
  options?: never;
@@ -327,6 +327,25 @@ export interface paths {
327
327
  patch?: never;
328
328
  trace?: never;
329
329
  };
330
+ "/v1/graph/embedding/backfill-jobs": {
331
+ parameters: {
332
+ query?: never;
333
+ header?: never;
334
+ path?: never;
335
+ cookie?: never;
336
+ };
337
+ /** Read one managed-embedding backfill job */
338
+ get: operations["get_v1_graph_embedding_backfill_jobs"];
339
+ put?: never;
340
+ /** Submit a durable managed-embedding backfill job */
341
+ post: operations["post_v1_graph_embedding_backfill_jobs"];
342
+ /** Request cancellation of a managed-embedding backfill job */
343
+ delete: operations["delete_v1_graph_embedding_backfill_jobs"];
344
+ options?: never;
345
+ head?: never;
346
+ patch?: never;
347
+ trace?: never;
348
+ };
330
349
  "/v1/graph/embedding/promote": {
331
350
  parameters: {
332
351
  query?: never;
@@ -2121,7 +2140,7 @@ export interface components {
2121
2140
  AskFeedbackRequest: {
2122
2141
  /** @description The `ask_id` the ask response carried. */
2123
2142
  ask_id: string;
2124
- corrected_plan?: null | components["schemas"]["AskStructuredQuery"];
2143
+ corrected_plan?: null | components["schemas"]["AskStructuredPlanV2"];
2125
2144
  /** @description Optional free-text note (bounded server-side). */
2126
2145
  note?: string | null;
2127
2146
  verdict: components["schemas"]["AskFeedbackVerdict"];
@@ -2133,6 +2152,15 @@ export interface components {
2133
2152
  * clients never break when the flag flips.
2134
2153
  */
2135
2154
  accepted: boolean;
2155
+ accepted_count: number;
2156
+ event_id: string;
2157
+ excluded_count: number;
2158
+ exclusions?: {
2159
+ [key: string]: number;
2160
+ };
2161
+ receipt_id: string;
2162
+ replayed: boolean;
2163
+ trainable_count: number;
2136
2164
  };
2137
2165
  /**
2138
2166
  * @description A user verdict on one ask (`POST /v1/ask/feedback`) — the planner's
@@ -2141,6 +2169,14 @@ export interface components {
2141
2169
  * @enum {string}
2142
2170
  */
2143
2171
  AskFeedbackVerdict: "accepted" | "rejected" | "corrected";
2172
+ /** @enum {string} */
2173
+ AskFilterOperatorV2: "eq" | "ne" | "in" | "contains" | "gt" | "gte" | "lt" | "lte";
2174
+ /** @enum {string} */
2175
+ AskGraphAnchorBehaviorV2: "filter" | "boost";
2176
+ AskGraphAnchorV2: {
2177
+ behavior: components["schemas"]["AskGraphAnchorBehaviorV2"];
2178
+ entity: string;
2179
+ };
2144
2180
  AskGrounding: {
2145
2181
  /**
2146
2182
  * @description Real vocabulary the question snapped to (classes/relations/properties/
@@ -2175,12 +2211,21 @@ export interface components {
2175
2211
  */
2176
2212
  vocab_candidates: number;
2177
2213
  };
2214
+ /** @enum {string} */
2215
+ AskPlanExecutionModeV2: "entity_search" | "path_search" | "hybrid";
2178
2216
  AskQuery: {
2179
2217
  /** @description The retrieval query text that was executed. */
2180
2218
  query: string;
2181
2219
  structured?: null | components["schemas"]["AskStructuredQuery"];
2220
+ structured_v2?: null | components["schemas"]["AskStructuredPlanV2"];
2182
2221
  top_k: number;
2183
2222
  };
2223
+ /** @enum {string} */
2224
+ AskRelationDirectionV2: "outgoing" | "incoming" | "either";
2225
+ AskRelationStepV2: {
2226
+ direction: components["schemas"]["AskRelationDirectionV2"];
2227
+ relation: string;
2228
+ };
2184
2229
  AskRequest: {
2185
2230
  /**
2186
2231
  * Format: int64
@@ -2199,8 +2244,17 @@ export interface components {
2199
2244
  * grounding is computed — the caller drives its own retrieval/model.
2200
2245
  */
2201
2246
  execute?: boolean | null;
2247
+ /** @description Entity attributes retained as evidence on the internal execution trace. */
2248
+ fields?: string[];
2249
+ filters?: null | components["schemas"]["SearchFilterExpr"];
2202
2250
  /** @description The natural-language question. */
2203
2251
  question: string;
2252
+ /**
2253
+ * @description Opaque alternative to `as_of_commit_seq`. Exactly one pin spelling may
2254
+ * be supplied; grounding, validation, execution, trace, and citations all
2255
+ * use the resolved commit.
2256
+ */
2257
+ snapshot_token?: string | null;
2204
2258
  /** @description Max citations to return (default 8, clamped to 25). */
2205
2259
  top_k?: number | null;
2206
2260
  };
@@ -2237,6 +2291,23 @@ export interface components {
2237
2291
  query?: null | components["schemas"]["AskQuery"];
2238
2292
  snapshot: components["schemas"]["SnapshotView"];
2239
2293
  };
2294
+ AskStructuredPlanV2: {
2295
+ execution_mode: components["schemas"]["AskPlanExecutionModeV2"];
2296
+ filters?: components["schemas"]["AskTypedFilterV2"][];
2297
+ frontier_limit: number;
2298
+ graph_anchor?: null | components["schemas"]["AskGraphAnchorV2"];
2299
+ /** Format: int32 */
2300
+ hop_limit: number;
2301
+ path_limit: number;
2302
+ relation_steps: components["schemas"]["AskRelationStepV2"][];
2303
+ result_limit: number;
2304
+ target_types: string[];
2305
+ /**
2306
+ * Format: int32
2307
+ * @description Contract version; must be exactly 2.
2308
+ */
2309
+ v: number;
2310
+ };
2240
2311
  /**
2241
2312
  * @description The constrained structured plan: the entity type the answer set is
2242
2313
  * restricted to (the QALD-class-task shape), plus — when the question admits
@@ -2292,6 +2363,11 @@ export interface components {
2292
2363
  */
2293
2364
  total_ms: number;
2294
2365
  };
2366
+ AskTypedFilterV2: {
2367
+ field: string;
2368
+ operator: components["schemas"]["AskFilterOperatorV2"];
2369
+ value: unknown;
2370
+ };
2295
2371
  AssertionSearchResult: {
2296
2372
  /** Format: float */
2297
2373
  confidence: number;
@@ -2917,9 +2993,11 @@ export interface components {
2917
2993
  };
2918
2994
  EntityId: string;
2919
2995
  EntityMetadataResponse: {
2996
+ adjacency_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
2920
2997
  ann_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
2921
2998
  bm25_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
2922
2999
  entity: components["schemas"]["EntityView"];
3000
+ index_lineage?: null | components["schemas"]["IndexLineage"];
2923
3001
  last_commit?: null | components["schemas"]["CommitSeq"];
2924
3002
  object_hash?: string | null;
2925
3003
  object_key?: string | null;
@@ -3080,6 +3158,33 @@ export interface components {
3080
3158
  text?: string | null;
3081
3159
  vector: number[];
3082
3160
  };
3161
+ ExternalPlannerTraceV1: {
3162
+ ask_id: string;
3163
+ citations?: unknown[];
3164
+ /** Format: double */
3165
+ cost?: number | null;
3166
+ entities?: unknown[];
3167
+ execution_error?: string | null;
3168
+ execution_outcome: string;
3169
+ failure_reason?: string | null;
3170
+ final_user_outcome?: string | null;
3171
+ /** Format: double */
3172
+ latency_ms: number;
3173
+ original_question: string;
3174
+ paths?: unknown[];
3175
+ planner_model: string;
3176
+ planner_provider: string;
3177
+ prompt_hash: string;
3178
+ prompt_version: string;
3179
+ raw_output: unknown;
3180
+ snapshot_token: string;
3181
+ /** Format: int64 */
3182
+ tokens?: number | null;
3183
+ /** Format: int32 */
3184
+ v: number;
3185
+ validated_plan?: null | components["schemas"]["AskStructuredPlanV2"];
3186
+ validation_result: string;
3187
+ };
3083
3188
  /**
3084
3189
  * @description `GET /v1/models/extractor-dataset` — the extractor fine-tune's training
3085
3190
  * feed: stored `EPISODE` transcripts joined (via evidence observations) to
@@ -3585,9 +3690,21 @@ export interface components {
3585
3690
  error_count: number;
3586
3691
  errors?: components["schemas"]["GraphImportLineError"][];
3587
3692
  graph_created: boolean;
3693
+ /** @description The caller key, or the server-minted key when the caller omitted one. */
3694
+ idempotency_key: string;
3695
+ /**
3696
+ * @description True when every internal mutation batch was the already-committed
3697
+ * receipt for this idempotency key.
3698
+ */
3699
+ idempotent_replay: boolean;
3588
3700
  index?: null | components["schemas"]["GraphImportIndexOutcome"];
3589
3701
  indexed: boolean;
3590
3702
  lines_read: number;
3703
+ /**
3704
+ * @description Stable identity for the whole multi-batch mutation. Replays return this
3705
+ * exact receipt and the original terminal commit sequence.
3706
+ */
3707
+ mutation_receipt_id: string;
3591
3708
  properties: number;
3592
3709
  triplets: number;
3593
3710
  };
@@ -3616,6 +3733,7 @@ export interface components {
3616
3733
  targets: components["schemas"]["AnnTargetKind"][];
3617
3734
  };
3618
3735
  GraphMetadataResponse: {
3736
+ adjacency_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
3619
3737
  ann_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
3620
3738
  bm25_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
3621
3739
  graph: components["schemas"]["GraphKey"];
@@ -3632,6 +3750,7 @@ export interface components {
3632
3750
  * the persisted fast path being current, not queryability.
3633
3751
  */
3634
3752
  index_caught_up?: boolean | null;
3753
+ index_lineage?: null | components["schemas"]["IndexLineage"];
3635
3754
  /** Format: int64 */
3636
3755
  object_bytes: number;
3637
3756
  object_count: number;
@@ -3976,6 +4095,21 @@ export interface components {
3976
4095
  skipped_branch_shared: boolean;
3977
4096
  snapshot: components["schemas"]["SnapshotView"];
3978
4097
  };
4098
+ /** @description Typed convergence view over the persisted serving families. */
4099
+ IndexLineage: {
4100
+ adjacency_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
4101
+ ann_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
4102
+ bm25_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
4103
+ caught_up: boolean;
4104
+ head_commit_seq: components["schemas"]["CommitSeq"];
4105
+ /**
4106
+ * @description Content identity of the head generation plus the exact three manifest
4107
+ * views observed while constructing this response.
4108
+ */
4109
+ manifest_view_token: string;
4110
+ /** Format: int64 */
4111
+ observed_at_micros: number;
4112
+ };
3979
4113
  IndexRunView: {
3980
4114
  /** Format: int64 */
3981
4115
  bytes: number;
@@ -4070,15 +4204,61 @@ export interface components {
4070
4204
  LbbErrorEnvelope: {
4071
4205
  error: components["schemas"]["LbbErrorBody"];
4072
4206
  };
4207
+ ManagedEmbeddingBackfillJobProgress: {
4208
+ continuation?: string | null;
4209
+ embedded: number;
4210
+ failed: number;
4211
+ final_index_job_id?: string | null;
4212
+ /** Format: int64 */
4213
+ heartbeat_micros: number;
4214
+ index_lineage?: null | components["schemas"]["IndexLineage"];
4215
+ missing: number;
4216
+ processed: number;
4217
+ skipped: number;
4218
+ /** Format: int64 */
4219
+ source_commit_seq: number;
4220
+ source_snapshot_token: string;
4221
+ total: number;
4222
+ worker?: string | null;
4223
+ };
4224
+ ManagedEmbeddingBackfillJobRequest: {
4225
+ batch_size?: number | null;
4226
+ full?: boolean;
4227
+ limit?: number | null;
4228
+ };
4229
+ ManagedEmbeddingBackfillJobStatusResponse: {
4230
+ /** Format: int32 */
4231
+ attempts: number;
4232
+ /** Format: int64 */
4233
+ enqueued_at_micros: number;
4234
+ graph: components["schemas"]["GraphKey"];
4235
+ idempotency_key: string;
4236
+ job_id: string;
4237
+ progress?: null | components["schemas"]["ManagedEmbeddingBackfillJobProgress"];
4238
+ result?: null | components["schemas"]["ManagedEmbeddingBackfillResponse"];
4239
+ status: string;
4240
+ terminal_error?: string | null;
4241
+ /** Format: int64 */
4242
+ updated_at_micros: number;
4243
+ };
4073
4244
  /** @description Outcome of embedding the corpus and rebuilding its Stored ANN index. */
4074
4245
  ManagedEmbeddingBackfillResponse: {
4075
4246
  batches: number;
4247
+ continuation?: string | null;
4076
4248
  embedded: number;
4077
4249
  entities_total: number;
4250
+ failed: number;
4251
+ final_index_job_id?: string | null;
4252
+ index_lineage?: null | components["schemas"]["IndexLineage"];
4078
4253
  /** Format: int64 */
4079
4254
  indexed_commit_seq: number;
4255
+ missing: number;
4080
4256
  model_id: string;
4257
+ processed: number;
4081
4258
  skipped: number;
4259
+ /** Format: int64 */
4260
+ source_commit_seq: number;
4261
+ source_snapshot_token: string;
4082
4262
  truncated: boolean;
4083
4263
  };
4084
4264
  /** @description The resolved, versioned managed embedding configuration. */
@@ -4661,6 +4841,7 @@ export interface components {
4661
4841
  */
4662
4842
  allow_data_conflicts?: boolean;
4663
4843
  ops: components["schemas"]["OntologyEvolveOp"][];
4844
+ preconditions?: null | components["schemas"]["WritePreconditions"];
4664
4845
  };
4665
4846
  OntologyEvolveResponse: {
4666
4847
  /**
@@ -4993,7 +5174,10 @@ export interface components {
4993
5174
  * exact serving prompt.
4994
5175
  */
4995
5176
  PlannerExample: {
5177
+ ask_id?: string | null;
5178
+ example_id: string;
4996
5179
  plan: components["schemas"]["AskStructuredQuery"];
5180
+ plan_v2: components["schemas"]["AskStructuredPlanV2"];
4997
5181
  question: string;
4998
5182
  /**
4999
5183
  * @description The `ask_trace` shortlists (`{classes, relations, anchors}`) for
@@ -5041,9 +5225,18 @@ export interface components {
5041
5225
  * corrupt one slot of an execution-verified gold plan.
5042
5226
  */
5043
5227
  PlannerPreferencePair: {
5228
+ ask_id?: string | null;
5044
5229
  chosen: components["schemas"]["AskStructuredQuery"];
5230
+ chosen_v2: components["schemas"]["AskStructuredPlanV2"];
5231
+ /**
5232
+ * @description True when the corrected ask produced no original structured plan. Such
5233
+ * a row is retained as an explicit absent-original preference pair.
5234
+ */
5235
+ original_absent: boolean;
5236
+ pair_id: string;
5045
5237
  question: string;
5046
- rejected: components["schemas"]["AskStructuredQuery"];
5238
+ rejected?: null | components["schemas"]["AskStructuredQuery"];
5239
+ rejected_v2?: null | components["schemas"]["AskStructuredPlanV2"];
5047
5240
  /** @description The `ask_trace` shortlists for feedback pairs; `None` for synthetic. */
5048
5241
  shortlists?: unknown;
5049
5242
  /** @description `corrected` | `rejected_paired` | `synthetic`. */
@@ -5348,6 +5541,8 @@ export interface components {
5348
5541
  * by construction — the resolver never fabricates a term.
5349
5542
  */
5350
5543
  ResolveTermRequest: {
5544
+ /** Format: int64 */
5545
+ as_of_commit_seq?: number | null;
5351
5546
  /**
5352
5547
  * @description Restrict resolution to this explicit candidate set (the narrowed
5353
5548
  * shortlist — e.g. relations WS10 admitted for a type pair). Each candidate
@@ -5360,10 +5555,12 @@ export interface components {
5360
5555
  * `candidates` is supplied (the candidate list is the search space).
5361
5556
  */
5362
5557
  kinds?: components["schemas"]["SuggestKind"][];
5558
+ snapshot_token?: string | null;
5363
5559
  /** @description The free text to snap to real vocabulary (1..=256 chars). */
5364
5560
  text: string;
5365
5561
  /** @description Max matches to return (default 3, clamped to 25). */
5366
5562
  top_k?: number | null;
5563
+ vocabulary_filter?: null | components["schemas"]["VocabularyFilter"];
5367
5564
  };
5368
5565
  ResolveTermResponse: {
5369
5566
  matches: components["schemas"]["ResolvedTerm"][];
@@ -5374,6 +5571,7 @@ export interface components {
5374
5571
  */
5375
5572
  method: components["schemas"]["ResolveMethod"];
5376
5573
  snapshot: components["schemas"]["SnapshotView"];
5574
+ snapshot_token: string;
5377
5575
  };
5378
5576
  /** @enum {string} */
5379
5577
  ResolvedKind: "concept" | "entity" | "relation" | "candidate_concept" | "candidate_relation" | "rejected";
@@ -5387,6 +5585,7 @@ export interface components {
5387
5585
  };
5388
5586
  ResolvedTerm: {
5389
5587
  kind: components["schemas"]["SuggestKind"];
5588
+ provenance?: null | components["schemas"]["VocabularyProvenance"];
5390
5589
  /**
5391
5590
  * Format: float
5392
5591
  * @description Similarity to the input in [0, 1]; higher is closer.
@@ -5692,6 +5891,7 @@ export interface components {
5692
5891
  attributes?: {
5693
5892
  [key: string]: unknown;
5694
5893
  } | null;
5894
+ contributions?: null | components["schemas"]["SearchHitContributions"];
5695
5895
  entity: components["schemas"]["EntityView"];
5696
5896
  matched_concepts: string[];
5697
5897
  /** Format: float */
@@ -5704,6 +5904,14 @@ export interface components {
5704
5904
  source_id: string;
5705
5905
  text?: string | null;
5706
5906
  };
5907
+ SearchChannelContribution: {
5908
+ /** Format: float */
5909
+ raw_score: number;
5910
+ /** Format: float */
5911
+ weight: number;
5912
+ /** Format: float */
5913
+ weighted_score: number;
5914
+ };
5707
5915
  /** @enum {string} */
5708
5916
  SearchConsistency: "strong" | "eventual";
5709
5917
  SearchEngineOptions: {
@@ -5904,6 +6112,10 @@ export interface components {
5904
6112
  * idempotent replays do not advance it and retractions do.
5905
6113
  */
5906
6114
  latest_label_sequence: number;
6115
+ /**
6116
+ * @description Label objects fetched for this request. Zero on a materialized-cache hit;
6117
+ * a rebuild reports the bounded source objects it read.
6118
+ */
5907
6119
  objects_scanned: number;
5908
6120
  promoted_models: components["schemas"]["SearchFeedbackPromotedModel"][];
5909
6121
  raw_events: number;
@@ -6033,6 +6245,30 @@ export interface components {
6033
6245
  op: "not";
6034
6246
  };
6035
6247
  SearchFilterValue: null | boolean | number | string;
6248
+ SearchHitContributions: {
6249
+ adjacency_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
6250
+ bm25: components["schemas"]["SearchChannelContribution"];
6251
+ bm25_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
6252
+ bm25_manifest_key?: string | null;
6253
+ filter_pruned: boolean;
6254
+ /** Format: float */
6255
+ final_score: number;
6256
+ graph: components["schemas"]["SearchChannelContribution"];
6257
+ lexical: components["schemas"]["SearchChannelContribution"];
6258
+ ontology: components["schemas"]["SearchChannelContribution"];
6259
+ /**
6260
+ * Format: float
6261
+ * @description Type boosts, score floors/clamps, graph-anchor boosts, observation-owner
6262
+ * promotion, and class-intent promotion are accounted for here.
6263
+ */
6264
+ post_fusion_adjustment: number;
6265
+ snapshot_commit_seq: components["schemas"]["CommitSeq"];
6266
+ /** Format: int64 */
6267
+ trained_fusion_run?: number | null;
6268
+ vector: components["schemas"]["SearchChannelContribution"];
6269
+ vector_indexed_commit_seq?: null | components["schemas"]["CommitSeq"];
6270
+ vector_manifest_key?: string | null;
6271
+ };
6036
6272
  SearchIndexFamilyRun: {
6037
6273
  family: string;
6038
6274
  indexed_commit_seq_after: components["schemas"]["CommitSeq"];
@@ -6085,6 +6321,12 @@ export interface components {
6085
6321
  adjacency?: null | components["schemas"]["SearchIndexFamilyRun"];
6086
6322
  embeddings?: null | components["schemas"]["SearchIndexFamilyRun"];
6087
6323
  full_text?: null | components["schemas"]["SearchIndexFamilyRun"];
6324
+ /**
6325
+ * @description One coherent observation of every serving index family after this run.
6326
+ * Unlike the per-family build outcomes, this also includes families the
6327
+ * request did not rebuild and is therefore the convergence contract.
6328
+ */
6329
+ index_lineage: components["schemas"]["IndexLineage"];
6088
6330
  permutation?: null | components["schemas"]["SearchIndexFamilyRun"];
6089
6331
  snapshot: components["schemas"]["SnapshotView"];
6090
6332
  };
@@ -6216,6 +6458,12 @@ export interface components {
6216
6458
  * completions are strings that provably exist in the graph at this snapshot.
6217
6459
  */
6218
6460
  SearchSuggestRequest: {
6461
+ /**
6462
+ * Format: int64
6463
+ * @description Transaction-time vocabulary pin. Mutually exclusive with
6464
+ * `snapshot_token`.
6465
+ */
6466
+ as_of_commit_seq?: number | null;
6219
6467
  context?: null | components["schemas"]["SuggestContext"];
6220
6468
  /** @description Restrict `attribute_value` suggestions to one attribute field. */
6221
6469
  field?: string | null;
@@ -6225,9 +6473,21 @@ export interface components {
6225
6473
  limit?: number | null;
6226
6474
  prefix: string;
6227
6475
  ranker?: null | components["schemas"]["SuggestRankerWeights"];
6476
+ /**
6477
+ * @description Opaque graph snapshot identity previously returned by LBB. Mutually
6478
+ * exclusive with `as_of_commit_seq`.
6479
+ */
6480
+ snapshot_token?: string | null;
6481
+ vocabulary_filter?: null | components["schemas"]["VocabularyFilter"];
6228
6482
  };
6229
6483
  SearchSuggestResponse: {
6230
6484
  snapshot: components["schemas"]["SnapshotView"];
6485
+ /**
6486
+ * @description Opaque vocabulary token binding graph epoch, commit, and ontology
6487
+ * version. Feed it to a subsequent suggest/resolve request to fail closed
6488
+ * on vocabulary drift.
6489
+ */
6490
+ snapshot_token: string;
6231
6491
  suggestions: components["schemas"]["SearchSuggestion"][];
6232
6492
  /**
6233
6493
  * Format: int64
@@ -6245,6 +6505,7 @@ export interface components {
6245
6505
  /** @description The attribute field, for `attribute_value` suggestions. */
6246
6506
  field?: string | null;
6247
6507
  kind: components["schemas"]["SuggestKind"];
6508
+ provenance?: null | components["schemas"]["VocabularyProvenance"];
6248
6509
  /** Format: float */
6249
6510
  score: number;
6250
6511
  /**
@@ -6757,7 +7018,28 @@ export interface components {
6757
7018
  */
6758
7019
  hit_rate_at_k: number;
6759
7020
  /** Format: double */
7021
+ latency_p50_ms?: number;
7022
+ /** Format: double */
7023
+ latency_p95_ms?: number;
7024
+ /** Format: double */
7025
+ latency_p99_ms?: number;
7026
+ /** Format: double */
6760
7027
  mean_latency_ms: number;
7028
+ /**
7029
+ * Format: float
7030
+ * @description Mean reciprocal rank of the first expected target in top-k.
7031
+ */
7032
+ mrr_at_k?: number;
7033
+ /**
7034
+ * Format: float
7035
+ * @description Mean binary-relevance nDCG over top-k.
7036
+ */
7037
+ ndcg_at_k?: number;
7038
+ /**
7039
+ * Format: float
7040
+ * @description Mean fraction of each query's expected targets recovered in top-k.
7041
+ */
7042
+ recall_at_k?: number;
6761
7043
  };
6762
7044
  /**
6763
7045
  * @description `POST /v1/models/shadow-eval` — champion vs challenger retrieval over the
@@ -6830,8 +7112,17 @@ export interface components {
6830
7112
  SignalIngestResponse: {
6831
7113
  /** @description Number of signals written (0 when the feature flag is off). */
6832
7114
  accepted: number;
7115
+ accepted_count: number;
7116
+ event_id: string;
7117
+ excluded_count: number;
7118
+ exclusions?: {
7119
+ [key: string]: number;
7120
+ };
6833
7121
  /** @description The object the batch was flushed to, absent when nothing was written. */
6834
7122
  object_key?: string | null;
7123
+ receipt_id: string;
7124
+ replayed: boolean;
7125
+ trainable_count: number;
6835
7126
  };
6836
7127
  /**
6837
7128
  * @description One signal as a client sends it. The server stamps `v`, `ts`, and (when the
@@ -6854,7 +7145,7 @@ export interface components {
6854
7145
  * material the planner fine-tune trains on.
6855
7146
  * @enum {string}
6856
7147
  */
6857
- SignalKind: "suggestion_shown" | "suggestion_adopted" | "zero_result" | "atom_cited" | "branch_merge_accepted" | "branch_merge_rejected" | "tool_error" | "speculation_summary" | "ask_trace" | "ask_feedback";
7148
+ SignalKind: "suggestion_shown" | "suggestion_adopted" | "zero_result" | "atom_cited" | "branch_merge_accepted" | "branch_merge_rejected" | "tool_error" | "speculation_summary" | "ask_trace" | "ask_feedback" | "external_planner_trace";
6858
7149
  /**
6859
7150
  * @description `GET /v1/signals?from=&to=&limit=` — the consumer side of the signal bus:
6860
7151
  * signals whose flush seq lies in `[from, to]`, oldest first. Trainers split
@@ -7382,6 +7673,24 @@ export interface components {
7382
7673
  query: string;
7383
7674
  reason: components["schemas"]["SuggestReason"];
7384
7675
  };
7676
+ SuggestionAdoptedV1: {
7677
+ candidate_id: string;
7678
+ prefix: string;
7679
+ rank: number;
7680
+ suggestion_id: string;
7681
+ text: string;
7682
+ /** Format: int32 */
7683
+ v: number;
7684
+ };
7685
+ SuggestionShownV1: {
7686
+ candidate_id: string;
7687
+ prefix: string;
7688
+ rank: number;
7689
+ suggestion_id: string;
7690
+ text: string;
7691
+ /** Format: int32 */
7692
+ v: number;
7693
+ };
7385
7694
  /**
7386
7695
  * @description `GET /v1/models/synthetic-eval` — execution-verified QA pairs generated
7387
7696
  * FROM the graph: each question is templated from a current edge and its
@@ -7472,6 +7781,8 @@ export interface components {
7472
7781
  * @description Challenger − champion hit-rate on the held-out eval slice.
7473
7782
  */
7474
7783
  effect: number;
7784
+ /** Format: float */
7785
+ hit_rate_delta?: number | null;
7475
7786
  /** @description Labeled eval probes the decision is over. */
7476
7787
  labeled: number;
7477
7788
  /**
@@ -7492,9 +7803,55 @@ export interface components {
7492
7803
  min_effect: number;
7493
7804
  /** @description Minimum labeled probes for any promotion. */
7494
7805
  min_labeled: number;
7806
+ /** Format: float */
7807
+ mrr_delta?: number | null;
7808
+ /**
7809
+ * Format: float
7810
+ * @description Deterministic paired-bootstrap 95% interval for challenger − champion
7811
+ * nDCG@10. Promotion requires the lower bound to be at least zero.
7812
+ */
7813
+ ndcg_ci95_lower?: number | null;
7814
+ /** Format: float */
7815
+ ndcg_ci95_upper?: number | null;
7816
+ /** Format: float */
7817
+ non_inferiority_boundary?: number | null;
7495
7818
  passed: boolean;
7496
7819
  /** @description Human-readable one-liner for the console status surface. */
7497
7820
  reason: string;
7821
+ /**
7822
+ * Format: float
7823
+ * @description Fusion-only paired held-out deltas. All must be non-negative.
7824
+ */
7825
+ recall_delta?: number | null;
7826
+ };
7827
+ /** @description Bounded in-flight work counters for a durable trainer job. */
7828
+ TrainModelJobProgress: {
7829
+ candidates_completed: number;
7830
+ candidates_total: number;
7831
+ /**
7832
+ * Format: int64
7833
+ * @description Linear estimate from work completed so far. Absent before the first
7834
+ * measured probe or for trainers without fine-grained progress.
7835
+ */
7836
+ estimated_duration_ms?: number | null;
7837
+ /**
7838
+ * Format: int64
7839
+ * @description Worker heartbeat attached to this progress snapshot.
7840
+ */
7841
+ heartbeat_micros: number;
7842
+ /**
7843
+ * Format: float
7844
+ * @description Monotonic completion percentage in `[0, 100]`.
7845
+ */
7846
+ percentage: number;
7847
+ /** @description `preparing` | `candidate_search` | `held_out_gate` | kind-specific stage. */
7848
+ phase: string;
7849
+ /** @description Expensive search executions or cached-score evaluations completed. */
7850
+ replay_evaluations_completed: number;
7851
+ replay_evaluations_total: number;
7852
+ /** @description Distinct input probes prepared at the pinned source snapshot. */
7853
+ source_probes_completed: number;
7854
+ source_probes_total: number;
7498
7855
  };
7499
7856
  /**
7500
7857
  * @description Durable background trainer status. The terminal `result` carries the full
@@ -7508,6 +7865,7 @@ export interface components {
7508
7865
  graph: components["schemas"]["GraphKey"];
7509
7866
  job_id: string;
7510
7867
  kind: string;
7868
+ progress?: null | components["schemas"]["TrainModelJobProgress"];
7511
7869
  result?: null | components["schemas"]["TrainModelResponse"];
7512
7870
  stage?: string | null;
7513
7871
  /** @description `pending` | `running` | `succeeded` | `failed`. */
@@ -7608,6 +7966,12 @@ export interface components {
7608
7966
  as_of_commit_seq?: number | null;
7609
7967
  as_of_valid_time?: string | null;
7610
7968
  direction: components["schemas"]["ExpansionDirection"];
7969
+ /**
7970
+ * @description Entity fields projected for every seed/intermediate/terminal node in
7971
+ * `TraverseResponse.projected_nodes`.
7972
+ */
7973
+ fields?: string[];
7974
+ filter?: null | components["schemas"]["SearchFilterExpr"];
7611
7975
  /**
7612
7976
  * Format: int64
7613
7977
  * @description Decoded adjacency-block working-set byte budget for the ranged path.
@@ -7631,6 +7995,16 @@ export interface components {
7631
7995
  };
7632
7996
  TraverseResponse: {
7633
7997
  paths: components["schemas"]["PathResult"][];
7998
+ /**
7999
+ * @description Same-snapshot field evidence for every node appearing in `paths`, keyed
8000
+ * by stable entity-id hex. Present as an empty map when no fields were
8001
+ * requested.
8002
+ */
8003
+ projected_nodes?: {
8004
+ [key: string]: {
8005
+ [key: string]: unknown;
8006
+ };
8007
+ };
7634
8008
  ranged?: null | components["schemas"]["RangedTraverseStats"];
7635
8009
  snapshot: components["schemas"]["SnapshotView"];
7636
8010
  };
@@ -7661,6 +8035,7 @@ export interface components {
7661
8035
  * `as_of` returns empty. Omit it for normal live writes (stamped now).
7662
8036
  */
7663
8037
  observed_at?: string | null;
8038
+ preconditions?: null | components["schemas"]["WritePreconditions"];
7664
8039
  property_merge?: null | components["schemas"]["PropertyMergeMode"];
7665
8040
  /**
7666
8041
  * @description The edges to commit. Defaults to empty so a properties-only or
@@ -7689,6 +8064,16 @@ export interface components {
7689
8064
  target: components["schemas"]["EntityView"];
7690
8065
  valid_time: components["schemas"]["ValidTime"];
7691
8066
  };
8067
+ TypedAskFeedbackV1: {
8068
+ ask_id: string;
8069
+ note?: string | null;
8070
+ original_absent: boolean;
8071
+ original_plan?: null | components["schemas"]["AskStructuredPlanV2"];
8072
+ preferred_plan?: null | components["schemas"]["AskStructuredPlanV2"];
8073
+ /** Format: int32 */
8074
+ v: number;
8075
+ verdict: string;
8076
+ };
7692
8077
  ValidTime: {
7693
8078
  /** Format: int64 */
7694
8079
  end_micros?: number | null;
@@ -7732,6 +8117,22 @@ export interface components {
7732
8117
  /** @description True when any section hit its cap (silent truncation is never OK). */
7733
8118
  truncated: boolean;
7734
8119
  };
8120
+ VocabularyFilter: {
8121
+ include_builtin?: boolean | null;
8122
+ namespace_allow?: string[];
8123
+ namespace_deny?: string[];
8124
+ origins?: components["schemas"]["VocabularyOrigin"][];
8125
+ };
8126
+ /** @enum {string} */
8127
+ VocabularyOrigin: "builtin" | "tenant" | "imported";
8128
+ VocabularyProvenance: {
8129
+ candidate_id: string;
8130
+ namespace: string;
8131
+ /** Format: int64 */
8132
+ ontology_version: number;
8133
+ origin: components["schemas"]["VocabularyOrigin"];
8134
+ source_reference: string;
8135
+ };
7735
8136
  WalCompactRequest: {
7736
8137
  /**
7737
8138
  * @description When appending the new segment would leave the manifest with more
@@ -7816,16 +8217,449 @@ export interface components {
7816
8217
  /** @description Relation to widen, by name (case-insensitive). */
7817
8218
  relation: string;
7818
8219
  };
8220
+ WritePreconditions: {
8221
+ /** Format: int64 */
8222
+ expected_head_commit_seq?: number | null;
8223
+ /** Format: int64 */
8224
+ expected_ontology_version?: number | null;
8225
+ expected_snapshot_token?: string | null;
8226
+ };
8227
+ };
8228
+ responses: never;
8229
+ parameters: never;
8230
+ requestBodies: never;
8231
+ headers: never;
8232
+ pathItems: never;
8233
+ }
8234
+ export type $defs = Record<string, never>;
8235
+ export interface operations {
8236
+ post_v1_ask: {
8237
+ parameters: {
8238
+ query?: {
8239
+ /** @description Graph name (default `main`) */
8240
+ graph?: string;
8241
+ /** @description Branch name (default `main`) */
8242
+ branch?: string;
8243
+ };
8244
+ header?: {
8245
+ /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8246
+ "Lbb-Version"?: string;
8247
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
8248
+ "Idempotency-Key"?: string;
8249
+ };
8250
+ path?: never;
8251
+ cookie?: never;
8252
+ };
8253
+ requestBody: {
8254
+ content: {
8255
+ "application/json": components["schemas"]["AskRequest"];
8256
+ };
8257
+ };
8258
+ responses: {
8259
+ /** @description OK */
8260
+ 200: {
8261
+ headers: {
8262
+ /** @description API contract version used for the response */
8263
+ "Lbb-Version"?: string;
8264
+ /** @description Request correlation id */
8265
+ "X-Request-Id"?: string;
8266
+ [name: string]: unknown;
8267
+ };
8268
+ content: {
8269
+ "application/json": components["schemas"]["AskResponse"];
8270
+ };
8271
+ };
8272
+ /** @description Bad request */
8273
+ 400: {
8274
+ headers: {
8275
+ /** @description API contract version used for the response */
8276
+ "Lbb-Version"?: string;
8277
+ /** @description Request correlation id */
8278
+ "X-Request-Id"?: string;
8279
+ [name: string]: unknown;
8280
+ };
8281
+ content: {
8282
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8283
+ };
8284
+ };
8285
+ /** @description Unauthorized */
8286
+ 401: {
8287
+ headers: {
8288
+ /** @description API contract version used for the response */
8289
+ "Lbb-Version"?: string;
8290
+ /** @description Request correlation id */
8291
+ "X-Request-Id"?: string;
8292
+ [name: string]: unknown;
8293
+ };
8294
+ content: {
8295
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8296
+ };
8297
+ };
8298
+ /** @description Forbidden */
8299
+ 403: {
8300
+ headers: {
8301
+ /** @description API contract version used for the response */
8302
+ "Lbb-Version"?: string;
8303
+ /** @description Request correlation id */
8304
+ "X-Request-Id"?: string;
8305
+ [name: string]: unknown;
8306
+ };
8307
+ content: {
8308
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8309
+ };
8310
+ };
8311
+ /** @description Not found */
8312
+ 404: {
8313
+ headers: {
8314
+ /** @description API contract version used for the response */
8315
+ "Lbb-Version"?: string;
8316
+ /** @description Request correlation id */
8317
+ "X-Request-Id"?: string;
8318
+ [name: string]: unknown;
8319
+ };
8320
+ content: {
8321
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8322
+ };
8323
+ };
8324
+ /** @description Conflict */
8325
+ 409: {
8326
+ headers: {
8327
+ /** @description API contract version used for the response */
8328
+ "Lbb-Version"?: string;
8329
+ /** @description Request correlation id */
8330
+ "X-Request-Id"?: string;
8331
+ [name: string]: unknown;
8332
+ };
8333
+ content: {
8334
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8335
+ };
8336
+ };
8337
+ /** @description Rate limit exceeded */
8338
+ 429: {
8339
+ headers: {
8340
+ /** @description API contract version used for the response */
8341
+ "Lbb-Version"?: string;
8342
+ /** @description Request correlation id */
8343
+ "X-Request-Id"?: string;
8344
+ [name: string]: unknown;
8345
+ };
8346
+ content: {
8347
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8348
+ };
8349
+ };
8350
+ /** @description Internal server error */
8351
+ 500: {
8352
+ headers: {
8353
+ /** @description API contract version used for the response */
8354
+ "Lbb-Version"?: string;
8355
+ /** @description Request correlation id */
8356
+ "X-Request-Id"?: string;
8357
+ [name: string]: unknown;
8358
+ };
8359
+ content: {
8360
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8361
+ };
8362
+ };
8363
+ /** @description Service unavailable */
8364
+ 503: {
8365
+ headers: {
8366
+ /** @description API contract version used for the response */
8367
+ "Lbb-Version"?: string;
8368
+ /** @description Request correlation id */
8369
+ "X-Request-Id"?: string;
8370
+ [name: string]: unknown;
8371
+ };
8372
+ content: {
8373
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8374
+ };
8375
+ };
8376
+ };
8377
+ };
8378
+ post_v1_ask_feedback: {
8379
+ parameters: {
8380
+ query?: {
8381
+ /** @description Graph name (default `main`) */
8382
+ graph?: string;
8383
+ /** @description Branch name (default `main`) */
8384
+ branch?: string;
8385
+ };
8386
+ header: {
8387
+ /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8388
+ "Lbb-Version"?: string;
8389
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
8390
+ "Idempotency-Key": string;
8391
+ };
8392
+ path?: never;
8393
+ cookie?: never;
8394
+ };
8395
+ requestBody: {
8396
+ content: {
8397
+ "application/json": components["schemas"]["AskFeedbackRequest"];
8398
+ };
8399
+ };
8400
+ responses: {
8401
+ /** @description OK */
8402
+ 200: {
8403
+ headers: {
8404
+ /** @description API contract version used for the response */
8405
+ "Lbb-Version"?: string;
8406
+ /** @description Request correlation id */
8407
+ "X-Request-Id"?: string;
8408
+ [name: string]: unknown;
8409
+ };
8410
+ content: {
8411
+ "application/json": components["schemas"]["AskFeedbackResponse"];
8412
+ };
8413
+ };
8414
+ /** @description Bad request */
8415
+ 400: {
8416
+ headers: {
8417
+ /** @description API contract version used for the response */
8418
+ "Lbb-Version"?: string;
8419
+ /** @description Request correlation id */
8420
+ "X-Request-Id"?: string;
8421
+ [name: string]: unknown;
8422
+ };
8423
+ content: {
8424
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8425
+ };
8426
+ };
8427
+ /** @description Unauthorized */
8428
+ 401: {
8429
+ headers: {
8430
+ /** @description API contract version used for the response */
8431
+ "Lbb-Version"?: string;
8432
+ /** @description Request correlation id */
8433
+ "X-Request-Id"?: string;
8434
+ [name: string]: unknown;
8435
+ };
8436
+ content: {
8437
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8438
+ };
8439
+ };
8440
+ /** @description Forbidden */
8441
+ 403: {
8442
+ headers: {
8443
+ /** @description API contract version used for the response */
8444
+ "Lbb-Version"?: string;
8445
+ /** @description Request correlation id */
8446
+ "X-Request-Id"?: string;
8447
+ [name: string]: unknown;
8448
+ };
8449
+ content: {
8450
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8451
+ };
8452
+ };
8453
+ /** @description Not found */
8454
+ 404: {
8455
+ headers: {
8456
+ /** @description API contract version used for the response */
8457
+ "Lbb-Version"?: string;
8458
+ /** @description Request correlation id */
8459
+ "X-Request-Id"?: string;
8460
+ [name: string]: unknown;
8461
+ };
8462
+ content: {
8463
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8464
+ };
8465
+ };
8466
+ /** @description Conflict */
8467
+ 409: {
8468
+ headers: {
8469
+ /** @description API contract version used for the response */
8470
+ "Lbb-Version"?: string;
8471
+ /** @description Request correlation id */
8472
+ "X-Request-Id"?: string;
8473
+ [name: string]: unknown;
8474
+ };
8475
+ content: {
8476
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8477
+ };
8478
+ };
8479
+ /** @description Rate limit exceeded */
8480
+ 429: {
8481
+ headers: {
8482
+ /** @description API contract version used for the response */
8483
+ "Lbb-Version"?: string;
8484
+ /** @description Request correlation id */
8485
+ "X-Request-Id"?: string;
8486
+ [name: string]: unknown;
8487
+ };
8488
+ content: {
8489
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8490
+ };
8491
+ };
8492
+ /** @description Internal server error */
8493
+ 500: {
8494
+ headers: {
8495
+ /** @description API contract version used for the response */
8496
+ "Lbb-Version"?: string;
8497
+ /** @description Request correlation id */
8498
+ "X-Request-Id"?: string;
8499
+ [name: string]: unknown;
8500
+ };
8501
+ content: {
8502
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8503
+ };
8504
+ };
8505
+ /** @description Service unavailable */
8506
+ 503: {
8507
+ headers: {
8508
+ /** @description API contract version used for the response */
8509
+ "Lbb-Version"?: string;
8510
+ /** @description Request correlation id */
8511
+ "X-Request-Id"?: string;
8512
+ [name: string]: unknown;
8513
+ };
8514
+ content: {
8515
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8516
+ };
8517
+ };
8518
+ };
8519
+ };
8520
+ post_v1_decode: {
8521
+ parameters: {
8522
+ query?: {
8523
+ /** @description Graph name (default `main`) */
8524
+ graph?: string;
8525
+ /** @description Branch name (default `main`) */
8526
+ branch?: string;
8527
+ };
8528
+ header?: {
8529
+ /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8530
+ "Lbb-Version"?: string;
8531
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
8532
+ "Idempotency-Key"?: string;
8533
+ };
8534
+ path?: never;
8535
+ cookie?: never;
8536
+ };
8537
+ requestBody: {
8538
+ content: {
8539
+ "application/json": components["schemas"]["DecodeRequest"];
8540
+ };
8541
+ };
8542
+ responses: {
8543
+ /** @description OK */
8544
+ 200: {
8545
+ headers: {
8546
+ /** @description API contract version used for the response */
8547
+ "Lbb-Version"?: string;
8548
+ /** @description Request correlation id */
8549
+ "X-Request-Id"?: string;
8550
+ [name: string]: unknown;
8551
+ };
8552
+ content: {
8553
+ "application/json": components["schemas"]["DecodeResponse"];
8554
+ };
8555
+ };
8556
+ /** @description Bad request */
8557
+ 400: {
8558
+ headers: {
8559
+ /** @description API contract version used for the response */
8560
+ "Lbb-Version"?: string;
8561
+ /** @description Request correlation id */
8562
+ "X-Request-Id"?: string;
8563
+ [name: string]: unknown;
8564
+ };
8565
+ content: {
8566
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8567
+ };
8568
+ };
8569
+ /** @description Unauthorized */
8570
+ 401: {
8571
+ headers: {
8572
+ /** @description API contract version used for the response */
8573
+ "Lbb-Version"?: string;
8574
+ /** @description Request correlation id */
8575
+ "X-Request-Id"?: string;
8576
+ [name: string]: unknown;
8577
+ };
8578
+ content: {
8579
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8580
+ };
8581
+ };
8582
+ /** @description Forbidden */
8583
+ 403: {
8584
+ headers: {
8585
+ /** @description API contract version used for the response */
8586
+ "Lbb-Version"?: string;
8587
+ /** @description Request correlation id */
8588
+ "X-Request-Id"?: string;
8589
+ [name: string]: unknown;
8590
+ };
8591
+ content: {
8592
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8593
+ };
8594
+ };
8595
+ /** @description Not found */
8596
+ 404: {
8597
+ headers: {
8598
+ /** @description API contract version used for the response */
8599
+ "Lbb-Version"?: string;
8600
+ /** @description Request correlation id */
8601
+ "X-Request-Id"?: string;
8602
+ [name: string]: unknown;
8603
+ };
8604
+ content: {
8605
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8606
+ };
8607
+ };
8608
+ /** @description Conflict */
8609
+ 409: {
8610
+ headers: {
8611
+ /** @description API contract version used for the response */
8612
+ "Lbb-Version"?: string;
8613
+ /** @description Request correlation id */
8614
+ "X-Request-Id"?: string;
8615
+ [name: string]: unknown;
8616
+ };
8617
+ content: {
8618
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8619
+ };
8620
+ };
8621
+ /** @description Rate limit exceeded */
8622
+ 429: {
8623
+ headers: {
8624
+ /** @description API contract version used for the response */
8625
+ "Lbb-Version"?: string;
8626
+ /** @description Request correlation id */
8627
+ "X-Request-Id"?: string;
8628
+ [name: string]: unknown;
8629
+ };
8630
+ content: {
8631
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8632
+ };
8633
+ };
8634
+ /** @description Internal server error */
8635
+ 500: {
8636
+ headers: {
8637
+ /** @description API contract version used for the response */
8638
+ "Lbb-Version"?: string;
8639
+ /** @description Request correlation id */
8640
+ "X-Request-Id"?: string;
8641
+ [name: string]: unknown;
8642
+ };
8643
+ content: {
8644
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8645
+ };
8646
+ };
8647
+ /** @description Service unavailable */
8648
+ 503: {
8649
+ headers: {
8650
+ /** @description API contract version used for the response */
8651
+ "Lbb-Version"?: string;
8652
+ /** @description Request correlation id */
8653
+ "X-Request-Id"?: string;
8654
+ [name: string]: unknown;
8655
+ };
8656
+ content: {
8657
+ "application/json": components["schemas"]["LbbErrorEnvelope"];
8658
+ };
8659
+ };
8660
+ };
7819
8661
  };
7820
- responses: never;
7821
- parameters: never;
7822
- requestBodies: never;
7823
- headers: never;
7824
- pathItems: never;
7825
- }
7826
- export type $defs = Record<string, never>;
7827
- export interface operations {
7828
- post_v1_ask: {
8662
+ get_v1_demo_datasets: {
7829
8663
  parameters: {
7830
8664
  query?: {
7831
8665
  /** @description Graph name (default `main`) */
@@ -7836,17 +8670,11 @@ export interface operations {
7836
8670
  header?: {
7837
8671
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
7838
8672
  "Lbb-Version"?: string;
7839
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
7840
- "Idempotency-Key"?: string;
7841
8673
  };
7842
8674
  path?: never;
7843
8675
  cookie?: never;
7844
8676
  };
7845
- requestBody: {
7846
- content: {
7847
- "application/json": components["schemas"]["AskRequest"];
7848
- };
7849
- };
8677
+ requestBody?: never;
7850
8678
  responses: {
7851
8679
  /** @description OK */
7852
8680
  200: {
@@ -7858,7 +8686,7 @@ export interface operations {
7858
8686
  [name: string]: unknown;
7859
8687
  };
7860
8688
  content: {
7861
- "application/json": components["schemas"]["AskResponse"];
8689
+ "application/json": Record<string, never>;
7862
8690
  };
7863
8691
  };
7864
8692
  /** @description Bad request */
@@ -7967,28 +8795,26 @@ export interface operations {
7967
8795
  };
7968
8796
  };
7969
8797
  };
7970
- post_v1_ask_feedback: {
8798
+ post_v1_demo_download_public_datasets: {
7971
8799
  parameters: {
7972
8800
  query?: {
7973
8801
  /** @description Graph name (default `main`) */
7974
8802
  graph?: string;
7975
8803
  /** @description Branch name (default `main`) */
7976
8804
  branch?: string;
8805
+ /** @description Public dataset id */
8806
+ dataset?: string;
7977
8807
  };
7978
8808
  header?: {
7979
8809
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
7980
8810
  "Lbb-Version"?: string;
7981
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
8811
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
7982
8812
  "Idempotency-Key"?: string;
7983
8813
  };
7984
8814
  path?: never;
7985
8815
  cookie?: never;
7986
8816
  };
7987
- requestBody: {
7988
- content: {
7989
- "application/json": components["schemas"]["AskFeedbackRequest"];
7990
- };
7991
- };
8817
+ requestBody?: never;
7992
8818
  responses: {
7993
8819
  /** @description OK */
7994
8820
  200: {
@@ -8000,7 +8826,7 @@ export interface operations {
8000
8826
  [name: string]: unknown;
8001
8827
  };
8002
8828
  content: {
8003
- "application/json": components["schemas"]["AskFeedbackResponse"];
8829
+ "application/json": Record<string, never>;
8004
8830
  };
8005
8831
  };
8006
8832
  /** @description Bad request */
@@ -8109,28 +8935,28 @@ export interface operations {
8109
8935
  };
8110
8936
  };
8111
8937
  };
8112
- post_v1_decode: {
8938
+ post_v1_demo_load: {
8113
8939
  parameters: {
8114
8940
  query?: {
8115
8941
  /** @description Graph name (default `main`) */
8116
8942
  graph?: string;
8117
8943
  /** @description Branch name (default `main`) */
8118
8944
  branch?: string;
8945
+ /** @description Dataset id */
8946
+ dataset?: string;
8947
+ /** @description Build indexes after loading */
8948
+ build?: string;
8119
8949
  };
8120
8950
  header?: {
8121
8951
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8122
8952
  "Lbb-Version"?: string;
8123
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
8953
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
8124
8954
  "Idempotency-Key"?: string;
8125
8955
  };
8126
8956
  path?: never;
8127
8957
  cookie?: never;
8128
8958
  };
8129
- requestBody: {
8130
- content: {
8131
- "application/json": components["schemas"]["DecodeRequest"];
8132
- };
8133
- };
8959
+ requestBody?: never;
8134
8960
  responses: {
8135
8961
  /** @description OK */
8136
8962
  200: {
@@ -8142,7 +8968,7 @@ export interface operations {
8142
8968
  [name: string]: unknown;
8143
8969
  };
8144
8970
  content: {
8145
- "application/json": components["schemas"]["DecodeResponse"];
8971
+ "application/json": Record<string, never>;
8146
8972
  };
8147
8973
  };
8148
8974
  /** @description Bad request */
@@ -8251,7 +9077,7 @@ export interface operations {
8251
9077
  };
8252
9078
  };
8253
9079
  };
8254
- get_v1_demo_datasets: {
9080
+ get_v1_demo_public_datasets: {
8255
9081
  parameters: {
8256
9082
  query?: {
8257
9083
  /** @description Graph name (default `main`) */
@@ -8387,20 +9213,22 @@ export interface operations {
8387
9213
  };
8388
9214
  };
8389
9215
  };
8390
- post_v1_demo_download_public_datasets: {
9216
+ post_v1_demo_run: {
8391
9217
  parameters: {
8392
9218
  query?: {
8393
9219
  /** @description Graph name (default `main`) */
8394
9220
  graph?: string;
8395
9221
  /** @description Branch name (default `main`) */
8396
9222
  branch?: string;
8397
- /** @description Public dataset id */
9223
+ /** @description Dataset id */
8398
9224
  dataset?: string;
9225
+ /** @description Index source: persisted or ephemeral */
9226
+ source?: string;
8399
9227
  };
8400
9228
  header?: {
8401
9229
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8402
9230
  "Lbb-Version"?: string;
8403
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
9231
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
8404
9232
  "Idempotency-Key"?: string;
8405
9233
  };
8406
9234
  path?: never;
@@ -8527,28 +9355,28 @@ export interface operations {
8527
9355
  };
8528
9356
  };
8529
9357
  };
8530
- post_v1_demo_load: {
9358
+ post_v1_graph_branch: {
8531
9359
  parameters: {
8532
9360
  query?: {
8533
9361
  /** @description Graph name (default `main`) */
8534
9362
  graph?: string;
8535
9363
  /** @description Branch name (default `main`) */
8536
9364
  branch?: string;
8537
- /** @description Dataset id */
8538
- dataset?: string;
8539
- /** @description Build indexes after loading */
8540
- build?: string;
8541
9365
  };
8542
9366
  header?: {
8543
9367
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8544
9368
  "Lbb-Version"?: string;
8545
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
9369
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
8546
9370
  "Idempotency-Key"?: string;
8547
9371
  };
8548
9372
  path?: never;
8549
9373
  cookie?: never;
8550
9374
  };
8551
- requestBody?: never;
9375
+ requestBody: {
9376
+ content: {
9377
+ "application/json": components["schemas"]["GraphBranchCreateRequest"];
9378
+ };
9379
+ };
8552
9380
  responses: {
8553
9381
  /** @description OK */
8554
9382
  200: {
@@ -8560,7 +9388,7 @@ export interface operations {
8560
9388
  [name: string]: unknown;
8561
9389
  };
8562
9390
  content: {
8563
- "application/json": Record<string, never>;
9391
+ "application/json": components["schemas"]["GraphBranchCreateResponse"];
8564
9392
  };
8565
9393
  };
8566
9394
  /** @description Bad request */
@@ -8669,7 +9497,7 @@ export interface operations {
8669
9497
  };
8670
9498
  };
8671
9499
  };
8672
- get_v1_demo_public_datasets: {
9500
+ post_v1_graph_branch_merge: {
8673
9501
  parameters: {
8674
9502
  query?: {
8675
9503
  /** @description Graph name (default `main`) */
@@ -8680,11 +9508,17 @@ export interface operations {
8680
9508
  header?: {
8681
9509
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8682
9510
  "Lbb-Version"?: string;
9511
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
9512
+ "Idempotency-Key"?: string;
8683
9513
  };
8684
9514
  path?: never;
8685
9515
  cookie?: never;
8686
9516
  };
8687
- requestBody?: never;
9517
+ requestBody: {
9518
+ content: {
9519
+ "application/json": components["schemas"]["GraphBranchMergeRequest"];
9520
+ };
9521
+ };
8688
9522
  responses: {
8689
9523
  /** @description OK */
8690
9524
  200: {
@@ -8696,7 +9530,7 @@ export interface operations {
8696
9530
  [name: string]: unknown;
8697
9531
  };
8698
9532
  content: {
8699
- "application/json": Record<string, never>;
9533
+ "application/json": components["schemas"]["GraphBranchMergeResponse"];
8700
9534
  };
8701
9535
  };
8702
9536
  /** @description Bad request */
@@ -8805,23 +9639,17 @@ export interface operations {
8805
9639
  };
8806
9640
  };
8807
9641
  };
8808
- post_v1_demo_run: {
9642
+ get_v1_graph_card: {
8809
9643
  parameters: {
8810
9644
  query?: {
8811
9645
  /** @description Graph name (default `main`) */
8812
9646
  graph?: string;
8813
9647
  /** @description Branch name (default `main`) */
8814
9648
  branch?: string;
8815
- /** @description Dataset id */
8816
- dataset?: string;
8817
- /** @description Index source: persisted or ephemeral */
8818
- source?: string;
8819
9649
  };
8820
9650
  header?: {
8821
9651
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8822
9652
  "Lbb-Version"?: string;
8823
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
8824
- "Idempotency-Key"?: string;
8825
9653
  };
8826
9654
  path?: never;
8827
9655
  cookie?: never;
@@ -8838,7 +9666,7 @@ export interface operations {
8838
9666
  [name: string]: unknown;
8839
9667
  };
8840
9668
  content: {
8841
- "application/json": Record<string, never>;
9669
+ "application/json": components["schemas"]["GraphCard"];
8842
9670
  };
8843
9671
  };
8844
9672
  /** @description Bad request */
@@ -8947,28 +9775,26 @@ export interface operations {
8947
9775
  };
8948
9776
  };
8949
9777
  };
8950
- post_v1_graph_branch: {
9778
+ get_v1_graph_changes: {
8951
9779
  parameters: {
8952
9780
  query?: {
8953
9781
  /** @description Graph name (default `main`) */
8954
9782
  graph?: string;
8955
9783
  /** @description Branch name (default `main`) */
8956
9784
  branch?: string;
9785
+ /** @description Exclusive lower bound commit_seq (default 0) */
9786
+ since?: string;
9787
+ /** @description Max records per page (default 500, max 5000) */
9788
+ limit?: string;
8957
9789
  };
8958
9790
  header?: {
8959
9791
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
8960
9792
  "Lbb-Version"?: string;
8961
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
8962
- "Idempotency-Key"?: string;
8963
9793
  };
8964
9794
  path?: never;
8965
9795
  cookie?: never;
8966
9796
  };
8967
- requestBody: {
8968
- content: {
8969
- "application/json": components["schemas"]["GraphBranchCreateRequest"];
8970
- };
8971
- };
9797
+ requestBody?: never;
8972
9798
  responses: {
8973
9799
  /** @description OK */
8974
9800
  200: {
@@ -8980,7 +9806,7 @@ export interface operations {
8980
9806
  [name: string]: unknown;
8981
9807
  };
8982
9808
  content: {
8983
- "application/json": components["schemas"]["GraphBranchCreateResponse"];
9809
+ "application/json": components["schemas"]["GraphChangesResponse"];
8984
9810
  };
8985
9811
  };
8986
9812
  /** @description Bad request */
@@ -9089,26 +9915,28 @@ export interface operations {
9089
9915
  };
9090
9916
  };
9091
9917
  };
9092
- post_v1_graph_branch_merge: {
9918
+ post_v1_graph_commit: {
9093
9919
  parameters: {
9094
9920
  query?: {
9095
9921
  /** @description Graph name (default `main`) */
9096
9922
  graph?: string;
9097
9923
  /** @description Branch name (default `main`) */
9098
9924
  branch?: string;
9925
+ /** @description Validate only and return a GraphCommitDryRunResponse without writing (no Idempotency-Key required) */
9926
+ dry_run?: string;
9099
9927
  };
9100
- header?: {
9928
+ header: {
9101
9929
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
9102
9930
  "Lbb-Version"?: string;
9103
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
9104
- "Idempotency-Key"?: string;
9931
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
9932
+ "Idempotency-Key": string;
9105
9933
  };
9106
9934
  path?: never;
9107
9935
  cookie?: never;
9108
9936
  };
9109
9937
  requestBody: {
9110
9938
  content: {
9111
- "application/json": components["schemas"]["GraphBranchMergeRequest"];
9939
+ "application/json": components["schemas"]["TripletCommitFile"];
9112
9940
  };
9113
9941
  };
9114
9942
  responses: {
@@ -9122,7 +9950,7 @@ export interface operations {
9122
9950
  [name: string]: unknown;
9123
9951
  };
9124
9952
  content: {
9125
- "application/json": components["schemas"]["GraphBranchMergeResponse"];
9953
+ "application/json": components["schemas"]["GraphCommitResponse"];
9126
9954
  };
9127
9955
  };
9128
9956
  /** @description Bad request */
@@ -9231,17 +10059,23 @@ export interface operations {
9231
10059
  };
9232
10060
  };
9233
10061
  };
9234
- get_v1_graph_card: {
10062
+ post_v1_graph_compact: {
9235
10063
  parameters: {
9236
10064
  query?: {
9237
10065
  /** @description Graph name (default `main`) */
9238
10066
  graph?: string;
9239
10067
  /** @description Branch name (default `main`) */
9240
10068
  branch?: string;
10069
+ /** @description Minimum tail commits before compaction */
10070
+ min_tail_commits?: string;
10071
+ /** @description Merge into at most this many segments */
10072
+ max_segments?: string;
9241
10073
  };
9242
10074
  header?: {
9243
10075
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
9244
10076
  "Lbb-Version"?: string;
10077
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10078
+ "Idempotency-Key"?: string;
9245
10079
  };
9246
10080
  path?: never;
9247
10081
  cookie?: never;
@@ -9258,7 +10092,7 @@ export interface operations {
9258
10092
  [name: string]: unknown;
9259
10093
  };
9260
10094
  content: {
9261
- "application/json": components["schemas"]["GraphCard"];
10095
+ "application/json": components["schemas"]["WalCompactResponse"];
9262
10096
  };
9263
10097
  };
9264
10098
  /** @description Bad request */
@@ -9367,21 +10201,19 @@ export interface operations {
9367
10201
  };
9368
10202
  };
9369
10203
  };
9370
- get_v1_graph_changes: {
10204
+ post_v1_graph_create: {
9371
10205
  parameters: {
9372
10206
  query?: {
9373
10207
  /** @description Graph name (default `main`) */
9374
10208
  graph?: string;
9375
10209
  /** @description Branch name (default `main`) */
9376
10210
  branch?: string;
9377
- /** @description Exclusive lower bound commit_seq (default 0) */
9378
- since?: string;
9379
- /** @description Max records per page (default 500, max 5000) */
9380
- limit?: string;
9381
10211
  };
9382
10212
  header?: {
9383
10213
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
9384
10214
  "Lbb-Version"?: string;
10215
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10216
+ "Idempotency-Key"?: string;
9385
10217
  };
9386
10218
  path?: never;
9387
10219
  cookie?: never;
@@ -9398,7 +10230,7 @@ export interface operations {
9398
10230
  [name: string]: unknown;
9399
10231
  };
9400
10232
  content: {
9401
- "application/json": components["schemas"]["GraphChangesResponse"];
10233
+ "application/json": components["schemas"]["CreateGraphResponse"];
9402
10234
  };
9403
10235
  };
9404
10236
  /** @description Bad request */
@@ -9507,30 +10339,26 @@ export interface operations {
9507
10339
  };
9508
10340
  };
9509
10341
  };
9510
- post_v1_graph_commit: {
10342
+ post_v1_graph_delete: {
9511
10343
  parameters: {
9512
10344
  query?: {
9513
10345
  /** @description Graph name (default `main`) */
9514
10346
  graph?: string;
9515
10347
  /** @description Branch name (default `main`) */
9516
10348
  branch?: string;
9517
- /** @description Validate only and return a GraphCommitDryRunResponse without writing (no Idempotency-Key required) */
9518
- dry_run?: string;
10349
+ /** @description Must equal the target graph id to authorize deletion */
10350
+ confirm?: string;
9519
10351
  };
9520
- header: {
10352
+ header?: {
9521
10353
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
9522
10354
  "Lbb-Version"?: string;
9523
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
9524
- "Idempotency-Key": string;
10355
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10356
+ "Idempotency-Key"?: string;
9525
10357
  };
9526
10358
  path?: never;
9527
10359
  cookie?: never;
9528
10360
  };
9529
- requestBody: {
9530
- content: {
9531
- "application/json": components["schemas"]["TripletCommitFile"];
9532
- };
9533
- };
10361
+ requestBody?: never;
9534
10362
  responses: {
9535
10363
  /** @description OK */
9536
10364
  200: {
@@ -9542,7 +10370,7 @@ export interface operations {
9542
10370
  [name: string]: unknown;
9543
10371
  };
9544
10372
  content: {
9545
- "application/json": components["schemas"]["GraphCommitResponse"];
10373
+ "application/json": Record<string, never>;
9546
10374
  };
9547
10375
  };
9548
10376
  /** @description Bad request */
@@ -9651,23 +10479,25 @@ export interface operations {
9651
10479
  };
9652
10480
  };
9653
10481
  };
9654
- post_v1_graph_compact: {
10482
+ get_v1_graph_edges: {
9655
10483
  parameters: {
9656
10484
  query?: {
9657
10485
  /** @description Graph name (default `main`) */
9658
10486
  graph?: string;
9659
10487
  /** @description Branch name (default `main`) */
9660
10488
  branch?: string;
9661
- /** @description Minimum tail commits before compaction */
9662
- min_tail_commits?: string;
9663
- /** @description Merge into at most this many segments */
9664
- max_segments?: string;
10489
+ /** @description Search text */
10490
+ q?: string;
10491
+ /** @description Relation filter */
10492
+ relation?: string;
10493
+ /** @description Max rows */
10494
+ limit?: string;
10495
+ /** @description Opaque cursor from the previous page (legacy `offset` also accepted) */
10496
+ cursor?: string;
9665
10497
  };
9666
10498
  header?: {
9667
10499
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
9668
10500
  "Lbb-Version"?: string;
9669
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
9670
- "Idempotency-Key"?: string;
9671
10501
  };
9672
10502
  path?: never;
9673
10503
  cookie?: never;
@@ -9684,7 +10514,7 @@ export interface operations {
9684
10514
  [name: string]: unknown;
9685
10515
  };
9686
10516
  content: {
9687
- "application/json": components["schemas"]["WalCompactResponse"];
10517
+ "application/json": Record<string, never>;
9688
10518
  };
9689
10519
  };
9690
10520
  /** @description Bad request */
@@ -9793,7 +10623,7 @@ export interface operations {
9793
10623
  };
9794
10624
  };
9795
10625
  };
9796
- post_v1_graph_create: {
10626
+ get_v1_graph_embedding: {
9797
10627
  parameters: {
9798
10628
  query?: {
9799
10629
  /** @description Graph name (default `main`) */
@@ -9804,8 +10634,6 @@ export interface operations {
9804
10634
  header?: {
9805
10635
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
9806
10636
  "Lbb-Version"?: string;
9807
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
9808
- "Idempotency-Key"?: string;
9809
10637
  };
9810
10638
  path?: never;
9811
10639
  cookie?: never;
@@ -9822,7 +10650,7 @@ export interface operations {
9822
10650
  [name: string]: unknown;
9823
10651
  };
9824
10652
  content: {
9825
- "application/json": components["schemas"]["CreateGraphResponse"];
10653
+ "application/json": components["schemas"]["ManagedEmbeddingConfigResponse"];
9826
10654
  };
9827
10655
  };
9828
10656
  /** @description Bad request */
@@ -9931,26 +10759,28 @@ export interface operations {
9931
10759
  };
9932
10760
  };
9933
10761
  };
9934
- post_v1_graph_delete: {
10762
+ post_v1_graph_embedding: {
9935
10763
  parameters: {
9936
10764
  query?: {
9937
10765
  /** @description Graph name (default `main`) */
9938
10766
  graph?: string;
9939
10767
  /** @description Branch name (default `main`) */
9940
10768
  branch?: string;
9941
- /** @description Must equal the target graph id to authorize deletion */
9942
- confirm?: string;
9943
10769
  };
9944
10770
  header?: {
9945
10771
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
9946
10772
  "Lbb-Version"?: string;
9947
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
10773
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
9948
10774
  "Idempotency-Key"?: string;
9949
10775
  };
9950
10776
  path?: never;
9951
10777
  cookie?: never;
9952
10778
  };
9953
- requestBody?: never;
10779
+ requestBody: {
10780
+ content: {
10781
+ "application/json": components["schemas"]["ManagedEmbeddingConfigRequest"];
10782
+ };
10783
+ };
9954
10784
  responses: {
9955
10785
  /** @description OK */
9956
10786
  200: {
@@ -9962,7 +10792,7 @@ export interface operations {
9962
10792
  [name: string]: unknown;
9963
10793
  };
9964
10794
  content: {
9965
- "application/json": Record<string, never>;
10795
+ "application/json": components["schemas"]["ManagedEmbeddingConfigResponse"];
9966
10796
  };
9967
10797
  };
9968
10798
  /** @description Bad request */
@@ -10071,30 +10901,34 @@ export interface operations {
10071
10901
  };
10072
10902
  };
10073
10903
  };
10074
- get_v1_graph_edges: {
10904
+ post_v1_graph_embedding_backfill: {
10075
10905
  parameters: {
10076
10906
  query?: {
10077
10907
  /** @description Graph name (default `main`) */
10078
10908
  graph?: string;
10079
10909
  /** @description Branch name (default `main`) */
10080
10910
  branch?: string;
10081
- /** @description Search text */
10082
- q?: string;
10083
- /** @description Relation filter */
10084
- relation?: string;
10085
- /** @description Max rows */
10911
+ /** @description Embedding batch size (default 128, max 512) */
10912
+ batch_size?: string;
10913
+ /** @description Maximum entities to consider (default 100000) */
10086
10914
  limit?: string;
10087
- /** @description Opaque cursor from the previous page (legacy `offset` also accepted) */
10088
- cursor?: string;
10915
+ /** @description Re-embed all entities instead of only new entities */
10916
+ full?: string;
10089
10917
  };
10090
10918
  header?: {
10091
10919
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
10092
10920
  "Lbb-Version"?: string;
10921
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10922
+ "Idempotency-Key"?: string;
10093
10923
  };
10094
10924
  path?: never;
10095
10925
  cookie?: never;
10096
10926
  };
10097
- requestBody?: never;
10927
+ requestBody: {
10928
+ content: {
10929
+ "application/json": components["schemas"]["ManagedEmbeddingBackfillJobRequest"];
10930
+ };
10931
+ };
10098
10932
  responses: {
10099
10933
  /** @description OK */
10100
10934
  200: {
@@ -10106,7 +10940,7 @@ export interface operations {
10106
10940
  [name: string]: unknown;
10107
10941
  };
10108
10942
  content: {
10109
- "application/json": Record<string, never>;
10943
+ "application/json": components["schemas"]["ManagedEmbeddingBackfillJobStatusResponse"];
10110
10944
  };
10111
10945
  };
10112
10946
  /** @description Bad request */
@@ -10215,13 +11049,15 @@ export interface operations {
10215
11049
  };
10216
11050
  };
10217
11051
  };
10218
- get_v1_graph_embedding: {
11052
+ get_v1_graph_embedding_backfill_jobs: {
10219
11053
  parameters: {
10220
11054
  query?: {
10221
11055
  /** @description Graph name (default `main`) */
10222
11056
  graph?: string;
10223
11057
  /** @description Branch name (default `main`) */
10224
11058
  branch?: string;
11059
+ /** @description Stable backfill job id */
11060
+ job_id?: string;
10225
11061
  };
10226
11062
  header?: {
10227
11063
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
@@ -10242,7 +11078,7 @@ export interface operations {
10242
11078
  [name: string]: unknown;
10243
11079
  };
10244
11080
  content: {
10245
- "application/json": components["schemas"]["ManagedEmbeddingConfigResponse"];
11081
+ "application/json": components["schemas"]["ManagedEmbeddingBackfillJobStatusResponse"];
10246
11082
  };
10247
11083
  };
10248
11084
  /** @description Bad request */
@@ -10351,7 +11187,7 @@ export interface operations {
10351
11187
  };
10352
11188
  };
10353
11189
  };
10354
- post_v1_graph_embedding: {
11190
+ post_v1_graph_embedding_backfill_jobs: {
10355
11191
  parameters: {
10356
11192
  query?: {
10357
11193
  /** @description Graph name (default `main`) */
@@ -10362,7 +11198,7 @@ export interface operations {
10362
11198
  header?: {
10363
11199
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
10364
11200
  "Lbb-Version"?: string;
10365
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
11201
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10366
11202
  "Idempotency-Key"?: string;
10367
11203
  };
10368
11204
  path?: never;
@@ -10370,7 +11206,7 @@ export interface operations {
10370
11206
  };
10371
11207
  requestBody: {
10372
11208
  content: {
10373
- "application/json": components["schemas"]["ManagedEmbeddingConfigRequest"];
11209
+ "application/json": components["schemas"]["ManagedEmbeddingBackfillJobRequest"];
10374
11210
  };
10375
11211
  };
10376
11212
  responses: {
@@ -10384,7 +11220,7 @@ export interface operations {
10384
11220
  [name: string]: unknown;
10385
11221
  };
10386
11222
  content: {
10387
- "application/json": components["schemas"]["ManagedEmbeddingConfigResponse"];
11223
+ "application/json": components["schemas"]["ManagedEmbeddingBackfillJobStatusResponse"];
10388
11224
  };
10389
11225
  };
10390
11226
  /** @description Bad request */
@@ -10493,24 +11329,20 @@ export interface operations {
10493
11329
  };
10494
11330
  };
10495
11331
  };
10496
- post_v1_graph_embedding_backfill: {
11332
+ delete_v1_graph_embedding_backfill_jobs: {
10497
11333
  parameters: {
10498
11334
  query?: {
10499
11335
  /** @description Graph name (default `main`) */
10500
11336
  graph?: string;
10501
11337
  /** @description Branch name (default `main`) */
10502
11338
  branch?: string;
10503
- /** @description Embedding batch size (default 128, max 512) */
10504
- batch_size?: string;
10505
- /** @description Maximum entities to consider (default 100000) */
10506
- limit?: string;
10507
- /** @description Re-embed all entities instead of only new entities */
10508
- full?: string;
11339
+ /** @description Stable backfill job id */
11340
+ job_id?: string;
10509
11341
  };
10510
11342
  header?: {
10511
11343
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
10512
11344
  "Lbb-Version"?: string;
10513
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
11345
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10514
11346
  "Idempotency-Key"?: string;
10515
11347
  };
10516
11348
  path?: never;
@@ -10528,7 +11360,7 @@ export interface operations {
10528
11360
  [name: string]: unknown;
10529
11361
  };
10530
11362
  content: {
10531
- "application/json": components["schemas"]["ManagedEmbeddingBackfillResponse"];
11363
+ "application/json": components["schemas"]["ManagedEmbeddingBackfillJobStatusResponse"];
10532
11364
  };
10533
11365
  };
10534
11366
  /** @description Bad request */
@@ -10652,7 +11484,7 @@ export interface operations {
10652
11484
  header?: {
10653
11485
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
10654
11486
  "Lbb-Version"?: string;
10655
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
11487
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10656
11488
  "Idempotency-Key"?: string;
10657
11489
  };
10658
11490
  path?: never;
@@ -10938,7 +11770,7 @@ export interface operations {
10938
11770
  header?: {
10939
11771
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
10940
11772
  "Lbb-Version"?: string;
10941
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
11773
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
10942
11774
  "Idempotency-Key"?: string;
10943
11775
  };
10944
11776
  path?: never;
@@ -11794,7 +12626,7 @@ export interface operations {
11794
12626
  header?: {
11795
12627
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
11796
12628
  "Lbb-Version"?: string;
11797
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
12629
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
11798
12630
  "Idempotency-Key"?: string;
11799
12631
  };
11800
12632
  path?: never;
@@ -12230,7 +13062,7 @@ export interface operations {
12230
13062
  header?: {
12231
13063
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
12232
13064
  "Lbb-Version"?: string;
12233
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
13065
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
12234
13066
  "Idempotency-Key"?: string;
12235
13067
  };
12236
13068
  path?: never;
@@ -12386,7 +13218,7 @@ export interface operations {
12386
13218
  header?: {
12387
13219
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
12388
13220
  "Lbb-Version"?: string;
12389
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
13221
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
12390
13222
  "Idempotency-Key"?: string;
12391
13223
  };
12392
13224
  path?: never;
@@ -12802,7 +13634,7 @@ export interface operations {
12802
13634
  header?: {
12803
13635
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
12804
13636
  "Lbb-Version"?: string;
12805
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
13637
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
12806
13638
  "Idempotency-Key"?: string;
12807
13639
  };
12808
13640
  path?: never;
@@ -12944,7 +13776,7 @@ export interface operations {
12944
13776
  header?: {
12945
13777
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
12946
13778
  "Lbb-Version"?: string;
12947
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
13779
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
12948
13780
  "Idempotency-Key"?: string;
12949
13781
  };
12950
13782
  path?: never;
@@ -13086,7 +13918,7 @@ export interface operations {
13086
13918
  header?: {
13087
13919
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
13088
13920
  "Lbb-Version"?: string;
13089
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
13921
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
13090
13922
  "Idempotency-Key"?: string;
13091
13923
  };
13092
13924
  path?: never;
@@ -13228,7 +14060,7 @@ export interface operations {
13228
14060
  header?: {
13229
14061
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
13230
14062
  "Lbb-Version"?: string;
13231
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
14063
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
13232
14064
  "Idempotency-Key"?: string;
13233
14065
  };
13234
14066
  path?: never;
@@ -13648,7 +14480,7 @@ export interface operations {
13648
14480
  header?: {
13649
14481
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
13650
14482
  "Lbb-Version"?: string;
13651
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
14483
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
13652
14484
  "Idempotency-Key"?: string;
13653
14485
  };
13654
14486
  path?: never;
@@ -14070,7 +14902,7 @@ export interface operations {
14070
14902
  header?: {
14071
14903
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
14072
14904
  "Lbb-Version"?: string;
14073
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
14905
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
14074
14906
  "Idempotency-Key"?: string;
14075
14907
  };
14076
14908
  path?: never;
@@ -14212,7 +15044,7 @@ export interface operations {
14212
15044
  header?: {
14213
15045
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
14214
15046
  "Lbb-Version"?: string;
14215
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
15047
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
14216
15048
  "Idempotency-Key"?: string;
14217
15049
  };
14218
15050
  path?: never;
@@ -14356,7 +15188,7 @@ export interface operations {
14356
15188
  header?: {
14357
15189
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
14358
15190
  "Lbb-Version"?: string;
14359
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
15191
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
14360
15192
  "Idempotency-Key"?: string;
14361
15193
  };
14362
15194
  path?: never;
@@ -14632,7 +15464,7 @@ export interface operations {
14632
15464
  header?: {
14633
15465
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
14634
15466
  "Lbb-Version"?: string;
14635
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
15467
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
14636
15468
  "Idempotency-Key"?: string;
14637
15469
  };
14638
15470
  path?: never;
@@ -14776,7 +15608,7 @@ export interface operations {
14776
15608
  header?: {
14777
15609
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
14778
15610
  "Lbb-Version"?: string;
14779
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
15611
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
14780
15612
  "Idempotency-Key"?: string;
14781
15613
  };
14782
15614
  path?: never;
@@ -14918,7 +15750,7 @@ export interface operations {
14918
15750
  header?: {
14919
15751
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
14920
15752
  "Lbb-Version"?: string;
14921
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
15753
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
14922
15754
  "Idempotency-Key"?: string;
14923
15755
  };
14924
15756
  path?: never;
@@ -15196,7 +16028,7 @@ export interface operations {
15196
16028
  header?: {
15197
16029
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
15198
16030
  "Lbb-Version"?: string;
15199
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
16031
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
15200
16032
  "Idempotency-Key"?: string;
15201
16033
  };
15202
16034
  path?: never;
@@ -15338,7 +16170,7 @@ export interface operations {
15338
16170
  header?: {
15339
16171
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
15340
16172
  "Lbb-Version"?: string;
15341
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
16173
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
15342
16174
  "Idempotency-Key"?: string;
15343
16175
  };
15344
16176
  path?: never;
@@ -15480,7 +16312,7 @@ export interface operations {
15480
16312
  header?: {
15481
16313
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
15482
16314
  "Lbb-Version"?: string;
15483
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
16315
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
15484
16316
  "Idempotency-Key"?: string;
15485
16317
  };
15486
16318
  path?: never;
@@ -16184,7 +17016,7 @@ export interface operations {
16184
17016
  header?: {
16185
17017
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
16186
17018
  "Lbb-Version"?: string;
16187
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
17019
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
16188
17020
  "Idempotency-Key"?: string;
16189
17021
  };
16190
17022
  path?: never;
@@ -16326,7 +17158,7 @@ export interface operations {
16326
17158
  header?: {
16327
17159
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
16328
17160
  "Lbb-Version"?: string;
16329
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
17161
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
16330
17162
  "Idempotency-Key"?: string;
16331
17163
  };
16332
17164
  path?: never;
@@ -16468,7 +17300,7 @@ export interface operations {
16468
17300
  header?: {
16469
17301
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
16470
17302
  "Lbb-Version"?: string;
16471
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
17303
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
16472
17304
  "Idempotency-Key"?: string;
16473
17305
  };
16474
17306
  path?: never;
@@ -16606,7 +17438,7 @@ export interface operations {
16606
17438
  header?: {
16607
17439
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
16608
17440
  "Lbb-Version"?: string;
16609
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
17441
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
16610
17442
  "Idempotency-Key"?: string;
16611
17443
  };
16612
17444
  path?: never;
@@ -16890,7 +17722,7 @@ export interface operations {
16890
17722
  header?: {
16891
17723
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
16892
17724
  "Lbb-Version"?: string;
16893
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
17725
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
16894
17726
  "Idempotency-Key"?: string;
16895
17727
  };
16896
17728
  path?: never;
@@ -17028,7 +17860,7 @@ export interface operations {
17028
17860
  header?: {
17029
17861
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
17030
17862
  "Lbb-Version"?: string;
17031
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
17863
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
17032
17864
  "Idempotency-Key"?: string;
17033
17865
  };
17034
17866
  path?: never;
@@ -17726,7 +18558,7 @@ export interface operations {
17726
18558
  header?: {
17727
18559
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
17728
18560
  "Lbb-Version"?: string;
17729
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
18561
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
17730
18562
  "Idempotency-Key"?: string;
17731
18563
  };
17732
18564
  path?: never;
@@ -17868,7 +18700,7 @@ export interface operations {
17868
18700
  header?: {
17869
18701
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
17870
18702
  "Lbb-Version"?: string;
17871
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
18703
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
17872
18704
  "Idempotency-Key"?: string;
17873
18705
  };
17874
18706
  path?: never;
@@ -18146,7 +18978,7 @@ export interface operations {
18146
18978
  header?: {
18147
18979
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
18148
18980
  "Lbb-Version"?: string;
18149
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
18981
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
18150
18982
  "Idempotency-Key"?: string;
18151
18983
  };
18152
18984
  path?: never;
@@ -18560,7 +19392,7 @@ export interface operations {
18560
19392
  header?: {
18561
19393
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
18562
19394
  "Lbb-Version"?: string;
18563
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
19395
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
18564
19396
  "Idempotency-Key"?: string;
18565
19397
  };
18566
19398
  path?: never;
@@ -18840,7 +19672,7 @@ export interface operations {
18840
19672
  header?: {
18841
19673
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
18842
19674
  "Lbb-Version"?: string;
18843
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
19675
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
18844
19676
  "Idempotency-Key"?: string;
18845
19677
  };
18846
19678
  path?: never;
@@ -18984,7 +19816,7 @@ export interface operations {
18984
19816
  header: {
18985
19817
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
18986
19818
  "Lbb-Version"?: string;
18987
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
19819
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
18988
19820
  "Idempotency-Key": string;
18989
19821
  };
18990
19822
  path?: never;
@@ -19126,7 +19958,7 @@ export interface operations {
19126
19958
  header?: {
19127
19959
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
19128
19960
  "Lbb-Version"?: string;
19129
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
19961
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
19130
19962
  "Idempotency-Key"?: string;
19131
19963
  };
19132
19964
  path?: never;
@@ -19266,7 +20098,7 @@ export interface operations {
19266
20098
  header?: {
19267
20099
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
19268
20100
  "Lbb-Version"?: string;
19269
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
20101
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
19270
20102
  "Idempotency-Key"?: string;
19271
20103
  };
19272
20104
  path?: never;
@@ -19406,7 +20238,7 @@ export interface operations {
19406
20238
  header?: {
19407
20239
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
19408
20240
  "Lbb-Version"?: string;
19409
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
20241
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
19410
20242
  "Idempotency-Key"?: string;
19411
20243
  };
19412
20244
  path?: never;
@@ -19548,7 +20380,7 @@ export interface operations {
19548
20380
  header?: {
19549
20381
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
19550
20382
  "Lbb-Version"?: string;
19551
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
20383
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
19552
20384
  "Idempotency-Key"?: string;
19553
20385
  };
19554
20386
  path?: never;
@@ -19690,7 +20522,7 @@ export interface operations {
19690
20522
  header?: {
19691
20523
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
19692
20524
  "Lbb-Version"?: string;
19693
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
20525
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
19694
20526
  "Idempotency-Key"?: string;
19695
20527
  };
19696
20528
  path?: never;
@@ -19832,7 +20664,7 @@ export interface operations {
19832
20664
  header?: {
19833
20665
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
19834
20666
  "Lbb-Version"?: string;
19835
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
20667
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
19836
20668
  "Idempotency-Key"?: string;
19837
20669
  };
19838
20670
  path?: never;
@@ -19974,7 +20806,7 @@ export interface operations {
19974
20806
  header?: {
19975
20807
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
19976
20808
  "Lbb-Version"?: string;
19977
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
20809
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
19978
20810
  "Idempotency-Key"?: string;
19979
20811
  };
19980
20812
  path?: never;
@@ -20116,7 +20948,7 @@ export interface operations {
20116
20948
  header?: {
20117
20949
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
20118
20950
  "Lbb-Version"?: string;
20119
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
20951
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
20120
20952
  "Idempotency-Key"?: string;
20121
20953
  };
20122
20954
  path?: never;
@@ -20258,7 +21090,7 @@ export interface operations {
20258
21090
  header?: {
20259
21091
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
20260
21092
  "Lbb-Version"?: string;
20261
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
21093
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
20262
21094
  "Idempotency-Key"?: string;
20263
21095
  };
20264
21096
  path?: never;
@@ -20400,7 +21232,7 @@ export interface operations {
20400
21232
  header?: {
20401
21233
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
20402
21234
  "Lbb-Version"?: string;
20403
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
21235
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
20404
21236
  "Idempotency-Key"?: string;
20405
21237
  };
20406
21238
  path?: never;
@@ -20542,7 +21374,7 @@ export interface operations {
20542
21374
  header?: {
20543
21375
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
20544
21376
  "Lbb-Version"?: string;
20545
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
21377
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
20546
21378
  "Idempotency-Key"?: string;
20547
21379
  };
20548
21380
  path?: never;
@@ -20684,7 +21516,7 @@ export interface operations {
20684
21516
  header?: {
20685
21517
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
20686
21518
  "Lbb-Version"?: string;
20687
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
21519
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
20688
21520
  "Idempotency-Key"?: string;
20689
21521
  };
20690
21522
  path?: never;
@@ -20826,7 +21658,7 @@ export interface operations {
20826
21658
  header?: {
20827
21659
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
20828
21660
  "Lbb-Version"?: string;
20829
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
21661
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
20830
21662
  "Idempotency-Key"?: string;
20831
21663
  };
20832
21664
  path?: never;
@@ -20968,7 +21800,7 @@ export interface operations {
20968
21800
  header?: {
20969
21801
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
20970
21802
  "Lbb-Version"?: string;
20971
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
21803
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
20972
21804
  "Idempotency-Key"?: string;
20973
21805
  };
20974
21806
  path?: never;
@@ -21110,7 +21942,7 @@ export interface operations {
21110
21942
  header?: {
21111
21943
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
21112
21944
  "Lbb-Version"?: string;
21113
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
21945
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
21114
21946
  "Idempotency-Key"?: string;
21115
21947
  };
21116
21948
  path?: never;
@@ -21392,7 +22224,7 @@ export interface operations {
21392
22224
  header?: {
21393
22225
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
21394
22226
  "Lbb-Version"?: string;
21395
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
22227
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
21396
22228
  "Idempotency-Key"?: string;
21397
22229
  };
21398
22230
  path?: never;
@@ -21532,7 +22364,7 @@ export interface operations {
21532
22364
  header?: {
21533
22365
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
21534
22366
  "Lbb-Version"?: string;
21535
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
22367
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
21536
22368
  "Idempotency-Key"?: string;
21537
22369
  };
21538
22370
  path?: never;
@@ -21674,7 +22506,7 @@ export interface operations {
21674
22506
  header?: {
21675
22507
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
21676
22508
  "Lbb-Version"?: string;
21677
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
22509
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
21678
22510
  "Idempotency-Key"?: string;
21679
22511
  };
21680
22512
  path?: never;
@@ -21960,7 +22792,7 @@ export interface operations {
21960
22792
  header?: {
21961
22793
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
21962
22794
  "Lbb-Version"?: string;
21963
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
22795
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
21964
22796
  "Idempotency-Key"?: string;
21965
22797
  };
21966
22798
  path?: never;
@@ -22102,7 +22934,7 @@ export interface operations {
22102
22934
  header?: {
22103
22935
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
22104
22936
  "Lbb-Version"?: string;
22105
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
22937
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
22106
22938
  "Idempotency-Key"?: string;
22107
22939
  };
22108
22940
  path?: never;
@@ -22244,7 +23076,7 @@ export interface operations {
22244
23076
  header?: {
22245
23077
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
22246
23078
  "Lbb-Version"?: string;
22247
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
23079
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
22248
23080
  "Idempotency-Key"?: string;
22249
23081
  };
22250
23082
  path?: never;
@@ -22658,7 +23490,7 @@ export interface operations {
22658
23490
  header?: {
22659
23491
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
22660
23492
  "Lbb-Version"?: string;
22661
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
23493
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
22662
23494
  "Idempotency-Key"?: string;
22663
23495
  };
22664
23496
  path?: never;
@@ -22800,7 +23632,7 @@ export interface operations {
22800
23632
  header?: {
22801
23633
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
22802
23634
  "Lbb-Version"?: string;
22803
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
23635
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
22804
23636
  "Idempotency-Key"?: string;
22805
23637
  };
22806
23638
  path?: never;
@@ -22942,7 +23774,7 @@ export interface operations {
22942
23774
  header?: {
22943
23775
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
22944
23776
  "Lbb-Version"?: string;
22945
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
23777
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
22946
23778
  "Idempotency-Key"?: string;
22947
23779
  };
22948
23780
  path?: never;
@@ -23084,7 +23916,7 @@ export interface operations {
23084
23916
  header?: {
23085
23917
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
23086
23918
  "Lbb-Version"?: string;
23087
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
23919
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
23088
23920
  "Idempotency-Key"?: string;
23089
23921
  };
23090
23922
  path?: never;
@@ -23226,7 +24058,7 @@ export interface operations {
23226
24058
  header?: {
23227
24059
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
23228
24060
  "Lbb-Version"?: string;
23229
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
24061
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
23230
24062
  "Idempotency-Key"?: string;
23231
24063
  };
23232
24064
  path?: never;
@@ -23364,7 +24196,7 @@ export interface operations {
23364
24196
  header?: {
23365
24197
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
23366
24198
  "Lbb-Version"?: string;
23367
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
24199
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
23368
24200
  "Idempotency-Key"?: string;
23369
24201
  };
23370
24202
  path?: never;
@@ -23506,7 +24338,7 @@ export interface operations {
23506
24338
  header?: {
23507
24339
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
23508
24340
  "Lbb-Version"?: string;
23509
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
24341
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
23510
24342
  "Idempotency-Key"?: string;
23511
24343
  };
23512
24344
  path?: never;
@@ -23648,7 +24480,7 @@ export interface operations {
23648
24480
  header?: {
23649
24481
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
23650
24482
  "Lbb-Version"?: string;
23651
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
24483
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
23652
24484
  "Idempotency-Key"?: string;
23653
24485
  };
23654
24486
  path?: never;
@@ -24069,11 +24901,11 @@ export interface operations {
24069
24901
  /** @description Branch name (default `main`) */
24070
24902
  branch?: string;
24071
24903
  };
24072
- header?: {
24904
+ header: {
24073
24905
  /** @description API contract version to pin. Use `2026-06-22` for this beta-breaking shape. */
24074
24906
  "Lbb-Version"?: string;
24075
- /** @description Stable client-generated key for safely retrying mutations. Required for fact commits. */
24076
- "Idempotency-Key"?: string;
24907
+ /** @description Stable client-generated key for safely retrying mutations and supervision writes. */
24908
+ "Idempotency-Key": string;
24077
24909
  };
24078
24910
  path?: never;
24079
24911
  cookie?: never;