@vibexp/api-client 0.7.0 → 0.9.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/axios/index.d.ts +2 -2
- package/dist/axios/index.js +1 -1
- package/dist/axios/sdk.gen.d.ts +53 -17
- package/dist/axios/sdk.gen.js +104 -29
- package/dist/axios/types.gen.d.ts +225 -113
- package/dist/schema.d.ts +407 -190
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1322,35 +1322,6 @@ export interface paths {
|
|
|
1322
1322
|
patch?: never;
|
|
1323
1323
|
trace?: never;
|
|
1324
1324
|
};
|
|
1325
|
-
"/bo/v1/embeddings/backfill": {
|
|
1326
|
-
parameters: {
|
|
1327
|
-
query?: never;
|
|
1328
|
-
header?: never;
|
|
1329
|
-
path?: never;
|
|
1330
|
-
cookie?: never;
|
|
1331
|
-
};
|
|
1332
|
-
get?: never;
|
|
1333
|
-
put?: never;
|
|
1334
|
-
/**
|
|
1335
|
-
* Regenerate embeddings
|
|
1336
|
-
* @description Republishes the `.created` event for embeddable entities (prompts,
|
|
1337
|
-
* artifacts, memories, blueprints, and feed items) so the embedding pipeline
|
|
1338
|
-
* regenerates vectors under the currently configured embedding model. This is
|
|
1339
|
-
* the operational step after an embedding model or dimension change. The
|
|
1340
|
-
* operation is idempotent (the pipeline uses delete-then-insert per entity).
|
|
1341
|
-
*
|
|
1342
|
-
* The scope is explicit: the request body must set exactly one of `all` or a
|
|
1343
|
-
* non-empty `entity_types`. Set `missing_only` to limit the run to entities
|
|
1344
|
-
* that lack an embedding for the configured model. This endpoint is for
|
|
1345
|
-
* administrative purposes only and requires the back office admin API key.
|
|
1346
|
-
*/
|
|
1347
|
-
post: operations["backfillEmbeddings"];
|
|
1348
|
-
delete?: never;
|
|
1349
|
-
options?: never;
|
|
1350
|
-
head?: never;
|
|
1351
|
-
patch?: never;
|
|
1352
|
-
trace?: never;
|
|
1353
|
-
};
|
|
1354
1325
|
"/api/v1/{team_id}/integrations/github/status": {
|
|
1355
1326
|
parameters: {
|
|
1356
1327
|
query?: never;
|
|
@@ -2708,6 +2679,34 @@ export interface paths {
|
|
|
2708
2679
|
patch?: never;
|
|
2709
2680
|
trace?: never;
|
|
2710
2681
|
};
|
|
2682
|
+
"/api/v1/{team_id}/embedding-providers/coverage": {
|
|
2683
|
+
parameters: {
|
|
2684
|
+
query?: never;
|
|
2685
|
+
header?: never;
|
|
2686
|
+
path: {
|
|
2687
|
+
/** @description Team whose embedding coverage is reported. */
|
|
2688
|
+
team_id: string;
|
|
2689
|
+
};
|
|
2690
|
+
cookie?: never;
|
|
2691
|
+
};
|
|
2692
|
+
/**
|
|
2693
|
+
* Get embedding coverage
|
|
2694
|
+
* @description Returns derived, team-scoped embedding coverage per entity type under the
|
|
2695
|
+
* team's active provider model: how many entities exist (`total`), how many
|
|
2696
|
+
* have an embedding (`embedded`), how many are still pending, and the
|
|
2697
|
+
* embedded percentage. Counts are computed from existing rows — there is no
|
|
2698
|
+
* per-entity state. When the team has no active provider, the response
|
|
2699
|
+
* reports every type as all-pending (0%) rather than an error.
|
|
2700
|
+
*/
|
|
2701
|
+
get: operations["getEmbeddingCoverage"];
|
|
2702
|
+
put?: never;
|
|
2703
|
+
post?: never;
|
|
2704
|
+
delete?: never;
|
|
2705
|
+
options?: never;
|
|
2706
|
+
head?: never;
|
|
2707
|
+
patch?: never;
|
|
2708
|
+
trace?: never;
|
|
2709
|
+
};
|
|
2711
2710
|
"/api/v1/{team_id}/embedding-providers/{id}": {
|
|
2712
2711
|
parameters: {
|
|
2713
2712
|
query?: never;
|
|
@@ -2745,6 +2744,40 @@ export interface paths {
|
|
|
2745
2744
|
patch?: never;
|
|
2746
2745
|
trace?: never;
|
|
2747
2746
|
};
|
|
2747
|
+
"/api/v1/{team_id}/embedding-providers/{id}/reprocess": {
|
|
2748
|
+
parameters: {
|
|
2749
|
+
query?: never;
|
|
2750
|
+
header?: never;
|
|
2751
|
+
path: {
|
|
2752
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2753
|
+
team_id: string;
|
|
2754
|
+
};
|
|
2755
|
+
cookie?: never;
|
|
2756
|
+
};
|
|
2757
|
+
get?: never;
|
|
2758
|
+
put?: never;
|
|
2759
|
+
/**
|
|
2760
|
+
* Reprocess missing embeddings
|
|
2761
|
+
* @description Re-drives embedding generation for the team's entities that are still
|
|
2762
|
+
* missing an embedding, through the concurrency-bounded embedding path so a
|
|
2763
|
+
* large run never fans out beyond the provider's configured concurrency. It
|
|
2764
|
+
* is the sanctioned replacement for the removed back-office backfill
|
|
2765
|
+
* endpoint.
|
|
2766
|
+
*
|
|
2767
|
+
* The provider `{id}` is validated and authorized, but the work is
|
|
2768
|
+
* team-scoped: an embedding provider is per-team, so reprocess enqueues the
|
|
2769
|
+
* team's entity set (generated via the team's active provider). It returns
|
|
2770
|
+
* 202 immediately and runs in the background; generation is idempotent
|
|
2771
|
+
* (delete-then-insert per entity) and a per-team in-flight guard makes
|
|
2772
|
+
* repeat calls safe (no double fan-out).
|
|
2773
|
+
*/
|
|
2774
|
+
post: operations["reprocessEmbeddingProvider"];
|
|
2775
|
+
delete?: never;
|
|
2776
|
+
options?: never;
|
|
2777
|
+
head?: never;
|
|
2778
|
+
patch?: never;
|
|
2779
|
+
trace?: never;
|
|
2780
|
+
};
|
|
2748
2781
|
"/api/v1/{team_id}/embedding-providers/validate": {
|
|
2749
2782
|
parameters: {
|
|
2750
2783
|
query?: never;
|
|
@@ -2803,6 +2836,31 @@ export interface paths {
|
|
|
2803
2836
|
patch?: never;
|
|
2804
2837
|
trace?: never;
|
|
2805
2838
|
};
|
|
2839
|
+
"/api/v1/{team_id}/settings/embedding-providers/coverage": {
|
|
2840
|
+
parameters: {
|
|
2841
|
+
query?: never;
|
|
2842
|
+
header?: never;
|
|
2843
|
+
path: {
|
|
2844
|
+
/** @description Team whose embedding coverage is reported. */
|
|
2845
|
+
team_id: string;
|
|
2846
|
+
};
|
|
2847
|
+
cookie?: never;
|
|
2848
|
+
};
|
|
2849
|
+
/**
|
|
2850
|
+
* Get embedding coverage (Settings)
|
|
2851
|
+
* @description Returns derived, team-scoped embedding coverage per entity type under the
|
|
2852
|
+
* team's active provider model (settings route). See `getEmbeddingCoverage`
|
|
2853
|
+
* for the payload semantics.
|
|
2854
|
+
*/
|
|
2855
|
+
get: operations["getEmbeddingCoverageSettings"];
|
|
2856
|
+
put?: never;
|
|
2857
|
+
post?: never;
|
|
2858
|
+
delete?: never;
|
|
2859
|
+
options?: never;
|
|
2860
|
+
head?: never;
|
|
2861
|
+
patch?: never;
|
|
2862
|
+
trace?: never;
|
|
2863
|
+
};
|
|
2806
2864
|
"/api/v1/{team_id}/settings/embedding-providers/{id}": {
|
|
2807
2865
|
parameters: {
|
|
2808
2866
|
query?: never;
|
|
@@ -2841,6 +2899,35 @@ export interface paths {
|
|
|
2841
2899
|
patch?: never;
|
|
2842
2900
|
trace?: never;
|
|
2843
2901
|
};
|
|
2902
|
+
"/api/v1/{team_id}/settings/embedding-providers/{id}/reprocess": {
|
|
2903
|
+
parameters: {
|
|
2904
|
+
query?: never;
|
|
2905
|
+
header?: never;
|
|
2906
|
+
path: {
|
|
2907
|
+
/** @description Team that owns the embedding provider(s). */
|
|
2908
|
+
team_id: string;
|
|
2909
|
+
};
|
|
2910
|
+
cookie?: never;
|
|
2911
|
+
};
|
|
2912
|
+
get?: never;
|
|
2913
|
+
put?: never;
|
|
2914
|
+
/**
|
|
2915
|
+
* Reprocess missing embeddings (Settings)
|
|
2916
|
+
* @description Re-drives embedding generation for the team's entities that are still
|
|
2917
|
+
* missing an embedding, through the concurrency-bounded embedding path
|
|
2918
|
+
* (settings route). The provider `{id}` is validated and authorized, but the
|
|
2919
|
+
* work is team-scoped: an embedding provider is per-team, so reprocess
|
|
2920
|
+
* enqueues the team's entity set. It returns 202 immediately and runs in the
|
|
2921
|
+
* background; generation is idempotent and a per-team in-flight guard makes
|
|
2922
|
+
* repeat calls safe.
|
|
2923
|
+
*/
|
|
2924
|
+
post: operations["reprocessEmbeddingProviderSettings"];
|
|
2925
|
+
delete?: never;
|
|
2926
|
+
options?: never;
|
|
2927
|
+
head?: never;
|
|
2928
|
+
patch?: never;
|
|
2929
|
+
trace?: never;
|
|
2930
|
+
};
|
|
2844
2931
|
"/api/v1/{team_id}/settings/embedding-providers/validate": {
|
|
2845
2932
|
parameters: {
|
|
2846
2933
|
query?: never;
|
|
@@ -4108,6 +4195,11 @@ export interface components {
|
|
|
4108
4195
|
* @example 200
|
|
4109
4196
|
*/
|
|
4110
4197
|
chunk_overlap: number;
|
|
4198
|
+
/**
|
|
4199
|
+
* @description Maximum number of simultaneous embedding requests VibeXP issues to this provider. Keep at 1 for single-threaded providers.
|
|
4200
|
+
* @example 1
|
|
4201
|
+
*/
|
|
4202
|
+
concurrency: number;
|
|
4111
4203
|
/** @example false */
|
|
4112
4204
|
is_default: boolean;
|
|
4113
4205
|
/**
|
|
@@ -4152,6 +4244,11 @@ export interface components {
|
|
|
4152
4244
|
* @example 200
|
|
4153
4245
|
*/
|
|
4154
4246
|
chunk_overlap?: number;
|
|
4247
|
+
/**
|
|
4248
|
+
* @description Optional max simultaneous embedding requests to this provider; defaults to 1 when omitted.
|
|
4249
|
+
* @example 1
|
|
4250
|
+
*/
|
|
4251
|
+
concurrency?: number;
|
|
4155
4252
|
/** @example false */
|
|
4156
4253
|
is_default?: boolean;
|
|
4157
4254
|
/**
|
|
@@ -4170,6 +4267,7 @@ export interface components {
|
|
|
4170
4267
|
model?: string;
|
|
4171
4268
|
chunk_size?: number;
|
|
4172
4269
|
chunk_overlap?: number;
|
|
4270
|
+
concurrency?: number;
|
|
4173
4271
|
is_default?: boolean;
|
|
4174
4272
|
/** Format: uri */
|
|
4175
4273
|
base_url?: string;
|
|
@@ -4222,6 +4320,53 @@ export interface components {
|
|
|
4222
4320
|
error_details?: string;
|
|
4223
4321
|
};
|
|
4224
4322
|
};
|
|
4323
|
+
/** @description Embedding coverage for a single entity type: how many entities exist, how many have an embedding under the team's active model, how many are still pending, and the embedded percentage. */
|
|
4324
|
+
EmbeddingCoverageItem: {
|
|
4325
|
+
/**
|
|
4326
|
+
* @description The embeddable entity type this row reports on.
|
|
4327
|
+
* @example prompt
|
|
4328
|
+
* @enum {string}
|
|
4329
|
+
*/
|
|
4330
|
+
entity_type: "prompt" | "artifact" | "memory" | "blueprint" | "feed_item";
|
|
4331
|
+
/**
|
|
4332
|
+
* Format: int64
|
|
4333
|
+
* @description Total embeddable entities of this type owned by the team.
|
|
4334
|
+
* @example 120
|
|
4335
|
+
*/
|
|
4336
|
+
total: number;
|
|
4337
|
+
/**
|
|
4338
|
+
* Format: int64
|
|
4339
|
+
* @description Entities of this type that already have an embedding under the team's active model.
|
|
4340
|
+
* @example 90
|
|
4341
|
+
*/
|
|
4342
|
+
embedded: number;
|
|
4343
|
+
/**
|
|
4344
|
+
* Format: int64
|
|
4345
|
+
* @description Entities still missing an embedding (total − embedded).
|
|
4346
|
+
* @example 30
|
|
4347
|
+
*/
|
|
4348
|
+
pending: number;
|
|
4349
|
+
/**
|
|
4350
|
+
* @description Rounded percentage of entities embedded (embedded / total * 100); 0 when there are no entities of this type.
|
|
4351
|
+
* @example 75
|
|
4352
|
+
*/
|
|
4353
|
+
embedded_percent: number;
|
|
4354
|
+
};
|
|
4355
|
+
/** @description Derived, team-scoped embedding coverage per entity type under the team's active provider model. Counts are computed from existing rows (no per-entity state); a non-decreasing pending count is the signal that embedding is stuck. When the team has no active provider, has_active_provider is false, active_model is null, and every type reports all entities as pending (0%). */
|
|
4356
|
+
EmbeddingCoverageResponse: {
|
|
4357
|
+
/**
|
|
4358
|
+
* @description Whether the team has an active embedding provider configured.
|
|
4359
|
+
* @example true
|
|
4360
|
+
*/
|
|
4361
|
+
has_active_provider: boolean;
|
|
4362
|
+
/**
|
|
4363
|
+
* @description The active provider's embedding model the embedded counts are measured against, or null when no provider is configured.
|
|
4364
|
+
* @example text-embedding-3-small
|
|
4365
|
+
*/
|
|
4366
|
+
active_model: string | null;
|
|
4367
|
+
/** @description One entry per embeddable entity type, in a stable order. */
|
|
4368
|
+
coverage: components["schemas"]["EmbeddingCoverageItem"][];
|
|
4369
|
+
};
|
|
4225
4370
|
ResourceUsageItem: {
|
|
4226
4371
|
/**
|
|
4227
4372
|
* @description Type of resource (e.g., prompt, memory, artifact)
|
|
@@ -4586,11 +4731,10 @@ export interface components {
|
|
|
4586
4731
|
*/
|
|
4587
4732
|
description?: string;
|
|
4588
4733
|
/**
|
|
4589
|
-
* @description Type category of the artifact
|
|
4734
|
+
* @description Type category of the artifact. An open string validated at runtime against the team's registered types (the system defaults work_reports, static_contexts and general, plus any custom types the team has added), not a fixed enum.
|
|
4590
4735
|
* @example general
|
|
4591
|
-
* @enum {string}
|
|
4592
4736
|
*/
|
|
4593
|
-
type:
|
|
4737
|
+
type: string;
|
|
4594
4738
|
/**
|
|
4595
4739
|
* @description Additional metadata as key-value pairs
|
|
4596
4740
|
* @example {
|
|
@@ -4633,11 +4777,10 @@ export interface components {
|
|
|
4633
4777
|
*/
|
|
4634
4778
|
description?: string;
|
|
4635
4779
|
/**
|
|
4636
|
-
* @description Type category of the artifact
|
|
4780
|
+
* @description Type category of the artifact. An open string validated at runtime against the team's registered types (the system defaults work_reports, static_contexts and general, plus any custom types the team has added), not a fixed enum. Defaults to general when omitted.
|
|
4637
4781
|
* @example general
|
|
4638
|
-
* @enum {string}
|
|
4639
4782
|
*/
|
|
4640
|
-
type?:
|
|
4783
|
+
type?: string;
|
|
4641
4784
|
/**
|
|
4642
4785
|
* @description Initial status of the artifact
|
|
4643
4786
|
* @example active
|
|
@@ -4686,11 +4829,10 @@ export interface components {
|
|
|
4686
4829
|
*/
|
|
4687
4830
|
description?: string;
|
|
4688
4831
|
/**
|
|
4689
|
-
* @description Updated type category of the artifact
|
|
4832
|
+
* @description Updated type category of the artifact. An open string validated at runtime against the team's registered types (the system defaults work_reports, static_contexts and general, plus any custom types the team has added), not a fixed enum.
|
|
4690
4833
|
* @example general
|
|
4691
|
-
* @enum {string}
|
|
4692
4834
|
*/
|
|
4693
|
-
type?:
|
|
4835
|
+
type?: string;
|
|
4694
4836
|
/**
|
|
4695
4837
|
* @description Updated status of the artifact
|
|
4696
4838
|
* @example active
|
|
@@ -5370,6 +5512,12 @@ export interface components {
|
|
|
5370
5512
|
version: number;
|
|
5371
5513
|
};
|
|
5372
5514
|
CreateMemoryRequest: {
|
|
5515
|
+
/**
|
|
5516
|
+
* Format: uuid
|
|
5517
|
+
* @description UUID of the project this memory belongs to
|
|
5518
|
+
* @example 01234567-89ab-cdef-0123-456789abcdef
|
|
5519
|
+
*/
|
|
5520
|
+
project_id: string;
|
|
5373
5521
|
/**
|
|
5374
5522
|
* @description The text content of the memory
|
|
5375
5523
|
* @example Remember to update the API documentation when adding new endpoints
|
|
@@ -5394,6 +5542,12 @@ export interface components {
|
|
|
5394
5542
|
};
|
|
5395
5543
|
};
|
|
5396
5544
|
UpdateMemoryRequest: {
|
|
5545
|
+
/**
|
|
5546
|
+
* Format: uuid
|
|
5547
|
+
* @description New project UUID for the memory (moves it between projects)
|
|
5548
|
+
* @example 01234567-89ab-cdef-0123-456789abcdef
|
|
5549
|
+
*/
|
|
5550
|
+
project_id?: string;
|
|
5397
5551
|
/**
|
|
5398
5552
|
* @description Updated text content of the memory
|
|
5399
5553
|
* @example Updated reminder to include versioning in API documentation
|
|
@@ -5844,51 +5998,27 @@ export interface components {
|
|
|
5844
5998
|
*/
|
|
5845
5999
|
installed: boolean;
|
|
5846
6000
|
/**
|
|
5847
|
-
*
|
|
5848
|
-
* @description GitHub installation ID (present when installed is true)
|
|
5849
|
-
* @example 12345678
|
|
5850
|
-
*/
|
|
5851
|
-
installation_id?: number;
|
|
5852
|
-
/**
|
|
5853
|
-
* @description GitHub account or organization login that installed the app
|
|
6001
|
+
* @description GitHub account or organization login that installed the app (present when installed is true)
|
|
5854
6002
|
* @example my-org
|
|
5855
6003
|
*/
|
|
5856
6004
|
account_login?: string;
|
|
5857
6005
|
/**
|
|
5858
|
-
*
|
|
5859
|
-
* @
|
|
5860
|
-
* @
|
|
5861
|
-
*/
|
|
5862
|
-
account_type?: "User" | "Organization";
|
|
5863
|
-
/**
|
|
5864
|
-
* @description Target type of the installation
|
|
5865
|
-
* @example Organization
|
|
5866
|
-
*/
|
|
5867
|
-
target_type?: string;
|
|
5868
|
-
/**
|
|
5869
|
-
* @description Permissions granted by the installation
|
|
5870
|
-
* @example {
|
|
5871
|
-
* "contents": "read",
|
|
5872
|
-
* "metadata": "read"
|
|
5873
|
-
* }
|
|
6006
|
+
* Format: int64
|
|
6007
|
+
* @description GitHub installation ID (present when installed is true)
|
|
6008
|
+
* @example 12345678
|
|
5874
6009
|
*/
|
|
5875
|
-
|
|
5876
|
-
[key: string]: string;
|
|
5877
|
-
};
|
|
6010
|
+
installation_id?: number;
|
|
5878
6011
|
/**
|
|
5879
|
-
* @description
|
|
5880
|
-
* @example
|
|
5881
|
-
* "push",
|
|
5882
|
-
* "pull_request"
|
|
5883
|
-
* ]
|
|
6012
|
+
* @description Whether the installation is currently suspended
|
|
6013
|
+
* @example false
|
|
5884
6014
|
*/
|
|
5885
|
-
|
|
6015
|
+
suspended?: boolean;
|
|
5886
6016
|
/**
|
|
5887
6017
|
* Format: date-time
|
|
5888
|
-
* @description When the
|
|
5889
|
-
* @example
|
|
6018
|
+
* @description When the GitHub App was installed (present when installed is true)
|
|
6019
|
+
* @example 2024-01-15T10:30:00Z
|
|
5890
6020
|
*/
|
|
5891
|
-
|
|
6021
|
+
installed_at?: string;
|
|
5892
6022
|
};
|
|
5893
6023
|
/** @description A GitHub repository accessible by the installation */
|
|
5894
6024
|
GitHubRepository: {
|
|
@@ -6058,7 +6188,7 @@ export interface components {
|
|
|
6058
6188
|
/** @description Details of files that failed to import */
|
|
6059
6189
|
failed_items: components["schemas"]["BlueprintImportFailed"][];
|
|
6060
6190
|
/** @description Details of files successfully imported */
|
|
6061
|
-
|
|
6191
|
+
successful_items: components["schemas"]["BlueprintImportSuccess"][];
|
|
6062
6192
|
/** @description Details of files that were skipped */
|
|
6063
6193
|
skipped_items: components["schemas"]["BlueprintImportSkipped"][];
|
|
6064
6194
|
};
|
|
@@ -6132,63 +6262,6 @@ export interface components {
|
|
|
6132
6262
|
/** @description Total number of agent executions run by user */
|
|
6133
6263
|
total_agent_executions_run?: number;
|
|
6134
6264
|
};
|
|
6135
|
-
/** @description Configuration for an embedding backfill run. The scope is explicit: set exactly one of `all` or a non-empty `entity_types`. Sending neither, or both, is rejected with a 400. */
|
|
6136
|
-
EmbeddingBackfillRequest: {
|
|
6137
|
-
/**
|
|
6138
|
-
* @description Backfill every supported entity type. Mutually exclusive with `entity_types`.
|
|
6139
|
-
* @default false
|
|
6140
|
-
*/
|
|
6141
|
-
all: boolean;
|
|
6142
|
-
/**
|
|
6143
|
-
* @description Restrict the run to these entity types. Mutually exclusive with `all`.
|
|
6144
|
-
* @example [
|
|
6145
|
-
* "prompt",
|
|
6146
|
-
* "artifact"
|
|
6147
|
-
* ]
|
|
6148
|
-
*/
|
|
6149
|
-
entity_types?: ("prompt" | "artifact" | "memory" | "blueprint" | "feed_item")[];
|
|
6150
|
-
/**
|
|
6151
|
-
* @description When true, only publish for entities that do not already have an embedding for the currently configured model. Honored by `dry_run`.
|
|
6152
|
-
* @default false
|
|
6153
|
-
*/
|
|
6154
|
-
missing_only: boolean;
|
|
6155
|
-
/**
|
|
6156
|
-
* @description When true, count the entities that would be republished without publishing any event.
|
|
6157
|
-
* @default false
|
|
6158
|
-
*/
|
|
6159
|
-
dry_run: boolean;
|
|
6160
|
-
};
|
|
6161
|
-
/** @description Per-entity-type outcome of a backfill run. */
|
|
6162
|
-
EmbeddingBackfillTypeResult: {
|
|
6163
|
-
/** @example prompt */
|
|
6164
|
-
entity_type: string;
|
|
6165
|
-
/**
|
|
6166
|
-
* @description Number of source entities seen for this type.
|
|
6167
|
-
* @example 42
|
|
6168
|
-
*/
|
|
6169
|
-
total: number;
|
|
6170
|
-
/**
|
|
6171
|
-
* @description Number of `.created` events successfully republished (0 on a dry run).
|
|
6172
|
-
* @example 42
|
|
6173
|
-
*/
|
|
6174
|
-
published: number;
|
|
6175
|
-
/**
|
|
6176
|
-
* @description Number of entities whose event publish failed (log-and-continue).
|
|
6177
|
-
* @example 0
|
|
6178
|
-
*/
|
|
6179
|
-
failed: number;
|
|
6180
|
-
};
|
|
6181
|
-
/** @description Aggregated result of an embedding backfill run. */
|
|
6182
|
-
EmbeddingBackfillResult: {
|
|
6183
|
-
dry_run: boolean;
|
|
6184
|
-
results: components["schemas"]["EmbeddingBackfillTypeResult"][];
|
|
6185
|
-
/** @example 42 */
|
|
6186
|
-
total_seen: number;
|
|
6187
|
-
/** @example 42 */
|
|
6188
|
-
total_published: number;
|
|
6189
|
-
/** @example 0 */
|
|
6190
|
-
total_failed: number;
|
|
6191
|
-
};
|
|
6192
6265
|
/** @description Usage and growth data response */
|
|
6193
6266
|
UsageAndGrowthResponse: {
|
|
6194
6267
|
/** @description Weekly usage metrics */
|
|
@@ -8384,8 +8457,8 @@ export interface operations {
|
|
|
8384
8457
|
project_id?: string;
|
|
8385
8458
|
/** @description Filter by status */
|
|
8386
8459
|
status?: "active" | "draft" | "archived";
|
|
8387
|
-
/** @description Filter by type */
|
|
8388
|
-
type?:
|
|
8460
|
+
/** @description Filter by type. An open string matched against the team's registered types (the system defaults work_reports, static_contexts and general, plus any custom types the team has added), not a fixed enum. */
|
|
8461
|
+
type?: string;
|
|
8389
8462
|
/** @description Search in title, description, and content */
|
|
8390
8463
|
search?: string;
|
|
8391
8464
|
/** @description Sort field */
|
|
@@ -8544,8 +8617,8 @@ export interface operations {
|
|
|
8544
8617
|
query?: {
|
|
8545
8618
|
/** @description Filter by status */
|
|
8546
8619
|
status?: "active" | "draft" | "archived";
|
|
8547
|
-
/** @description Filter by type */
|
|
8548
|
-
type?:
|
|
8620
|
+
/** @description Filter by type. An open string matched against the team's registered types (the system defaults work_reports, static_contexts and general, plus any custom types the team has added), not a fixed enum. */
|
|
8621
|
+
type?: string;
|
|
8549
8622
|
/** @description Search in title, description, and content */
|
|
8550
8623
|
search?: string;
|
|
8551
8624
|
/** @description Sort field */
|
|
@@ -9586,6 +9659,8 @@ export interface operations {
|
|
|
9586
9659
|
listMemories: {
|
|
9587
9660
|
parameters: {
|
|
9588
9661
|
query?: {
|
|
9662
|
+
/** @description Filter memories by project ID */
|
|
9663
|
+
project_id?: string;
|
|
9589
9664
|
/** @description Search in memory text */
|
|
9590
9665
|
search?: string;
|
|
9591
9666
|
/** @description Filter by metadata key */
|
|
@@ -9680,6 +9755,8 @@ export interface operations {
|
|
|
9680
9755
|
searchMemoriesByMetadata: {
|
|
9681
9756
|
parameters: {
|
|
9682
9757
|
query: {
|
|
9758
|
+
/** @description Filter memories by project ID */
|
|
9759
|
+
project_id?: string;
|
|
9683
9760
|
/** @description Metadata key to search for */
|
|
9684
9761
|
metadata_key: string;
|
|
9685
9762
|
/** @description Metadata value to search for */
|
|
@@ -12034,57 +12111,6 @@ export interface operations {
|
|
|
12034
12111
|
};
|
|
12035
12112
|
};
|
|
12036
12113
|
};
|
|
12037
|
-
backfillEmbeddings: {
|
|
12038
|
-
parameters: {
|
|
12039
|
-
query?: never;
|
|
12040
|
-
header?: never;
|
|
12041
|
-
path?: never;
|
|
12042
|
-
cookie?: never;
|
|
12043
|
-
};
|
|
12044
|
-
requestBody: {
|
|
12045
|
-
content: {
|
|
12046
|
-
"application/json": components["schemas"]["EmbeddingBackfillRequest"];
|
|
12047
|
-
};
|
|
12048
|
-
};
|
|
12049
|
-
responses: {
|
|
12050
|
-
/** @description Backfill completed; per-entity-type and aggregate counts returned. */
|
|
12051
|
-
200: {
|
|
12052
|
-
headers: {
|
|
12053
|
-
[name: string]: unknown;
|
|
12054
|
-
};
|
|
12055
|
-
content: {
|
|
12056
|
-
"application/json": components["schemas"]["EmbeddingBackfillResult"];
|
|
12057
|
-
};
|
|
12058
|
-
};
|
|
12059
|
-
/** @description Invalid request body, no scope (`all` and `entity_types` both empty), an ambiguous scope (both `all` and `entity_types` set), or an unsupported entity type was requested. */
|
|
12060
|
-
400: {
|
|
12061
|
-
headers: {
|
|
12062
|
-
[name: string]: unknown;
|
|
12063
|
-
};
|
|
12064
|
-
content: {
|
|
12065
|
-
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
12066
|
-
};
|
|
12067
|
-
};
|
|
12068
|
-
/** @description Unauthorized - Missing or invalid back office admin API key */
|
|
12069
|
-
401: {
|
|
12070
|
-
headers: {
|
|
12071
|
-
[name: string]: unknown;
|
|
12072
|
-
};
|
|
12073
|
-
content: {
|
|
12074
|
-
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
12075
|
-
};
|
|
12076
|
-
};
|
|
12077
|
-
/** @description Internal server error */
|
|
12078
|
-
500: {
|
|
12079
|
-
headers: {
|
|
12080
|
-
[name: string]: unknown;
|
|
12081
|
-
};
|
|
12082
|
-
content: {
|
|
12083
|
-
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
12084
|
-
};
|
|
12085
|
-
};
|
|
12086
|
-
};
|
|
12087
|
-
};
|
|
12088
12114
|
getGitHubStatus: {
|
|
12089
12115
|
parameters: {
|
|
12090
12116
|
query?: never;
|
|
@@ -12204,6 +12230,11 @@ export interface operations {
|
|
|
12204
12230
|
* @example 12345678
|
|
12205
12231
|
*/
|
|
12206
12232
|
installation_id: number;
|
|
12233
|
+
/**
|
|
12234
|
+
* @description Setup action reported by GitHub on the callback URL (e.g. "install"). Accepted for forward compatibility but currently ignored server-side.
|
|
12235
|
+
* @example install
|
|
12236
|
+
*/
|
|
12237
|
+
setup_action?: string;
|
|
12207
12238
|
/**
|
|
12208
12239
|
* @description HMAC-signed state parameter from the install URL (CSRF protection)
|
|
12209
12240
|
* @example team-id:1234567890:signature
|
|
@@ -12352,9 +12383,9 @@ export interface operations {
|
|
|
12352
12383
|
};
|
|
12353
12384
|
content: {
|
|
12354
12385
|
"application/json": {
|
|
12355
|
-
project
|
|
12386
|
+
project: components["schemas"]["Project"];
|
|
12356
12387
|
/** @example false */
|
|
12357
|
-
created
|
|
12388
|
+
created: boolean;
|
|
12358
12389
|
/** @example Project already exists for this repository */
|
|
12359
12390
|
message?: string;
|
|
12360
12391
|
};
|
|
@@ -12367,9 +12398,9 @@ export interface operations {
|
|
|
12367
12398
|
};
|
|
12368
12399
|
content: {
|
|
12369
12400
|
"application/json": {
|
|
12370
|
-
project
|
|
12401
|
+
project: components["schemas"]["Project"];
|
|
12371
12402
|
/** @example true */
|
|
12372
|
-
created
|
|
12403
|
+
created: boolean;
|
|
12373
12404
|
};
|
|
12374
12405
|
};
|
|
12375
12406
|
};
|
|
@@ -16991,6 +17022,47 @@ export interface operations {
|
|
|
16991
17022
|
};
|
|
16992
17023
|
};
|
|
16993
17024
|
};
|
|
17025
|
+
getEmbeddingCoverage: {
|
|
17026
|
+
parameters: {
|
|
17027
|
+
query?: never;
|
|
17028
|
+
header?: never;
|
|
17029
|
+
path: {
|
|
17030
|
+
/** @description Team whose embedding coverage is reported. */
|
|
17031
|
+
team_id: string;
|
|
17032
|
+
};
|
|
17033
|
+
cookie?: never;
|
|
17034
|
+
};
|
|
17035
|
+
requestBody?: never;
|
|
17036
|
+
responses: {
|
|
17037
|
+
/** @description Embedding coverage retrieved successfully */
|
|
17038
|
+
200: {
|
|
17039
|
+
headers: {
|
|
17040
|
+
[name: string]: unknown;
|
|
17041
|
+
};
|
|
17042
|
+
content: {
|
|
17043
|
+
"application/json": components["schemas"]["EmbeddingCoverageResponse"];
|
|
17044
|
+
};
|
|
17045
|
+
};
|
|
17046
|
+
/** @description Unauthorized */
|
|
17047
|
+
401: {
|
|
17048
|
+
headers: {
|
|
17049
|
+
[name: string]: unknown;
|
|
17050
|
+
};
|
|
17051
|
+
content: {
|
|
17052
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17053
|
+
};
|
|
17054
|
+
};
|
|
17055
|
+
/** @description Failed to retrieve embedding coverage (`DATABASE_ERROR`) */
|
|
17056
|
+
500: {
|
|
17057
|
+
headers: {
|
|
17058
|
+
[name: string]: unknown;
|
|
17059
|
+
};
|
|
17060
|
+
content: {
|
|
17061
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17062
|
+
};
|
|
17063
|
+
};
|
|
17064
|
+
};
|
|
17065
|
+
};
|
|
16994
17066
|
getEmbeddingProvider: {
|
|
16995
17067
|
parameters: {
|
|
16996
17068
|
query?: never;
|
|
@@ -17167,6 +17239,58 @@ export interface operations {
|
|
|
17167
17239
|
};
|
|
17168
17240
|
};
|
|
17169
17241
|
};
|
|
17242
|
+
reprocessEmbeddingProvider: {
|
|
17243
|
+
parameters: {
|
|
17244
|
+
query?: never;
|
|
17245
|
+
header?: never;
|
|
17246
|
+
path: {
|
|
17247
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17248
|
+
team_id: string;
|
|
17249
|
+
/** @description Embedding provider ID */
|
|
17250
|
+
id: string;
|
|
17251
|
+
};
|
|
17252
|
+
cookie?: never;
|
|
17253
|
+
};
|
|
17254
|
+
requestBody?: never;
|
|
17255
|
+
responses: {
|
|
17256
|
+
/** @description Reprocess accepted; embeddings are regenerated in the background. */
|
|
17257
|
+
202: {
|
|
17258
|
+
headers: {
|
|
17259
|
+
[name: string]: unknown;
|
|
17260
|
+
};
|
|
17261
|
+
content: {
|
|
17262
|
+
"application/json": components["schemas"]["SuccessResponse"];
|
|
17263
|
+
};
|
|
17264
|
+
};
|
|
17265
|
+
/** @description Unauthorized */
|
|
17266
|
+
401: {
|
|
17267
|
+
headers: {
|
|
17268
|
+
[name: string]: unknown;
|
|
17269
|
+
};
|
|
17270
|
+
content: {
|
|
17271
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17272
|
+
};
|
|
17273
|
+
};
|
|
17274
|
+
/** @description Embedding provider not found (`PROVIDER_NOT_FOUND`) */
|
|
17275
|
+
404: {
|
|
17276
|
+
headers: {
|
|
17277
|
+
[name: string]: unknown;
|
|
17278
|
+
};
|
|
17279
|
+
content: {
|
|
17280
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17281
|
+
};
|
|
17282
|
+
};
|
|
17283
|
+
/** @description Failed to load the provider before reprocess (`DATABASE_ERROR`) */
|
|
17284
|
+
500: {
|
|
17285
|
+
headers: {
|
|
17286
|
+
[name: string]: unknown;
|
|
17287
|
+
};
|
|
17288
|
+
content: {
|
|
17289
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17290
|
+
};
|
|
17291
|
+
};
|
|
17292
|
+
};
|
|
17293
|
+
};
|
|
17170
17294
|
validateEmbeddingProvider: {
|
|
17171
17295
|
parameters: {
|
|
17172
17296
|
query?: never;
|
|
@@ -17325,6 +17449,47 @@ export interface operations {
|
|
|
17325
17449
|
};
|
|
17326
17450
|
};
|
|
17327
17451
|
};
|
|
17452
|
+
getEmbeddingCoverageSettings: {
|
|
17453
|
+
parameters: {
|
|
17454
|
+
query?: never;
|
|
17455
|
+
header?: never;
|
|
17456
|
+
path: {
|
|
17457
|
+
/** @description Team whose embedding coverage is reported. */
|
|
17458
|
+
team_id: string;
|
|
17459
|
+
};
|
|
17460
|
+
cookie?: never;
|
|
17461
|
+
};
|
|
17462
|
+
requestBody?: never;
|
|
17463
|
+
responses: {
|
|
17464
|
+
/** @description Embedding coverage retrieved successfully */
|
|
17465
|
+
200: {
|
|
17466
|
+
headers: {
|
|
17467
|
+
[name: string]: unknown;
|
|
17468
|
+
};
|
|
17469
|
+
content: {
|
|
17470
|
+
"application/json": components["schemas"]["EmbeddingCoverageResponse"];
|
|
17471
|
+
};
|
|
17472
|
+
};
|
|
17473
|
+
/** @description Unauthorized */
|
|
17474
|
+
401: {
|
|
17475
|
+
headers: {
|
|
17476
|
+
[name: string]: unknown;
|
|
17477
|
+
};
|
|
17478
|
+
content: {
|
|
17479
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17480
|
+
};
|
|
17481
|
+
};
|
|
17482
|
+
/** @description Failed to retrieve embedding coverage (`DATABASE_ERROR`) */
|
|
17483
|
+
500: {
|
|
17484
|
+
headers: {
|
|
17485
|
+
[name: string]: unknown;
|
|
17486
|
+
};
|
|
17487
|
+
content: {
|
|
17488
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17489
|
+
};
|
|
17490
|
+
};
|
|
17491
|
+
};
|
|
17492
|
+
};
|
|
17328
17493
|
getEmbeddingProviderSettings: {
|
|
17329
17494
|
parameters: {
|
|
17330
17495
|
query?: never;
|
|
@@ -17501,6 +17666,58 @@ export interface operations {
|
|
|
17501
17666
|
};
|
|
17502
17667
|
};
|
|
17503
17668
|
};
|
|
17669
|
+
reprocessEmbeddingProviderSettings: {
|
|
17670
|
+
parameters: {
|
|
17671
|
+
query?: never;
|
|
17672
|
+
header?: never;
|
|
17673
|
+
path: {
|
|
17674
|
+
/** @description Team that owns the embedding provider(s). */
|
|
17675
|
+
team_id: string;
|
|
17676
|
+
/** @description Embedding provider ID */
|
|
17677
|
+
id: string;
|
|
17678
|
+
};
|
|
17679
|
+
cookie?: never;
|
|
17680
|
+
};
|
|
17681
|
+
requestBody?: never;
|
|
17682
|
+
responses: {
|
|
17683
|
+
/** @description Reprocess accepted; embeddings are regenerated in the background. */
|
|
17684
|
+
202: {
|
|
17685
|
+
headers: {
|
|
17686
|
+
[name: string]: unknown;
|
|
17687
|
+
};
|
|
17688
|
+
content: {
|
|
17689
|
+
"application/json": components["schemas"]["SuccessResponse"];
|
|
17690
|
+
};
|
|
17691
|
+
};
|
|
17692
|
+
/** @description Unauthorized */
|
|
17693
|
+
401: {
|
|
17694
|
+
headers: {
|
|
17695
|
+
[name: string]: unknown;
|
|
17696
|
+
};
|
|
17697
|
+
content: {
|
|
17698
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17699
|
+
};
|
|
17700
|
+
};
|
|
17701
|
+
/** @description Embedding provider not found (`PROVIDER_NOT_FOUND`) */
|
|
17702
|
+
404: {
|
|
17703
|
+
headers: {
|
|
17704
|
+
[name: string]: unknown;
|
|
17705
|
+
};
|
|
17706
|
+
content: {
|
|
17707
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17708
|
+
};
|
|
17709
|
+
};
|
|
17710
|
+
/** @description Failed to load the provider before reprocess (`DATABASE_ERROR`) */
|
|
17711
|
+
500: {
|
|
17712
|
+
headers: {
|
|
17713
|
+
[name: string]: unknown;
|
|
17714
|
+
};
|
|
17715
|
+
content: {
|
|
17716
|
+
"application/problem+json": components["schemas"]["ErrorResponse"];
|
|
17717
|
+
};
|
|
17718
|
+
};
|
|
17719
|
+
};
|
|
17720
|
+
};
|
|
17504
17721
|
validateEmbeddingProviderSettings: {
|
|
17505
17722
|
parameters: {
|
|
17506
17723
|
query?: never;
|