-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmixedbread-api-keys-api-openapi.yml
More file actions
8290 lines (8271 loc) · 249 KB
/
mixedbread-api-keys-api-openapi.yml
File metadata and controls
8290 lines (8271 loc) · 249 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.1.0
info:
title: Mixedbread API Keys API
version: 0.1.0
description: Mixedbread api-keys endpoints extracted from the canonical OpenAPI spec at https://api.mixedbread.com/openapi.json
servers:
- url: https://api.mixedbread.com
description: mixedbread ai production server
- url: https://api.dev.mixedbread.com
description: mixedbread ai development server
- url: http://127.0.0.1:8000
description: mixedbread local server
- url: http://localhost:8000
description: mixedbread local server
paths:
/v1/api-keys:
post:
tags:
- api_keys
summary: Create API key
description: "Create a new API key.\n\nArgs:\n params: The parameters for creating the API key.\n\nReturns:\n \
\ ApiKeyCreated: The response containing the details of the created API key."
operationId: create_api_key
security:
- ApiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyCreateParams'
responses:
'201':
description: The created API key details
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyCreated'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- api_keys
summary: List API keys
description: "List all API keys for the authenticated user.\n\nArgs:\n pagination: The pagination options\n\nReturns:\n\
\ A list of API keys belonging to the user."
operationId: list_api_keys
security:
- ApiKeyAuth: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
description: Maximum number of items to return per page
default: 100
title: Limit
description: Maximum number of items to return per page
- name: offset
in: query
required: false
schema:
type: integer
description: Offset of the first item to return
default: 0
title: Offset
description: Offset of the first item to return
responses:
'200':
description: A list of API keys for the user
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/api-keys/{api_key_id}:
get:
tags:
- api_keys
summary: Get API key details
description: "Retrieve details of a specific API key by its ID.\n\nArgs:\n api_key_id: The ID of the API key to retrieve.\n\
\nReturns:\n ApiKey: The response containing the API key details."
operationId: retrieve_api_key
security:
- ApiKeyAuth: []
parameters:
- name: api_key_id
in: path
required: true
schema:
type: string
format: uuid
description: The ID of the API key to retrieve
title: Api Key Id
description: The ID of the API key to retrieve
responses:
'200':
description: The details of the requested API key
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKey'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- api_keys
summary: Update API key
description: "Update a specific API key by its ID.\n\nArgs:\n api_key_id: The ID of the API key to update.\n params:\
\ The parameters to update.\n\nReturns:\n ApiKey: The updated API key details."
operationId: update_api_key
security:
- ApiKeyAuth: []
parameters:
- name: api_key_id
in: path
required: true
schema:
type: string
format: uuid
description: The ID of the API key to update
title: Api Key Id
description: The ID of the API key to update
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyUpdateParams'
responses:
'200':
description: The updated API key details
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKey'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- api_keys
summary: Delete API key
description: "Delete a specific API key by its ID.\n\nArgs:\n api_key_id: The ID of the API key to delete.\n\nReturns:\n\
\ ApiKeyDeleted: The response containing the details of the deleted API key."
operationId: delete_api_key
security:
- ApiKeyAuth: []
parameters:
- name: api_key_id
in: path
required: true
schema:
type: string
format: uuid
description: The ID of the API key to delete
title: Api Key Id
description: The ID of the API key to delete
responses:
'200':
description: The details of the deleted API key
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyDeleted'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/api-keys/{api_key_id}/revoke:
post:
tags:
- api_keys
summary: Revoke API key
description: "Revoke a specific API key by its ID.\n\nArgs:\n api_key_id: The ID of the API key to revoke.\n\nReturns:\n\
\ ApiKey: The response containing the details of the revoked API key."
operationId: revoke_api_key
security:
- ApiKeyAuth: []
parameters:
- name: api_key_id
in: path
required: true
schema:
type: string
format: uuid
description: The ID of the API key to revoke
title: Api Key Id
description: The ID of the API key to revoke
responses:
'200':
description: The revoked API key details
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKey'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/api-keys/{api_key_id}/reroll:
post:
tags:
- api_keys
summary: Reroll API key
description: "Reroll the secret for a specific API key by its ID.\n\nThis generates a new secret key, invalidating the\
\ old one.\n\nArgs:\n api_key_id: The ID of the API key to reroll.\n\nReturns:\n ApiKeyCreated: The response\
\ containing the API key details with the new secret key."
operationId: reroll_api_key
security:
- ApiKeyAuth: []
parameters:
- name: api_key_id
in: path
required: true
schema:
type: string
format: uuid
description: The ID of the API key to reroll
title: Api Key Id
description: The ID of the API key to reroll
responses:
'200':
description: The API key details with the new secret key
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyCreated'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
AgenticSearchConfig:
properties:
max_rounds:
type: integer
maximum: 10.0
minimum: 1.0
title: Max Rounds
description: Maximum number of search rounds
default: 3
queries_per_round:
type: integer
maximum: 10.0
minimum: 1.0
title: Queries Per Round
description: Maximum queries per round
default: 4
strict_top_k:
type: boolean
title: Strict Top K
description: Whether the final retrieved chunk list must provide exactly top_k ranked chunks
default: false
media_content:
type: string
enum:
- auto
- never
- always
title: Media Content
description: Controls when retrieved image content is provided to the agent. `auto` sends images only when no OCR
text or summary is available, `never` disables image content, and `always` sends image content when available.
default: auto
instructions:
anyOf:
- type: string
maxLength: 5000
minLength: 1
- type: 'null'
title: Instructions
description: Additional custom instructions (followed only when not in conflict with existing rules)
verbose:
type: boolean
title: Verbose
description: 'Internal: when set, the response includes a `trace` field with the full tool-call timeline. Used by
the Mixedbread playground; not part of the documented public API.'
default: false
type: object
title: AgenticSearchConfig
description: Configuration for agentic multi-query search.
AgenticSearchTokenUsage:
properties:
prompt_tokens:
type: integer
title: Prompt Tokens
description: Number of prompt tokens consumed
default: 0
completion_tokens:
type: integer
title: Completion Tokens
description: Number of completion tokens generated
default: 0
total_tokens:
type: integer
title: Total Tokens
description: Total tokens consumed (prompt + completion)
default: 0
cost_usd:
type: number
title: Cost Usd
description: Estimated cost in USD
default: 0.0
type: object
title: AgenticSearchTokenUsage
description: Token usage and cost for LLM calls made during an agentic search.
AgenticToolCall:
properties:
tool_call_id:
type: string
title: Tool Call Id
description: Unique identifier for the tool call (gen_ai.tool.call.id)
tool_name:
type: string
title: Tool Name
description: Name of the tool invoked (gen_ai.tool.name)
examples:
- search_batch
tool_type:
type: string
enum:
- function
- extension
- datastore
title: Tool Type
description: Category of the tool (gen_ai.tool.type)
default: function
started_at:
type: string
format: date-time
title: Started At
description: Time when the tool call began
duration:
type: string
format: duration
title: Duration
description: Time taken to execute the tool call
arguments:
additionalProperties: true
type: object
title: Arguments
description: Arguments passed to the tool (gen_ai.tool.call.arguments)
result:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Result
description: Result returned to the model (gen_ai.tool.call.result). None if the tool errored.
error:
anyOf:
- type: string
- type: 'null'
title: Error
description: Error message if the tool call failed
type: object
required:
- tool_call_id
- tool_name
- started_at
- duration
- arguments
title: AgenticToolCall
description: 'Represents a single tool call made by the agent during an agentic search.
Fields follow the OpenTelemetry GenAI semantic conventions for tool calls:
https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/'
ApiKey:
properties:
id:
type: string
title: Id
description: The ID of the API key
name:
type: string
title: Name
description: The name of the API key
redacted_value:
type: string
title: Redacted Value
description: The redacted value of the API key
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Expires At
description: The expiration datetime of the API key
created_at:
type: string
format: date-time
title: Created At
description: The creation datetime of the API key
updated_at:
type: string
format: date-time
title: Updated At
description: The last update datetime of the API key
last_active_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Active At
description: The last active datetime of the API key
object:
type: string
const: api_key
title: Object
description: The type of the object
default: api_key
scope:
anyOf:
- items:
$ref: '#/components/schemas/Scope'
type: array
- type: 'null'
title: Scope
description: The scope of the API key
type: object
required:
- id
- name
- redacted_value
- created_at
- updated_at
title: ApiKey
description: Response model for an API key.
ApiKeyCreateOrUpdateParams:
properties:
type:
type: string
const: api_key
title: Type
default: api_key
api_key:
type: string
title: Api Key
description: The API key
type: object
required:
- api_key
title: ApiKeyCreateOrUpdateParams
description: Base class for API key create or update parameters.
ApiKeyCreateParams:
properties:
name:
type: string
title: Name
description: A name/description for the API key
default: API Key
scope:
anyOf:
- items:
$ref: '#/components/schemas/Scope'
type: array
- type: 'null'
title: Scope
description: The scope of the API key
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Expires At
description: Optional expiration datetime
type: object
title: ApiKeyCreateParams
description: Parameters for creating an API key.
ApiKeyCreated:
properties:
id:
type: string
title: Id
description: The ID of the API key
name:
type: string
title: Name
description: The name of the API key
redacted_value:
type: string
title: Redacted Value
description: The redacted value of the API key
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Expires At
description: The expiration datetime of the API key
created_at:
type: string
format: date-time
title: Created At
description: The creation datetime of the API key
updated_at:
type: string
format: date-time
title: Updated At
description: The last update datetime of the API key
last_active_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Last Active At
description: The last active datetime of the API key
object:
type: string
const: api_key
title: Object
description: The type of the object
default: api_key
scope:
anyOf:
- items:
$ref: '#/components/schemas/Scope'
type: array
- type: 'null'
title: Scope
description: The scope of the API key
value:
type: string
title: Value
description: The value of the API key
type: object
required:
- id
- name
- redacted_value
- created_at
- updated_at
- value
title: ApiKeyCreated
description: Response model for creating an API key.
ApiKeyDeleted:
properties:
id:
type: string
title: Id
description: The ID of the deleted API key
deleted:
type: boolean
title: Deleted
description: Whether the API key was deleted
object:
type: string
const: api_key
title: Object
description: The type of the object deleted
default: api_key
type: object
required:
- id
- deleted
title: ApiKeyDeleted
description: Response model for deleting an API key.
ApiKeyListResponse:
properties:
pagination:
$ref: '#/components/schemas/PaginationWithTotal'
object:
type: string
const: list
title: Object
description: The object type of the response
default: list
data:
items:
$ref: '#/components/schemas/ApiKey'
type: array
title: Data
description: The list of API keys
type: object
required:
- pagination
- data
title: ApiKeyListResponse
ApiKeyUpdateParams:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
description: A name/description for the API key
expires_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Expires At
description: Optional expiration datetime
type: object
title: ApiKeyUpdateParams
description: Parameters for updating an API key.
AudioChunkGeneratedMetadata:
properties:
type:
type: string
const: audio
title: Type
default: audio
file_type:
type: string
title: File Type
default: audio/mpeg
file_size:
anyOf:
- type: integer
- type: 'null'
title: File Size
total_duration_seconds:
anyOf:
- type: number
- type: 'null'
title: Total Duration Seconds
sample_rate:
anyOf:
- type: integer
- type: 'null'
title: Sample Rate
channels:
anyOf:
- type: integer
- type: 'null'
title: Channels
audio_format:
anyOf:
- type: integer
- type: 'null'
title: Audio Format
bpm:
anyOf:
- type: integer
- type: 'null'
title: Bpm
file_extension:
anyOf:
- type: string
- type: 'null'
title: File Extension
additionalProperties: true
type: object
title: AudioChunkGeneratedMetadata
AudioUrl:
properties:
url:
type: string
title: Url
description: The audio URL. Can be either a URL or a Data URI.
type: object
required:
- url
title: AudioUrl
description: Model for audio URL validation.
AudioUrlInputChunk:
properties:
chunk_index:
type: integer
title: Chunk Index
description: position of the chunk in a file
examples:
- 0
- 1
- 2
- 3
- 4
mime_type:
type: string
title: Mime Type
description: mime type of the chunk
default: audio/mpeg
examples:
- audio/mpeg
generated_metadata:
anyOf:
- oneOf:
- $ref: '#/components/schemas/MarkdownChunkGeneratedMetadata'
- $ref: '#/components/schemas/TextChunkGeneratedMetadata'
- $ref: '#/components/schemas/PDFChunkGeneratedMetadata'
- $ref: '#/components/schemas/CodeChunkGeneratedMetadata'
- $ref: '#/components/schemas/AudioChunkGeneratedMetadata'
- $ref: '#/components/schemas/VideoChunkGeneratedMetadata'
- $ref: '#/components/schemas/ImageChunkGeneratedMetadata'
discriminator:
propertyName: type
mapping:
audio: '#/components/schemas/AudioChunkGeneratedMetadata'
code: '#/components/schemas/CodeChunkGeneratedMetadata'
image: '#/components/schemas/ImageChunkGeneratedMetadata'
markdown: '#/components/schemas/MarkdownChunkGeneratedMetadata'
pdf: '#/components/schemas/PDFChunkGeneratedMetadata'
text: '#/components/schemas/TextChunkGeneratedMetadata'
video: '#/components/schemas/VideoChunkGeneratedMetadata'
- type: 'null'
title: Generated Metadata
description: metadata of the chunk
examples:
- file_size: 1024
file_type: text/plain
language: en
type: text
word_count: 100
model:
anyOf:
- type: string
- type: 'null'
title: Model
description: model used for this chunk
examples:
- text-embedding-ada-002
- clip-vit-large-patch14
type:
type: string
const: audio_url
title: Type
description: Input type identifier
default: audio_url
transcription:
anyOf:
- type: string
- type: 'null'
title: Transcription
description: speech recognition (sr) text of the audio
examples:
- The year 2025 reports for ..
summary:
anyOf:
- type: string
- type: 'null'
title: Summary
description: summary of the audio
examples:
- A financial report audio for 2025
audio_url:
anyOf:
- $ref: '#/components/schemas/AudioUrl'
- type: 'null'
description: Audio URL
sampling_rate:
type: integer
title: Sampling Rate
description: The sampling rate of the audio.
type: object
required:
- chunk_index
- sampling_rate
title: AudioUrlInputChunk
BalanceInfo:
properties:
current_balance:
type: number
title: Current Balance
description: The current balance
next_effective_balance:
type: number
title: Next Effective Balance
description: The next effective balance
next_effective_date:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Next Effective Date
description: The next effective date
type: object
title: BalanceInfo
description: Information about an organization's credit balance.
BillingPeriodSummary:
properties:
period:
$ref: '#/components/schemas/Period'
description: The billing period
cost:
$ref: '#/components/schemas/CostInfo'
description: The cost information
balance:
$ref: '#/components/schemas/BalanceInfo'
description: The balance information
usages:
additionalProperties:
$ref: '#/components/schemas/UsageInfo'
type: object
title: Usages
description: The monthly usages information per metric
generated_at:
type: string
format: date-time
title: Generated At
description: The date and time the summary was generated
type: object
required:
- period
- cost
- balance
- usages
- generated_at
title: BillingPeriodSummary
description: High level billing summary for the currently active period.
Body_create_file:
properties:
file:
type: string
format: binary
title: File
description: The file to upload
type: object
required:
- file
title: Body_create_file
Body_update_file:
properties:
file:
type: string
format: binary
title: File
description: The file to update
type: object
required:
- file
title: Body_update_file
Body_upload_store_file:
properties:
file:
type: string
format: binary
title: File
description: The file to upload and index
params:
anyOf:
- type: string
- type: 'null'
title: Params
type: object
required:
- file
title: Body_upload_store_file
Chunk:
properties:
content:
anyOf:
- type: string
- type: 'null'
title: Content
description: The full content of the chunk
content_to_embed:
type: string
title: Content To Embed
description: The content of the chunk to embed
elements:
items:
$ref: '#/components/schemas/ChunkElement'
type: array
title: Elements
description: List of elements contained in this chunk
type: object
required:
- content_to_embed
- elements
title: Chunk
description: A chunk of text extracted from a document page.
ChunkElement:
properties:
type:
$ref: '#/components/schemas/ElementType'
description: The type of the extracted element
confidence:
type: number
maximum: 1.0
minimum: 0.0
title: Confidence
description: The confidence score of the extraction
bbox:
prefixItems:
- type: number
- type: number
- type: number
- type: number
type: array
maxItems: 4
minItems: 4
title: Bbox
description: The bounding box coordinates [x1, y1, x2, y2]
page:
type: integer
minimum: 0.0
title: Page
description: The page number where the element was found
content:
type: string
title: Content
description: The extracted text content of the element
summary:
anyOf:
- type: string
- type: 'null'
title: Summary
description: A brief summary of the element's content
image:
anyOf:
- type: string
- type: 'null'
title: Image
description: The base64-encoded image data for figure elements
type: object
required:
- type
- confidence
- bbox
- page
- content
title: ChunkElement
description: Represents an extracted element from a document with its content and metadata.
ChunkSearchResultRule:
properties:
query:
type: string
title: Query
description: The query to trigger the rule
store_id:
type: string
title: Store Id
description: The store identifier to apply the rule to
type:
type: string
const: chunk_search_result
title: Type
description: The type of substitution
file_id:
type: string
title: File Id
description: The file ID of the chunk to substitute
chunk_index:
type: integer
minimum: 0.0
title: Chunk Index
description: The index of the chunk to substitute
result_index:
type: integer
minimum: 0.0
title: Result Index
description: The index where the result will be inserted
type: object
required:
- query
- store_id
- type
- file_id
- chunk_index
- result_index
title: ChunkSearchResultRule
description: Represents a chunk search result rule for a vector store search.
ChunkingStrategy:
type: string
enum:
- page
title: ChunkingStrategy
description: Strategy used for chunking document content.
CodeChunkGeneratedMetadata:
properties:
type:
type: string
const: code
title: Type
default: code
file_type:
type: string
title: File Type
language:
anyOf:
- type: string
- type: 'null'