Elffuss BraidHub

kikocis/llama-stack public

efac2a2f572e · 98.1 KiBRawPermalink
1components:
2 responses: {}
3 schemas:
4 AgentConfig:
5 additionalProperties: false
6 properties:
7 input_shields:
8 items:
9 $ref: '#/components/schemas/ShieldDefinition'
10 type: array
11 instructions:
12 type: string
13 model:
14 type: string
15 output_shields:
16 items:
17 $ref: '#/components/schemas/ShieldDefinition'
18 type: array
19 sampling_params:
20 $ref: '#/components/schemas/SamplingParams'
21 tool_choice:
22 $ref: '#/components/schemas/ToolChoice'
23 tool_prompt_format:
24 $ref: '#/components/schemas/ToolPromptFormat'
25 tools:
26 items:
27 oneOf:
28 - $ref: '#/components/schemas/SearchToolDefinition'
29 - $ref: '#/components/schemas/WolframAlphaToolDefinition'
30 - $ref: '#/components/schemas/PhotogenToolDefinition'
31 - $ref: '#/components/schemas/CodeInterpreterToolDefinition'
32 - $ref: '#/components/schemas/FunctionCallToolDefinition'
33 - additionalProperties: false
34 properties:
35 input_shields:
36 items:
37 $ref: '#/components/schemas/ShieldDefinition'
38 type: array
39 max_chunks:
40 type: integer
41 max_tokens_in_context:
42 type: integer
43 memory_bank_configs:
44 items:
45 oneOf:
46 - additionalProperties: false
47 properties:
48 bank_id:
49 type: string
50 type:
51 const: vector
52 type: string
53 required:
54 - bank_id
55 - type
56 type: object
57 - additionalProperties: false
58 properties:
59 bank_id:
60 type: string
61 keys:
62 items:
63 type: string
64 type: array
65 type:
66 const: keyvalue
67 type: string
68 required:
69 - bank_id
70 - type
71 - keys
72 type: object
73 - additionalProperties: false
74 properties:
75 bank_id:
76 type: string
77 type:
78 const: keyword
79 type: string
80 required:
81 - bank_id
82 - type
83 type: object
84 - additionalProperties: false
85 properties:
86 bank_id:
87 type: string
88 entities:
89 items:
90 type: string
91 type: array
92 type:
93 const: graph
94 type: string
95 required:
96 - bank_id
97 - type
98 - entities
99 type: object
100 type: array
101 output_shields:
102 items:
103 $ref: '#/components/schemas/ShieldDefinition'
104 type: array
105 query_generator_config:
106 oneOf:
107 - additionalProperties: false
108 properties:
109 sep:
110 type: string
111 type:
112 const: default
113 type: string
114 required:
115 - type
116 - sep
117 type: object
118 - additionalProperties: false
119 properties:
120 model:
121 type: string
122 template:
123 type: string
124 type:
125 const: llm
126 type: string
127 required:
128 - type
129 - model
130 - template
131 type: object
132 - additionalProperties: false
133 properties:
134 type:
135 const: custom
136 type: string
137 required:
138 - type
139 type: object
140 type:
141 const: memory
142 type: string
143 required:
144 - type
145 - memory_bank_configs
146 - query_generator_config
147 - max_tokens_in_context
148 - max_chunks
149 type: object
150 type: array
151 required:
152 - model
153 - instructions
154 type: object
155 AgenticSystemCreateResponse:
156 additionalProperties: false
157 properties:
158 agent_id:
159 type: string
160 required:
161 - agent_id
162 type: object
163 AgenticSystemSessionCreateResponse:
164 additionalProperties: false
165 properties:
166 session_id:
167 type: string
168 required:
169 - session_id
170 type: object
171 AgenticSystemStepResponse:
172 additionalProperties: false
173 properties:
174 step:
175 oneOf:
176 - $ref: '#/components/schemas/InferenceStep'
177 - $ref: '#/components/schemas/ToolExecutionStep'
178 - $ref: '#/components/schemas/ShieldCallStep'
179 - $ref: '#/components/schemas/MemoryRetrievalStep'
180 required:
181 - step
182 type: object
183 AgenticSystemTurnResponseEvent:
184 additionalProperties: false
185 properties:
186 payload:
187 oneOf:
188 - $ref: '#/components/schemas/AgenticSystemTurnResponseStepStartPayload'
189 - $ref: '#/components/schemas/AgenticSystemTurnResponseStepProgressPayload'
190 - $ref: '#/components/schemas/AgenticSystemTurnResponseStepCompletePayload'
191 - $ref: '#/components/schemas/AgenticSystemTurnResponseTurnStartPayload'
192 - $ref: '#/components/schemas/AgenticSystemTurnResponseTurnCompletePayload'
193 required:
194 - payload
195 title: Streamed agent execution response.
196 type: object
197 AgenticSystemTurnResponseStepCompletePayload:
198 additionalProperties: false
199 properties:
200 event_type:
201 const: step_complete
202 type: string
203 step_details:
204 oneOf:
205 - $ref: '#/components/schemas/InferenceStep'
206 - $ref: '#/components/schemas/ToolExecutionStep'
207 - $ref: '#/components/schemas/ShieldCallStep'
208 - $ref: '#/components/schemas/MemoryRetrievalStep'
209 step_type:
210 enum:
211 - inference
212 - tool_execution
213 - shield_call
214 - memory_retrieval
215 type: string
216 required:
217 - event_type
218 - step_type
219 - step_details
220 type: object
221 AgenticSystemTurnResponseStepProgressPayload:
222 additionalProperties: false
223 properties:
224 event_type:
225 const: step_progress
226 type: string
227 model_response_text_delta:
228 type: string
229 step_id:
230 type: string
231 step_type:
232 enum:
233 - inference
234 - tool_execution
235 - shield_call
236 - memory_retrieval
237 type: string
238 tool_call_delta:
239 $ref: '#/components/schemas/ToolCallDelta'
240 tool_response_text_delta:
241 type: string
242 required:
243 - event_type
244 - step_type
245 - step_id
246 type: object
247 AgenticSystemTurnResponseStepStartPayload:
248 additionalProperties: false
249 properties:
250 event_type:
251 const: step_start
252 type: string
253 metadata:
254 additionalProperties:
255 oneOf:
256 - type: 'null'
257 - type: boolean
258 - type: number
259 - type: string
260 - type: array
261 - type: object
262 type: object
263 step_id:
264 type: string
265 step_type:
266 enum:
267 - inference
268 - tool_execution
269 - shield_call
270 - memory_retrieval
271 type: string
272 required:
273 - event_type
274 - step_type
275 - step_id
276 type: object
277 AgenticSystemTurnResponseStreamChunk:
278 additionalProperties: false
279 properties:
280 event:
281 $ref: '#/components/schemas/AgenticSystemTurnResponseEvent'
282 required:
283 - event
284 type: object
285 AgenticSystemTurnResponseTurnCompletePayload:
286 additionalProperties: false
287 properties:
288 event_type:
289 const: turn_complete
290 type: string
291 turn:
292 $ref: '#/components/schemas/Turn'
293 required:
294 - event_type
295 - turn
296 type: object
297 AgenticSystemTurnResponseTurnStartPayload:
298 additionalProperties: false
299 properties:
300 event_type:
301 const: turn_start
302 type: string
303 turn_id:
304 type: string
305 required:
306 - event_type
307 - turn_id
308 type: object
309 Attachment:
310 additionalProperties: false
311 properties:
312 content:
313 oneOf:
314 - type: string
315 - items:
316 type: string
317 type: array
318 - $ref: '#/components/schemas/URL'
319 mime_type:
320 type: string
321 required:
322 - content
323 - mime_type
324 type: object
325 BatchChatCompletionRequest:
326 additionalProperties: false
327 properties:
328 logprobs:
329 additionalProperties: false
330 properties:
331 top_k:
332 type: integer
333 type: object
334 messages_batch:
335 items:
336 items:
337 oneOf:
338 - $ref: '#/components/schemas/UserMessage'
339 - $ref: '#/components/schemas/SystemMessage'
340 - $ref: '#/components/schemas/ToolResponseMessage'
341 - $ref: '#/components/schemas/CompletionMessage'
342 type: array
343 type: array
344 model:
345 type: string
346 sampling_params:
347 $ref: '#/components/schemas/SamplingParams'
348 tool_choice:
349 $ref: '#/components/schemas/ToolChoice'
350 tool_prompt_format:
351 $ref: '#/components/schemas/ToolPromptFormat'
352 tools:
353 items:
354 $ref: '#/components/schemas/ToolDefinition'
355 type: array
356 required:
357 - model
358 - messages_batch
359 type: object
360 BatchChatCompletionResponse:
361 additionalProperties: false
362 properties:
363 completion_message_batch:
364 items:
365 $ref: '#/components/schemas/CompletionMessage'
366 type: array
367 required:
368 - completion_message_batch
369 type: object
370 BatchCompletionRequest:
371 additionalProperties: false
372 properties:
373 content_batch:
374 items:
375 oneOf:
376 - type: string
377 - items:
378 type: string
379 type: array
380 type: array
381 logprobs:
382 additionalProperties: false
383 properties:
384 top_k:
385 type: integer
386 type: object
387 model:
388 type: string
389 sampling_params:
390 $ref: '#/components/schemas/SamplingParams'
391 required:
392 - model
393 - content_batch
394 type: object
395 BatchCompletionResponse:
396 additionalProperties: false
397 properties:
398 completion_message_batch:
399 items:
400 $ref: '#/components/schemas/CompletionMessage'
401 type: array
402 required:
403 - completion_message_batch
404 type: object
405 BuiltinShield:
406 enum:
407 - llama_guard
408 - code_scanner_guard
409 - third_party_shield
410 - injection_shield
411 - jailbreak_shield
412 type: string
413 BuiltinTool:
414 enum:
415 - brave_search
416 - wolfram_alpha
417 - photogen
418 - code_interpreter
419 type: string
420 CancelEvaluationJobRequest:
421 additionalProperties: false
422 properties:
423 job_uuid:
424 type: string
425 required:
426 - job_uuid
427 type: object
428 CancelTrainingJobRequest:
429 additionalProperties: false
430 properties:
431 job_uuid:
432 type: string
433 required:
434 - job_uuid
435 type: object
436 ChatCompletionRequest:
437 additionalProperties: false
438 properties:
439 logprobs:
440 additionalProperties: false
441 properties:
442 top_k:
443 type: integer
444 type: object
445 messages:
446 items:
447 oneOf:
448 - $ref: '#/components/schemas/UserMessage'
449 - $ref: '#/components/schemas/SystemMessage'
450 - $ref: '#/components/schemas/ToolResponseMessage'
451 - $ref: '#/components/schemas/CompletionMessage'
452 type: array
453 model:
454 type: string
455 sampling_params:
456 $ref: '#/components/schemas/SamplingParams'
457 stream:
458 type: boolean
459 tool_choice:
460 $ref: '#/components/schemas/ToolChoice'
461 tool_prompt_format:
462 $ref: '#/components/schemas/ToolPromptFormat'
463 tools:
464 items:
465 $ref: '#/components/schemas/ToolDefinition'
466 type: array
467 required:
468 - model
469 - messages
470 type: object
471 ChatCompletionResponse:
472 additionalProperties: false
473 properties:
474 completion_message:
475 $ref: '#/components/schemas/CompletionMessage'
476 logprobs:
477 items:
478 $ref: '#/components/schemas/TokenLogProbs'
479 type: array
480 required:
481 - completion_message
482 title: Chat completion response.
483 type: object
484 ChatCompletionResponseEvent:
485 additionalProperties: false
486 properties:
487 delta:
488 oneOf:
489 - type: string
490 - $ref: '#/components/schemas/ToolCallDelta'
491 event_type:
492 $ref: '#/components/schemas/ChatCompletionResponseEventType'
493 logprobs:
494 items:
495 $ref: '#/components/schemas/TokenLogProbs'
496 type: array
497 stop_reason:
498 $ref: '#/components/schemas/StopReason'
499 required:
500 - event_type
501 - delta
502 title: Chat completion response event.
503 type: object
504 ChatCompletionResponseEventType:
505 enum:
506 - start
507 - complete
508 - progress
509 type: string
510 ChatCompletionResponseStreamChunk:
511 additionalProperties: false
512 properties:
513 event:
514 $ref: '#/components/schemas/ChatCompletionResponseEvent'
515 required:
516 - event
517 title: SSE-stream of these events.
518 type: object
519 Checkpoint:
520 description: Checkpoint created during training runs
521 CodeInterpreterToolDefinition:
522 additionalProperties: false
523 properties:
524 enable_inline_code_execution:
525 type: boolean
526 input_shields:
527 items:
528 $ref: '#/components/schemas/ShieldDefinition'
529 type: array
530 output_shields:
531 items:
532 $ref: '#/components/schemas/ShieldDefinition'
533 type: array
534 remote_execution:
535 $ref: '#/components/schemas/RestAPIExecutionConfig'
536 type:
537 const: code_interpreter
538 type: string
539 required:
540 - type
541 - enable_inline_code_execution
542 type: object
543 CompletionMessage:
544 additionalProperties: false
545 properties:
546 content:
547 oneOf:
548 - type: string
549 - items:
550 type: string
551 type: array
552 role:
553 const: assistant
554 type: string
555 stop_reason:
556 $ref: '#/components/schemas/StopReason'
557 tool_calls:
558 items:
559 $ref: '#/components/schemas/ToolCall'
560 type: array
561 required:
562 - role
563 - content
564 - stop_reason
565 - tool_calls
566 type: object
567 CompletionRequest:
568 additionalProperties: false
569 properties:
570 content:
571 oneOf:
572 - type: string
573 - items:
574 type: string
575 type: array
576 logprobs:
577 additionalProperties: false
578 properties:
579 top_k:
580 type: integer
581 type: object
582 model:
583 type: string
584 sampling_params:
585 $ref: '#/components/schemas/SamplingParams'
586 stream:
587 type: boolean
588 required:
589 - model
590 - content
591 type: object
592 CompletionResponse:
593 additionalProperties: false
594 properties:
595 completion_message:
596 $ref: '#/components/schemas/CompletionMessage'
597 logprobs:
598 items:
599 $ref: '#/components/schemas/TokenLogProbs'
600 type: array
601 required:
602 - completion_message
603 title: Completion response.
604 type: object
605 CompletionResponseStreamChunk:
606 additionalProperties: false
607 properties:
608 delta:
609 type: string
610 logprobs:
611 items:
612 $ref: '#/components/schemas/TokenLogProbs'
613 type: array
614 stop_reason:
615 $ref: '#/components/schemas/StopReason'
616 required:
617 - delta
618 title: streamed completion response.
619 type: object
620 CreateAgenticSystemRequest:
621 additionalProperties: false
622 properties:
623 agent_config:
624 $ref: '#/components/schemas/AgentConfig'
625 required:
626 - agent_config
627 type: object
628 CreateAgenticSystemSessionRequest:
629 additionalProperties: false
630 properties:
631 agent_id:
632 type: string
633 session_name:
634 type: string
635 required:
636 - agent_id
637 - session_name
638 type: object
639 CreateAgenticSystemTurnRequest:
640 additionalProperties: false
641 properties:
642 agent_id:
643 type: string
644 attachments:
645 items:
646 $ref: '#/components/schemas/Attachment'
647 type: array
648 messages:
649 items:
650 oneOf:
651 - $ref: '#/components/schemas/UserMessage'
652 - $ref: '#/components/schemas/ToolResponseMessage'
653 type: array
654 session_id:
655 type: string
656 stream:
657 type: boolean
658 required:
659 - agent_id
660 - session_id
661 - messages
662 type: object
663 CreateDatasetRequest:
664 additionalProperties: false
665 properties:
666 dataset:
667 $ref: '#/components/schemas/TrainEvalDataset'
668 uuid:
669 type: string
670 required:
671 - uuid
672 - dataset
673 type: object
674 CreateMemoryBankRequest:
675 additionalProperties: false
676 properties:
677 config:
678 oneOf:
679 - additionalProperties: false
680 properties:
681 chunk_size_in_tokens:
682 type: integer
683 embedding_model:
684 type: string
685 overlap_size_in_tokens:
686 type: integer
687 type:
688 const: vector
689 type: string
690 required:
691 - type
692 - embedding_model
693 - chunk_size_in_tokens
694 type: object
695 - additionalProperties: false
696 properties:
697 type:
698 const: keyvalue
699 type: string
700 required:
701 - type
702 type: object
703 - additionalProperties: false
704 properties:
705 type:
706 const: keyword
707 type: string
708 required:
709 - type
710 type: object
711 - additionalProperties: false
712 properties:
713 type:
714 const: graph
715 type: string
716 required:
717 - type
718 type: object
719 name:
720 type: string
721 url:
722 $ref: '#/components/schemas/URL'
723 required:
724 - name
725 - config
726 type: object
727 DPOAlignmentConfig:
728 additionalProperties: false
729 properties:
730 epsilon:
731 type: number
732 gamma:
733 type: number
734 reward_clip:
735 type: number
736 reward_scale:
737 type: number
738 required:
739 - reward_scale
740 - reward_clip
741 - epsilon
742 - gamma
743 type: object
744 DeleteAgenticSystemRequest:
745 additionalProperties: false
746 properties:
747 agent_id:
748 type: string
749 required:
750 - agent_id
751 type: object
752 DeleteAgenticSystemSessionRequest:
753 additionalProperties: false
754 properties:
755 agent_id:
756 type: string
757 session_id:
758 type: string
759 required:
760 - agent_id
761 - session_id
762 type: object
763 DeleteDatasetRequest:
764 additionalProperties: false
765 properties:
766 dataset_uuid:
767 type: string
768 required:
769 - dataset_uuid
770 type: object
771 DeleteDocumentsRequest:
772 additionalProperties: false
773 properties:
774 bank_id:
775 type: string
776 document_ids:
777 items:
778 type: string
779 type: array
780 required:
781 - bank_id
782 - document_ids
783 type: object
784 DialogGenerations:
785 additionalProperties: false
786 properties:
787 dialog:
788 items:
789 oneOf:
790 - $ref: '#/components/schemas/UserMessage'
791 - $ref: '#/components/schemas/SystemMessage'
792 - $ref: '#/components/schemas/ToolResponseMessage'
793 - $ref: '#/components/schemas/CompletionMessage'
794 type: array
795 sampled_generations:
796 items:
797 oneOf:
798 - $ref: '#/components/schemas/UserMessage'
799 - $ref: '#/components/schemas/SystemMessage'
800 - $ref: '#/components/schemas/ToolResponseMessage'
801 - $ref: '#/components/schemas/CompletionMessage'
802 type: array
803 required:
804 - dialog
805 - sampled_generations
806 type: object
807 DoraFinetuningConfig:
808 additionalProperties: false
809 properties:
810 alpha:
811 type: integer
812 apply_lora_to_mlp:
813 type: boolean
814 apply_lora_to_output:
815 type: boolean
816 lora_attn_modules:
817 items:
818 type: string
819 type: array
820 rank:
821 type: integer
822 required:
823 - lora_attn_modules
824 - apply_lora_to_mlp
825 - apply_lora_to_output
826 - rank
827 - alpha
828 type: object
829 DropMemoryBankRequest:
830 additionalProperties: false
831 properties:
832 bank_id:
833 type: string
834 required:
835 - bank_id
836 type: object
837 EmbeddingsRequest:
838 additionalProperties: false
839 properties:
840 contents:
841 items:
842 oneOf:
843 - type: string
844 - items:
845 type: string
846 type: array
847 type: array
848 model:
849 type: string
850 required:
851 - model
852 - contents
853 type: object
854 EmbeddingsResponse:
855 additionalProperties: false
856 properties:
857 embeddings:
858 items:
859 items:
860 type: number
861 type: array
862 type: array
863 required:
864 - embeddings
865 type: object
866 EvaluateQuestionAnsweringRequest:
867 additionalProperties: false
868 properties:
869 metrics:
870 items:
871 enum:
872 - em
873 - f1
874 type: string
875 type: array
876 required:
877 - metrics
878 type: object
879 EvaluateSummarizationRequest:
880 additionalProperties: false
881 properties:
882 metrics:
883 items:
884 enum:
885 - rouge
886 - bleu
887 type: string
888 type: array
889 required:
890 - metrics
891 type: object
892 EvaluateTextGenerationRequest:
893 additionalProperties: false
894 properties:
895 metrics:
896 items:
897 enum:
898 - perplexity
899 - rouge
900 - bleu
901 type: string
902 type: array
903 required:
904 - metrics
905 type: object
906 EvaluationJob:
907 additionalProperties: false
908 properties:
909 job_uuid:
910 type: string
911 required:
912 - job_uuid
913 type: object
914 EvaluationJobArtifactsResponse:
915 additionalProperties: false
916 properties:
917 job_uuid:
918 type: string
919 required:
920 - job_uuid
921 title: Artifacts of a evaluation job.
922 type: object
923 EvaluationJobLogStream:
924 additionalProperties: false
925 properties:
926 job_uuid:
927 type: string
928 required:
929 - job_uuid
930 type: object
931 EvaluationJobStatusResponse:
932 additionalProperties: false
933 properties:
934 job_uuid:
935 type: string
936 required:
937 - job_uuid
938 type: object
939 FinetuningAlgorithm:
940 enum:
941 - full
942 - lora
943 - qlora
944 - dora
945 type: string
946 FunctionCallToolDefinition:
947 additionalProperties: false
948 properties:
949 description:
950 type: string
951 function_name:
952 type: string
953 input_shields:
954 items:
955 $ref: '#/components/schemas/ShieldDefinition'
956 type: array
957 output_shields:
958 items:
959 $ref: '#/components/schemas/ShieldDefinition'
960 type: array
961 parameters:
962 additionalProperties:
963 $ref: '#/components/schemas/ToolParamDefinition'
964 type: object
965 remote_execution:
966 $ref: '#/components/schemas/RestAPIExecutionConfig'
967 type:
968 const: function_call
969 type: string
970 required:
971 - type
972 - function_name
973 - description
974 - parameters
975 type: object
976 GetAgenticSystemSessionRequest:
977 additionalProperties: false
978 properties:
979 turn_ids:
980 items:
981 type: string
982 type: array
983 type: object
984 GetDocumentsRequest:
985 additionalProperties: false
986 properties:
987 document_ids:
988 items:
989 type: string
990 type: array
991 required:
992 - document_ids
993 type: object
994 InferenceStep:
995 additionalProperties: false
996 properties:
997 completed_at:
998 format: date-time
999 type: string
1000 model_response:
1001 $ref: '#/components/schemas/CompletionMessage'
1002 started_at:
1003 format: date-time
1004 type: string
1005 step_id:
1006 type: string
1007 step_type:
1008 const: inference
1009 type: string
1010 turn_id:
1011 type: string
1012 required:
1013 - turn_id
1014 - step_id
1015 - step_type
1016 - model_response
1017 type: object
1018 InsertDocumentsRequest:
1019 additionalProperties: false
1020 properties:
1021 bank_id:
1022 type: string
1023 documents:
1024 items:
1025 $ref: '#/components/schemas/MemoryBankDocument'
1026 type: array
1027 ttl_seconds:
1028 type: integer
1029 required:
1030 - bank_id
1031 - documents
1032 type: object
1033 LogEventRequest:
1034 additionalProperties: false
1035 properties:
1036 event:
1037 oneOf:
1038 - $ref: '#/components/schemas/UnstructuredLogEvent'
1039 - $ref: '#/components/schemas/MetricEvent'
1040 - $ref: '#/components/schemas/StructuredLogEvent'
1041 required:
1042 - event
1043 type: object
1044 LogSeverity:
1045 enum:
1046 - verbose
1047 - debug
1048 - info
1049 - warn
1050 - error
1051 - critical
1052 type: string
1053 LoraFinetuningConfig:
1054 additionalProperties: false
1055 properties:
1056 alpha:
1057 type: integer
1058 apply_lora_to_mlp:
1059 type: boolean
1060 apply_lora_to_output:
1061 type: boolean
1062 lora_attn_modules:
1063 items:
1064 type: string
1065 type: array
1066 rank:
1067 type: integer
1068 required:
1069 - lora_attn_modules
1070 - apply_lora_to_mlp
1071 - apply_lora_to_output
1072 - rank
1073 - alpha
1074 type: object
1075 MemoryBank:
1076 additionalProperties: false
1077 properties:
1078 bank_id:
1079 type: string
1080 config:
1081 oneOf:
1082 - additionalProperties: false
1083 properties:
1084 chunk_size_in_tokens:
1085 type: integer
1086 embedding_model:
1087 type: string
1088 overlap_size_in_tokens:
1089 type: integer
1090 type:
1091 const: vector
1092 type: string
1093 required:
1094 - type
1095 - embedding_model
1096 - chunk_size_in_tokens
1097 type: object
1098 - additionalProperties: false
1099 properties:
1100 type:
1101 const: keyvalue
1102 type: string
1103 required:
1104 - type
1105 type: object
1106 - additionalProperties: false
1107 properties:
1108 type:
1109 const: keyword
1110 type: string
1111 required:
1112 - type
1113 type: object
1114 - additionalProperties: false
1115 properties:
1116 type:
1117 const: graph
1118 type: string
1119 required:
1120 - type
1121 type: object
1122 name:
1123 type: string
1124 url:
1125 $ref: '#/components/schemas/URL'
1126 required:
1127 - bank_id
1128 - name
1129 - config
1130 type: object
1131 MemoryBankDocument:
1132 additionalProperties: false
1133 properties:
1134 content:
1135 oneOf:
1136 - type: string
1137 - items:
1138 type: string
1139 type: array
1140 - $ref: '#/components/schemas/URL'
1141 document_id:
1142 type: string
1143 metadata:
1144 additionalProperties:
1145 oneOf:
1146 - type: 'null'
1147 - type: boolean
1148 - type: number
1149 - type: string
1150 - type: array
1151 - type: object
1152 type: object
1153 mime_type:
1154 type: string
1155 required:
1156 - document_id
1157 - content
1158 - mime_type
1159 - metadata
1160 type: object
1161 MemoryRetrievalStep:
1162 additionalProperties: false
1163 properties:
1164 completed_at:
1165 format: date-time
1166 type: string
1167 inserted_context:
1168 oneOf:
1169 - type: string
1170 - items:
1171 type: string
1172 type: array
1173 memory_bank_ids:
1174 items:
1175 type: string
1176 type: array
1177 started_at:
1178 format: date-time
1179 type: string
1180 step_id:
1181 type: string
1182 step_type:
1183 const: memory_retrieval
1184 type: string
1185 turn_id:
1186 type: string
1187 required:
1188 - turn_id
1189 - step_id
1190 - step_type
1191 - memory_bank_ids
1192 - inserted_context
1193 type: object
1194 MetricEvent:
1195 additionalProperties: false
1196 properties:
1197 attributes:
1198 additionalProperties:
1199 oneOf:
1200 - type: 'null'
1201 - type: boolean
1202 - type: number
1203 - type: string
1204 - type: array
1205 - type: object
1206 type: object
1207 metric:
1208 type: string
1209 span_id:
1210 type: string
1211 timestamp:
1212 format: date-time
1213 type: string
1214 trace_id:
1215 type: string
1216 type:
1217 const: metric
1218 type: string
1219 unit:
1220 type: string
1221 value:
1222 oneOf:
1223 - type: integer
1224 - type: number
1225 required:
1226 - trace_id
1227 - span_id
1228 - timestamp
1229 - type
1230 - metric
1231 - value
1232 - unit
1233 type: object
1234 OnViolationAction:
1235 enum:
1236 - 0
1237 - 1
1238 - 2
1239 type: integer
1240 OptimizerConfig:
1241 additionalProperties: false
1242 properties:
1243 lr:
1244 type: number
1245 lr_min:
1246 type: number
1247 optimizer_type:
1248 enum:
1249 - adam
1250 - adamw
1251 - sgd
1252 type: string
1253 weight_decay:
1254 type: number
1255 required:
1256 - optimizer_type
1257 - lr
1258 - lr_min
1259 - weight_decay
1260 type: object
1261 PhotogenToolDefinition:
1262 additionalProperties: false
1263 properties:
1264 input_shields:
1265 items:
1266 $ref: '#/components/schemas/ShieldDefinition'
1267 type: array
1268 output_shields:
1269 items:
1270 $ref: '#/components/schemas/ShieldDefinition'
1271 type: array
1272 remote_execution:
1273 $ref: '#/components/schemas/RestAPIExecutionConfig'
1274 type:
1275 const: photogen
1276 type: string
1277 required:
1278 - type
1279 type: object
1280 PostTrainingJob:
1281 additionalProperties: false
1282 properties:
1283 job_uuid:
1284 type: string
1285 required:
1286 - job_uuid
1287 type: object
1288 PostTrainingJobArtifactsResponse:
1289 additionalProperties: false
1290 properties:
1291 checkpoints:
1292 items:
1293 $ref: '#/components/schemas/Checkpoint'
1294 type: array
1295 job_uuid:
1296 type: string
1297 required:
1298 - job_uuid
1299 - checkpoints
1300 title: Artifacts of a finetuning job.
1301 type: object
1302 PostTrainingJobLogStream:
1303 additionalProperties: false
1304 properties:
1305 job_uuid:
1306 type: string
1307 log_lines:
1308 items:
1309 type: string
1310 type: array
1311 required:
1312 - job_uuid
1313 - log_lines
1314 title: Stream of logs from a finetuning job.
1315 type: object
1316 PostTrainingJobStatus:
1317 enum:
1318 - running
1319 - completed
1320 - failed
1321 - scheduled
1322 type: string
1323 PostTrainingJobStatusResponse:
1324 additionalProperties: false
1325 properties:
1326 checkpoints:
1327 items:
1328 $ref: '#/components/schemas/Checkpoint'
1329 type: array
1330 completed_at:
1331 format: date-time
1332 type: string
1333 job_uuid:
1334 type: string
1335 resources_allocated:
1336 additionalProperties:
1337 oneOf:
1338 - type: 'null'
1339 - type: boolean
1340 - type: number
1341 - type: string
1342 - type: array
1343 - type: object
1344 type: object
1345 scheduled_at:
1346 format: date-time
1347 type: string
1348 started_at:
1349 format: date-time
1350 type: string
1351 status:
1352 $ref: '#/components/schemas/PostTrainingJobStatus'
1353 required:
1354 - job_uuid
1355 - status
1356 - checkpoints
1357 title: Status of a finetuning job.
1358 type: object
1359 PreferenceOptimizeRequest:
1360 additionalProperties: false
1361 properties:
1362 algorithm:
1363 $ref: '#/components/schemas/RLHFAlgorithm'
1364 algorithm_config:
1365 $ref: '#/components/schemas/DPOAlignmentConfig'
1366 dataset:
1367 $ref: '#/components/schemas/TrainEvalDataset'
1368 finetuned_model:
1369 $ref: '#/components/schemas/URL'
1370 hyperparam_search_config:
1371 additionalProperties:
1372 oneOf:
1373 - type: 'null'
1374 - type: boolean
1375 - type: number
1376 - type: string
1377 - type: array
1378 - type: object
1379 type: object
1380 job_uuid:
1381 type: string
1382 logger_config:
1383 additionalProperties:
1384 oneOf:
1385 - type: 'null'
1386 - type: boolean
1387 - type: number
1388 - type: string
1389 - type: array
1390 - type: object
1391 type: object
1392 optimizer_config:
1393 $ref: '#/components/schemas/OptimizerConfig'
1394 training_config:
1395 $ref: '#/components/schemas/TrainingConfig'
1396 validation_dataset:
1397 $ref: '#/components/schemas/TrainEvalDataset'
1398 required:
1399 - job_uuid
1400 - finetuned_model
1401 - dataset
1402 - validation_dataset
1403 - algorithm
1404 - algorithm_config
1405 - optimizer_config
1406 - training_config
1407 - hyperparam_search_config
1408 - logger_config
1409 type: object
1410 QLoraFinetuningConfig:
1411 additionalProperties: false
1412 properties:
1413 alpha:
1414 type: integer
1415 apply_lora_to_mlp:
1416 type: boolean
1417 apply_lora_to_output:
1418 type: boolean
1419 lora_attn_modules:
1420 items:
1421 type: string
1422 type: array
1423 rank:
1424 type: integer
1425 required:
1426 - lora_attn_modules
1427 - apply_lora_to_mlp
1428 - apply_lora_to_output
1429 - rank
1430 - alpha
1431 type: object
1432 QueryDocumentsRequest:
1433 additionalProperties: false
1434 properties:
1435 bank_id:
1436 type: string
1437 params:
1438 additionalProperties:
1439 oneOf:
1440 - type: 'null'
1441 - type: boolean
1442 - type: number
1443 - type: string
1444 - type: array
1445 - type: object
1446 type: object
1447 query:
1448 oneOf:
1449 - type: string
1450 - items:
1451 type: string
1452 type: array
1453 required:
1454 - bank_id
1455 - query
1456 type: object
1457 QueryDocumentsResponse:
1458 additionalProperties: false
1459 properties:
1460 chunks:
1461 items:
1462 additionalProperties: false
1463 properties:
1464 content:
1465 oneOf:
1466 - type: string
1467 - items:
1468 type: string
1469 type: array
1470 document_id:
1471 type: string
1472 token_count:
1473 type: integer
1474 required:
1475 - content
1476 - token_count
1477 - document_id
1478 type: object
1479 type: array
1480 scores:
1481 items:
1482 type: number
1483 type: array
1484 required:
1485 - chunks
1486 - scores
1487 type: object
1488 RLHFAlgorithm:
1489 enum:
1490 - dpo
1491 type: string
1492 RestAPIExecutionConfig:
1493 additionalProperties: false
1494 properties:
1495 body:
1496 additionalProperties:
1497 oneOf:
1498 - type: 'null'
1499 - type: boolean
1500 - type: number
1501 - type: string
1502 - type: array
1503 - type: object
1504 type: object
1505 headers:
1506 additionalProperties:
1507 oneOf:
1508 - type: 'null'
1509 - type: boolean
1510 - type: number
1511 - type: string
1512 - type: array
1513 - type: object
1514 type: object
1515 method:
1516 $ref: '#/components/schemas/RestAPIMethod'
1517 params:
1518 additionalProperties:
1519 oneOf:
1520 - type: 'null'
1521 - type: boolean
1522 - type: number
1523 - type: string
1524 - type: array
1525 - type: object
1526 type: object
1527 url:
1528 $ref: '#/components/schemas/URL'
1529 required:
1530 - url
1531 - method
1532 type: object
1533 RestAPIMethod:
1534 enum:
1535 - GET
1536 - POST
1537 - PUT
1538 - DELETE
1539 type: string
1540 RewardScoreRequest:
1541 additionalProperties: false
1542 properties:
1543 dialog_generations:
1544 items:
1545 $ref: '#/components/schemas/DialogGenerations'
1546 type: array
1547 model:
1548 type: string
1549 required:
1550 - dialog_generations
1551 - model
1552 type: object
1553 RewardScoringResponse:
1554 additionalProperties: false
1555 properties:
1556 scored_generations:
1557 items:
1558 $ref: '#/components/schemas/ScoredDialogGenerations'
1559 type: array
1560 required:
1561 - scored_generations
1562 title: Response from the reward scoring. Batch of (prompt, response, score)
1563 tuples that pass the threshold.
1564 type: object
1565 RunShieldResponse:
1566 additionalProperties: false
1567 properties:
1568 responses:
1569 items:
1570 $ref: '#/components/schemas/ShieldResponse'
1571 type: array
1572 required:
1573 - responses
1574 type: object
1575 RunShieldsRequest:
1576 additionalProperties: false
1577 properties:
1578 messages:
1579 items:
1580 oneOf:
1581 - $ref: '#/components/schemas/UserMessage'
1582 - $ref: '#/components/schemas/SystemMessage'
1583 - $ref: '#/components/schemas/ToolResponseMessage'
1584 - $ref: '#/components/schemas/CompletionMessage'
1585 type: array
1586 shields:
1587 items:
1588 $ref: '#/components/schemas/ShieldDefinition'
1589 type: array
1590 required:
1591 - messages
1592 - shields
1593 type: object
1594 SamplingParams:
1595 additionalProperties: false
1596 properties:
1597 max_tokens:
1598 type: integer
1599 repetition_penalty:
1600 type: number
1601 strategy:
1602 $ref: '#/components/schemas/SamplingStrategy'
1603 temperature:
1604 type: number
1605 top_k:
1606 type: integer
1607 top_p:
1608 type: number
1609 required:
1610 - strategy
1611 type: object
1612 SamplingStrategy:
1613 enum:
1614 - greedy
1615 - top_p
1616 - top_k
1617 type: string
1618 ScoredDialogGenerations:
1619 additionalProperties: false
1620 properties:
1621 dialog:
1622 items:
1623 oneOf:
1624 - $ref: '#/components/schemas/UserMessage'
1625 - $ref: '#/components/schemas/SystemMessage'
1626 - $ref: '#/components/schemas/ToolResponseMessage'
1627 - $ref: '#/components/schemas/CompletionMessage'
1628 type: array
1629 scored_generations:
1630 items:
1631 $ref: '#/components/schemas/ScoredMessage'
1632 type: array
1633 required:
1634 - dialog
1635 - scored_generations
1636 type: object
1637 ScoredMessage:
1638 additionalProperties: false
1639 properties:
1640 message:
1641 oneOf:
1642 - $ref: '#/components/schemas/UserMessage'
1643 - $ref: '#/components/schemas/SystemMessage'
1644 - $ref: '#/components/schemas/ToolResponseMessage'
1645 - $ref: '#/components/schemas/CompletionMessage'
1646 score:
1647 type: number
1648 required:
1649 - message
1650 - score
1651 type: object
1652 SearchToolDefinition:
1653 additionalProperties: false
1654 properties:
1655 engine:
1656 enum:
1657 - bing
1658 - brave
1659 type: string
1660 input_shields:
1661 items:
1662 $ref: '#/components/schemas/ShieldDefinition'
1663 type: array
1664 output_shields:
1665 items:
1666 $ref: '#/components/schemas/ShieldDefinition'
1667 type: array
1668 remote_execution:
1669 $ref: '#/components/schemas/RestAPIExecutionConfig'
1670 type:
1671 const: brave_search
1672 type: string
1673 required:
1674 - type
1675 - engine
1676 type: object
1677 Session:
1678 additionalProperties: false
1679 properties:
1680 memory_bank:
1681 $ref: '#/components/schemas/MemoryBank'
1682 session_id:
1683 type: string
1684 session_name:
1685 type: string
1686 started_at:
1687 format: date-time
1688 type: string
1689 turns:
1690 items:
1691 $ref: '#/components/schemas/Turn'
1692 type: array
1693 required:
1694 - session_id
1695 - session_name
1696 - turns
1697 - started_at
1698 title: A single session of an interaction with an Agentic System.
1699 type: object
1700 ShieldCallStep:
1701 additionalProperties: false
1702 properties:
1703 completed_at:
1704 format: date-time
1705 type: string
1706 response:
1707 $ref: '#/components/schemas/ShieldResponse'
1708 started_at:
1709 format: date-time
1710 type: string
1711 step_id:
1712 type: string
1713 step_type:
1714 const: shield_call
1715 type: string
1716 turn_id:
1717 type: string
1718 required:
1719 - turn_id
1720 - step_id
1721 - step_type
1722 - response
1723 type: object
1724 ShieldDefinition:
1725 additionalProperties: false
1726 properties:
1727 description:
1728 type: string
1729 execution_config:
1730 $ref: '#/components/schemas/RestAPIExecutionConfig'
1731 on_violation_action:
1732 $ref: '#/components/schemas/OnViolationAction'
1733 parameters:
1734 additionalProperties:
1735 $ref: '#/components/schemas/ToolParamDefinition'
1736 type: object
1737 shield_type:
1738 oneOf:
1739 - $ref: '#/components/schemas/BuiltinShield'
1740 - type: string
1741 required:
1742 - shield_type
1743 - on_violation_action
1744 type: object
1745 ShieldResponse:
1746 additionalProperties: false
1747 properties:
1748 is_violation:
1749 type: boolean
1750 shield_type:
1751 oneOf:
1752 - $ref: '#/components/schemas/BuiltinShield'
1753 - type: string
1754 violation_return_message:
1755 type: string
1756 violation_type:
1757 type: string
1758 required:
1759 - shield_type
1760 - is_violation
1761 type: object
1762 SpanEndPayload:
1763 additionalProperties: false
1764 properties:
1765 status:
1766 $ref: '#/components/schemas/SpanStatus'
1767 type:
1768 const: span_end
1769 type: string
1770 required:
1771 - type
1772 - status
1773 type: object
1774 SpanStartPayload:
1775 additionalProperties: false
1776 properties:
1777 name:
1778 type: string
1779 parent_span_id:
1780 type: string
1781 type:
1782 const: span_start
1783 type: string
1784 required:
1785 - type
1786 - name
1787 type: object
1788 SpanStatus:
1789 enum:
1790 - ok
1791 - error
1792 type: string
1793 StopReason:
1794 enum:
1795 - end_of_turn
1796 - end_of_message
1797 - out_of_tokens
1798 type: string
1799 StructuredLogEvent:
1800 additionalProperties: false
1801 properties:
1802 attributes:
1803 additionalProperties:
1804 oneOf:
1805 - type: 'null'
1806 - type: boolean
1807 - type: number
1808 - type: string
1809 - type: array
1810 - type: object
1811 type: object
1812 payload:
1813 oneOf:
1814 - $ref: '#/components/schemas/SpanStartPayload'
1815 - $ref: '#/components/schemas/SpanEndPayload'
1816 span_id:
1817 type: string
1818 timestamp:
1819 format: date-time
1820 type: string
1821 trace_id:
1822 type: string
1823 type:
1824 const: structured_log
1825 type: string
1826 required:
1827 - trace_id
1828 - span_id
1829 - timestamp
1830 - type
1831 - payload
1832 type: object
1833 SupervisedFineTuneRequest:
1834 additionalProperties: false
1835 properties:
1836 algorithm:
1837 $ref: '#/components/schemas/FinetuningAlgorithm'
1838 algorithm_config:
1839 oneOf:
1840 - $ref: '#/components/schemas/LoraFinetuningConfig'
1841 - $ref: '#/components/schemas/QLoraFinetuningConfig'
1842 - $ref: '#/components/schemas/DoraFinetuningConfig'
1843 dataset:
1844 $ref: '#/components/schemas/TrainEvalDataset'
1845 hyperparam_search_config:
1846 additionalProperties:
1847 oneOf:
1848 - type: 'null'
1849 - type: boolean
1850 - type: number
1851 - type: string
1852 - type: array
1853 - type: object
1854 type: object
1855 job_uuid:
1856 type: string
1857 logger_config:
1858 additionalProperties:
1859 oneOf:
1860 - type: 'null'
1861 - type: boolean
1862 - type: number
1863 - type: string
1864 - type: array
1865 - type: object
1866 type: object
1867 model:
1868 type: string
1869 optimizer_config:
1870 $ref: '#/components/schemas/OptimizerConfig'
1871 training_config:
1872 $ref: '#/components/schemas/TrainingConfig'
1873 validation_dataset:
1874 $ref: '#/components/schemas/TrainEvalDataset'
1875 required:
1876 - job_uuid
1877 - model
1878 - dataset
1879 - validation_dataset
1880 - algorithm
1881 - algorithm_config
1882 - optimizer_config
1883 - training_config
1884 - hyperparam_search_config
1885 - logger_config
1886 type: object
1887 SyntheticDataGenerateRequest:
1888 additionalProperties: false
1889 properties:
1890 dialogs:
1891 items:
1892 oneOf:
1893 - $ref: '#/components/schemas/UserMessage'
1894 - $ref: '#/components/schemas/SystemMessage'
1895 - $ref: '#/components/schemas/ToolResponseMessage'
1896 - $ref: '#/components/schemas/CompletionMessage'
1897 type: array
1898 filtering_function:
1899 enum:
1900 - none
1901 - random
1902 - top_k
1903 - top_p
1904 - top_k_top_p
1905 - sigmoid
1906 title: The type of filtering function.
1907 type: string
1908 model:
1909 type: string
1910 required:
1911 - dialogs
1912 - filtering_function
1913 type: object
1914 SyntheticDataGenerationResponse:
1915 additionalProperties: false
1916 properties:
1917 statistics:
1918 additionalProperties:
1919 oneOf:
1920 - type: 'null'
1921 - type: boolean
1922 - type: number
1923 - type: string
1924 - type: array
1925 - type: object
1926 type: object
1927 synthetic_data:
1928 items:
1929 $ref: '#/components/schemas/ScoredDialogGenerations'
1930 type: array
1931 required:
1932 - synthetic_data
1933 title: Response from the synthetic data generation. Batch of (prompt, response,
1934 score) tuples that pass the threshold.
1935 type: object
1936 SystemMessage:
1937 additionalProperties: false
1938 properties:
1939 content:
1940 oneOf:
1941 - type: string
1942 - items:
1943 type: string
1944 type: array
1945 role:
1946 const: system
1947 type: string
1948 required:
1949 - role
1950 - content
1951 type: object
1952 TokenLogProbs:
1953 additionalProperties: false
1954 properties:
1955 logprobs_by_token:
1956 additionalProperties:
1957 type: number
1958 type: object
1959 required:
1960 - logprobs_by_token
1961 type: object
1962 ToolCall:
1963 additionalProperties: false
1964 properties:
1965 arguments:
1966 additionalProperties:
1967 oneOf:
1968 - type: string
1969 - type: integer
1970 - type: number
1971 - type: boolean
1972 - type: 'null'
1973 - items:
1974 oneOf:
1975 - type: string
1976 - type: integer
1977 - type: number
1978 - type: boolean
1979 - type: 'null'
1980 type: array
1981 - additionalProperties:
1982 oneOf:
1983 - type: string
1984 - type: integer
1985 - type: number
1986 - type: boolean
1987 - type: 'null'
1988 type: object
1989 type: object
1990 call_id:
1991 type: string
1992 tool_name:
1993 oneOf:
1994 - $ref: '#/components/schemas/BuiltinTool'
1995 - type: string
1996 required:
1997 - call_id
1998 - tool_name
1999 - arguments
2000 type: object
2001 ToolCallDelta:
2002 additionalProperties: false
2003 properties:
2004 content:
2005 oneOf:
2006 - type: string
2007 - $ref: '#/components/schemas/ToolCall'
2008 parse_status:
2009 $ref: '#/components/schemas/ToolCallParseStatus'
2010 required:
2011 - content
2012 - parse_status
2013 type: object
2014 ToolCallParseStatus:
2015 enum:
2016 - started
2017 - in_progress
2018 - failure
2019 - success
2020 type: string
2021 ToolChoice:
2022 enum:
2023 - auto
2024 - required
2025 type: string
2026 ToolDefinition:
2027 additionalProperties: false
2028 properties:
2029 description:
2030 type: string
2031 parameters:
2032 additionalProperties:
2033 $ref: '#/components/schemas/ToolParamDefinition'
2034 type: object
2035 tool_name:
2036 oneOf:
2037 - $ref: '#/components/schemas/BuiltinTool'
2038 - type: string
2039 required:
2040 - tool_name
2041 type: object
2042 ToolExecutionStep:
2043 additionalProperties: false
2044 properties:
2045 completed_at:
2046 format: date-time
2047 type: string
2048 started_at:
2049 format: date-time
2050 type: string
2051 step_id:
2052 type: string
2053 step_type:
2054 const: tool_execution
2055 type: string
2056 tool_calls:
2057 items:
2058 $ref: '#/components/schemas/ToolCall'
2059 type: array
2060 tool_responses:
2061 items:
2062 $ref: '#/components/schemas/ToolResponse'
2063 type: array
2064 turn_id:
2065 type: string
2066 required:
2067 - turn_id
2068 - step_id
2069 - step_type
2070 - tool_calls
2071 - tool_responses
2072 type: object
2073 ToolParamDefinition:
2074 additionalProperties: false
2075 properties:
2076 description:
2077 type: string
2078 param_type:
2079 type: string
2080 required:
2081 type: boolean
2082 required:
2083 - param_type
2084 type: object
2085 ToolPromptFormat:
2086 description: "`json` --\n Refers to the json format for calling tools.\n\
2087 \ The json format takes the form like\n {\n \"type\": \"function\"\
2088 ,\n \"function\" : {\n \"name\": \"function_name\",\n \
2089 \ \"description\": \"function_description\",\n \"parameters\"\
2090 : {...}\n }\n }\n\n`function_tag` --\n This is an example of\
2091 \ how you could define\n your own user defined format for making tool calls.\n\
2092 \ The function_tag format looks like this,\n <function=function_name>(parameters)</function>\n\
2093 \nThe detailed prompts for each of these formats are added to llama cli"
2094 enum:
2095 - json
2096 - function_tag
2097 title: This Enum refers to the prompt format for calling custom / zero shot
2098 tools
2099 type: string
2100 ToolResponse:
2101 additionalProperties: false
2102 properties:
2103 call_id:
2104 type: string
2105 content:
2106 oneOf:
2107 - type: string
2108 - items:
2109 type: string
2110 type: array
2111 tool_name:
2112 oneOf:
2113 - $ref: '#/components/schemas/BuiltinTool'
2114 - type: string
2115 required:
2116 - call_id
2117 - tool_name
2118 - content
2119 type: object
2120 ToolResponseMessage:
2121 additionalProperties: false
2122 properties:
2123 call_id:
2124 type: string
2125 content:
2126 oneOf:
2127 - type: string
2128 - items:
2129 type: string
2130 type: array
2131 role:
2132 const: ipython
2133 type: string
2134 tool_name:
2135 oneOf:
2136 - $ref: '#/components/schemas/BuiltinTool'
2137 - type: string
2138 required:
2139 - role
2140 - call_id
2141 - tool_name
2142 - content
2143 type: object
2144 Trace:
2145 additionalProperties: false
2146 properties:
2147 end_time:
2148 format: date-time
2149 type: string
2150 root_span_id:
2151 type: string
2152 start_time:
2153 format: date-time
2154 type: string
2155 trace_id:
2156 type: string
2157 required:
2158 - trace_id
2159 - root_span_id
2160 - start_time
2161 type: object
2162 TrainEvalDataset:
2163 additionalProperties: false
2164 properties:
2165 columns:
2166 additionalProperties:
2167 $ref: '#/components/schemas/TrainEvalDatasetColumnType'
2168 type: object
2169 content_url:
2170 $ref: '#/components/schemas/URL'
2171 metadata:
2172 additionalProperties:
2173 oneOf:
2174 - type: 'null'
2175 - type: boolean
2176 - type: number
2177 - type: string
2178 - type: array
2179 - type: object
2180 type: object
2181 required:
2182 - columns
2183 - content_url
2184 title: Dataset to be used for training or evaluating language models.
2185 type: object
2186 TrainEvalDatasetColumnType:
2187 enum:
2188 - dialog
2189 - text
2190 - media
2191 - number
2192 - json
2193 type: string
2194 TrainingConfig:
2195 additionalProperties: false
2196 properties:
2197 batch_size:
2198 type: integer
2199 enable_activation_checkpointing:
2200 type: boolean
2201 fsdp_cpu_offload:
2202 type: boolean
2203 memory_efficient_fsdp_wrap:
2204 type: boolean
2205 n_epochs:
2206 type: integer
2207 n_iters:
2208 type: integer
2209 shuffle:
2210 type: boolean
2211 required:
2212 - n_epochs
2213 - batch_size
2214 - shuffle
2215 - n_iters
2216 - enable_activation_checkpointing
2217 - memory_efficient_fsdp_wrap
2218 - fsdp_cpu_offload
2219 type: object
2220 Turn:
2221 additionalProperties: false
2222 properties:
2223 completed_at:
2224 format: date-time
2225 type: string
2226 input_messages:
2227 items:
2228 oneOf:
2229 - $ref: '#/components/schemas/UserMessage'
2230 - $ref: '#/components/schemas/ToolResponseMessage'
2231 type: array
2232 output_attachments:
2233 items:
2234 $ref: '#/components/schemas/Attachment'
2235 type: array
2236 output_message:
2237 $ref: '#/components/schemas/CompletionMessage'
2238 session_id:
2239 type: string
2240 started_at:
2241 format: date-time
2242 type: string
2243 steps:
2244 items:
2245 oneOf:
2246 - $ref: '#/components/schemas/InferenceStep'
2247 - $ref: '#/components/schemas/ToolExecutionStep'
2248 - $ref: '#/components/schemas/ShieldCallStep'
2249 - $ref: '#/components/schemas/MemoryRetrievalStep'
2250 type: array
2251 turn_id:
2252 type: string
2253 required:
2254 - turn_id
2255 - session_id
2256 - input_messages
2257 - steps
2258 - output_message
2259 - output_attachments
2260 - started_at
2261 title: A single turn in an interaction with an Agentic System.
2262 type: object
2263 URL:
2264 format: uri
2265 pattern: ^(https?://|file://|data:)
2266 type: string
2267 UnstructuredLogEvent:
2268 additionalProperties: false
2269 properties:
2270 attributes:
2271 additionalProperties:
2272 oneOf:
2273 - type: 'null'
2274 - type: boolean
2275 - type: number
2276 - type: string
2277 - type: array
2278 - type: object
2279 type: object
2280 message:
2281 type: string
2282 severity:
2283 $ref: '#/components/schemas/LogSeverity'
2284 span_id:
2285 type: string
2286 timestamp:
2287 format: date-time
2288 type: string
2289 trace_id:
2290 type: string
2291 type:
2292 const: unstructured_log
2293 type: string
2294 required:
2295 - trace_id
2296 - span_id
2297 - timestamp
2298 - type
2299 - message
2300 - severity
2301 type: object
2302 UpdateDocumentsRequest:
2303 additionalProperties: false
2304 properties:
2305 bank_id:
2306 type: string
2307 documents:
2308 items:
2309 $ref: '#/components/schemas/MemoryBankDocument'
2310 type: array
2311 required:
2312 - bank_id
2313 - documents
2314 type: object
2315 UserMessage:
2316 additionalProperties: false
2317 properties:
2318 content:
2319 oneOf:
2320 - type: string
2321 - items:
2322 type: string
2323 type: array
2324 context:
2325 oneOf:
2326 - type: string
2327 - items:
2328 type: string
2329 type: array
2330 role:
2331 const: user
2332 type: string
2333 required:
2334 - role
2335 - content
2336 type: object
2337 WolframAlphaToolDefinition:
2338 additionalProperties: false
2339 properties:
2340 input_shields:
2341 items:
2342 $ref: '#/components/schemas/ShieldDefinition'
2343 type: array
2344 output_shields:
2345 items:
2346 $ref: '#/components/schemas/ShieldDefinition'
2347 type: array
2348 remote_execution:
2349 $ref: '#/components/schemas/RestAPIExecutionConfig'
2350 type:
2351 const: wolfram_alpha
2352 type: string
2353 required:
2354 - type
2355 type: object
2356info:
2357 description: "This is the specification of the llama stack that provides\n \
2358 \ a set of endpoints and their corresponding interfaces that are tailored\
2359 \ to\n best leverage Llama Models. The specification is still in\
2360 \ draft and subject to change.\n Generated at 2024-09-11 16:05:23.016090"
2361 title: '[DRAFT] Llama Stack Specification'
2362 version: 0.0.1
2363jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
2364openapi: 3.1.0
2365paths:
2366 /agentic_system/create:
2367 post:
2368 parameters: []
2369 requestBody:
2370 content:
2371 application/json:
2372 schema:
2373 $ref: '#/components/schemas/CreateAgenticSystemRequest'
2374 required: true
2375 responses:
2376 '200':
2377 content:
2378 application/json:
2379 schema:
2380 $ref: '#/components/schemas/AgenticSystemCreateResponse'
2381 description: OK
2382 tags:
2383 - AgenticSystem
2384 /agentic_system/delete:
2385 post:
2386 parameters: []
2387 requestBody:
2388 content:
2389 application/json:
2390 schema:
2391 $ref: '#/components/schemas/DeleteAgenticSystemRequest'
2392 required: true
2393 responses:
2394 '200':
2395 description: OK
2396 tags:
2397 - AgenticSystem
2398 /agentic_system/session/create:
2399 post:
2400 parameters: []
2401 requestBody:
2402 content:
2403 application/json:
2404 schema:
2405 $ref: '#/components/schemas/CreateAgenticSystemSessionRequest'
2406 required: true
2407 responses:
2408 '200':
2409 content:
2410 application/json:
2411 schema:
2412 $ref: '#/components/schemas/AgenticSystemSessionCreateResponse'
2413 description: OK
2414 tags:
2415 - AgenticSystem
2416 /agentic_system/session/delete:
2417 post:
2418 parameters: []
2419 requestBody:
2420 content:
2421 application/json:
2422 schema:
2423 $ref: '#/components/schemas/DeleteAgenticSystemSessionRequest'
2424 required: true
2425 responses:
2426 '200':
2427 description: OK
2428 tags:
2429 - AgenticSystem
2430 /agentic_system/session/get:
2431 post:
2432 parameters:
2433 - in: query
2434 name: agent_id
2435 required: true
2436 schema:
2437 type: string
2438 - in: query
2439 name: session_id
2440 required: true
2441 schema:
2442 type: string
2443 requestBody:
2444 content:
2445 application/json:
2446 schema:
2447 $ref: '#/components/schemas/GetAgenticSystemSessionRequest'
2448 required: true
2449 responses:
2450 '200':
2451 content:
2452 application/json:
2453 schema:
2454 $ref: '#/components/schemas/Session'
2455 description: OK
2456 tags:
2457 - AgenticSystem
2458 /agentic_system/step/get:
2459 get:
2460 parameters:
2461 - in: query
2462 name: agent_id
2463 required: true
2464 schema:
2465 type: string
2466 - in: query
2467 name: turn_id
2468 required: true
2469 schema:
2470 type: string
2471 - in: query
2472 name: step_id
2473 required: true
2474 schema:
2475 type: string
2476 responses:
2477 '200':
2478 content:
2479 application/json:
2480 schema:
2481 $ref: '#/components/schemas/AgenticSystemStepResponse'
2482 description: OK
2483 tags:
2484 - AgenticSystem
2485 /agentic_system/turn/create:
2486 post:
2487 parameters: []
2488 requestBody:
2489 content:
2490 application/json:
2491 schema:
2492 $ref: '#/components/schemas/CreateAgenticSystemTurnRequest'
2493 required: true
2494 responses:
2495 '200':
2496 content:
2497 text/event-stream:
2498 schema:
2499 $ref: '#/components/schemas/AgenticSystemTurnResponseStreamChunk'
2500 description: OK
2501 tags:
2502 - AgenticSystem
2503 /agentic_system/turn/get:
2504 get:
2505 parameters:
2506 - in: query
2507 name: agent_id
2508 required: true
2509 schema:
2510 type: string
2511 - in: query
2512 name: turn_id
2513 required: true
2514 schema:
2515 type: string
2516 responses:
2517 '200':
2518 content:
2519 application/json:
2520 schema:
2521 $ref: '#/components/schemas/Turn'
2522 description: OK
2523 tags:
2524 - AgenticSystem
2525 /batch_inference/chat_completion:
2526 post:
2527 parameters: []
2528 requestBody:
2529 content:
2530 application/json:
2531 schema:
2532 $ref: '#/components/schemas/BatchChatCompletionRequest'
2533 required: true
2534 responses:
2535 '200':
2536 content:
2537 application/json:
2538 schema:
2539 $ref: '#/components/schemas/BatchChatCompletionResponse'
2540 description: OK
2541 tags:
2542 - BatchInference
2543 /batch_inference/completion:
2544 post:
2545 parameters: []
2546 requestBody:
2547 content:
2548 application/json:
2549 schema:
2550 $ref: '#/components/schemas/BatchCompletionRequest'
2551 required: true
2552 responses:
2553 '200':
2554 content:
2555 application/json:
2556 schema:
2557 $ref: '#/components/schemas/BatchCompletionResponse'
2558 description: OK
2559 tags:
2560 - BatchInference
2561 /datasets/create:
2562 post:
2563 parameters: []
2564 requestBody:
2565 content:
2566 application/json:
2567 schema:
2568 $ref: '#/components/schemas/CreateDatasetRequest'
2569 required: true
2570 responses:
2571 '200':
2572 description: OK
2573 tags:
2574 - Datasets
2575 /datasets/delete:
2576 post:
2577 parameters: []
2578 requestBody:
2579 content:
2580 application/json:
2581 schema:
2582 $ref: '#/components/schemas/DeleteDatasetRequest'
2583 required: true
2584 responses:
2585 '200':
2586 description: OK
2587 tags:
2588 - Datasets
2589 /datasets/get:
2590 get:
2591 parameters:
2592 - in: query
2593 name: dataset_uuid
2594 required: true
2595 schema:
2596 type: string
2597 responses:
2598 '200':
2599 content:
2600 application/json:
2601 schema:
2602 $ref: '#/components/schemas/TrainEvalDataset'
2603 description: OK
2604 tags:
2605 - Datasets
2606 /evaluate/job/artifacts:
2607 get:
2608 parameters:
2609 - in: query
2610 name: job_uuid
2611 required: true
2612 schema:
2613 type: string
2614 responses:
2615 '200':
2616 content:
2617 application/json:
2618 schema:
2619 $ref: '#/components/schemas/EvaluationJobArtifactsResponse'
2620 description: OK
2621 tags:
2622 - Evaluations
2623 /evaluate/job/cancel:
2624 post:
2625 parameters: []
2626 requestBody:
2627 content:
2628 application/json:
2629 schema:
2630 $ref: '#/components/schemas/CancelEvaluationJobRequest'
2631 required: true
2632 responses:
2633 '200':
2634 description: OK
2635 tags:
2636 - Evaluations
2637 /evaluate/job/logs:
2638 get:
2639 parameters:
2640 - in: query
2641 name: job_uuid
2642 required: true
2643 schema:
2644 type: string
2645 responses:
2646 '200':
2647 content:
2648 application/json:
2649 schema:
2650 $ref: '#/components/schemas/EvaluationJobLogStream'
2651 description: OK
2652 tags:
2653 - Evaluations
2654 /evaluate/job/status:
2655 get:
2656 parameters:
2657 - in: query
2658 name: job_uuid
2659 required: true
2660 schema:
2661 type: string
2662 responses:
2663 '200':
2664 content:
2665 application/json:
2666 schema:
2667 $ref: '#/components/schemas/EvaluationJobStatusResponse'
2668 description: OK
2669 tags:
2670 - Evaluations
2671 /evaluate/jobs:
2672 get:
2673 parameters: []
2674 responses:
2675 '200':
2676 content:
2677 application/jsonl:
2678 schema:
2679 $ref: '#/components/schemas/EvaluationJob'
2680 description: OK
2681 tags:
2682 - Evaluations
2683 /evaluate/question_answering/:
2684 post:
2685 parameters: []
2686 requestBody:
2687 content:
2688 application/json:
2689 schema:
2690 $ref: '#/components/schemas/EvaluateQuestionAnsweringRequest'
2691 required: true
2692 responses:
2693 '200':
2694 content:
2695 application/json:
2696 schema:
2697 $ref: '#/components/schemas/EvaluationJob'
2698 description: OK
2699 tags:
2700 - Evaluations
2701 /evaluate/summarization/:
2702 post:
2703 parameters: []
2704 requestBody:
2705 content:
2706 application/json:
2707 schema:
2708 $ref: '#/components/schemas/EvaluateSummarizationRequest'
2709 required: true
2710 responses:
2711 '200':
2712 content:
2713 application/json:
2714 schema:
2715 $ref: '#/components/schemas/EvaluationJob'
2716 description: OK
2717 tags:
2718 - Evaluations
2719 /evaluate/text_generation/:
2720 post:
2721 parameters: []
2722 requestBody:
2723 content:
2724 application/json:
2725 schema:
2726 $ref: '#/components/schemas/EvaluateTextGenerationRequest'
2727 required: true
2728 responses:
2729 '200':
2730 content:
2731 application/json:
2732 schema:
2733 $ref: '#/components/schemas/EvaluationJob'
2734 description: OK
2735 tags:
2736 - Evaluations
2737 /inference/chat_completion:
2738 post:
2739 parameters: []
2740 requestBody:
2741 content:
2742 application/json:
2743 schema:
2744 $ref: '#/components/schemas/ChatCompletionRequest'
2745 required: true
2746 responses:
2747 '200':
2748 content:
2749 text/event-stream:
2750 schema:
2751 oneOf:
2752 - $ref: '#/components/schemas/ChatCompletionResponse'
2753 - $ref: '#/components/schemas/ChatCompletionResponseStreamChunk'
2754 description: Chat completion response. **OR** SSE-stream of these events.
2755 tags:
2756 - Inference
2757 /inference/completion:
2758 post:
2759 parameters: []
2760 requestBody:
2761 content:
2762 application/json:
2763 schema:
2764 $ref: '#/components/schemas/CompletionRequest'
2765 required: true
2766 responses:
2767 '200':
2768 content:
2769 application/json:
2770 schema:
2771 oneOf:
2772 - $ref: '#/components/schemas/CompletionResponse'
2773 - $ref: '#/components/schemas/CompletionResponseStreamChunk'
2774 description: Completion response. **OR** streamed completion response.
2775 tags:
2776 - Inference
2777 /inference/embeddings:
2778 post:
2779 parameters: []
2780 requestBody:
2781 content:
2782 application/json:
2783 schema:
2784 $ref: '#/components/schemas/EmbeddingsRequest'
2785 required: true
2786 responses:
2787 '200':
2788 content:
2789 application/json:
2790 schema:
2791 $ref: '#/components/schemas/EmbeddingsResponse'
2792 description: OK
2793 tags:
2794 - Inference
2795 /memory_bank/documents/delete:
2796 post:
2797 parameters: []
2798 requestBody:
2799 content:
2800 application/json:
2801 schema:
2802 $ref: '#/components/schemas/DeleteDocumentsRequest'
2803 required: true
2804 responses:
2805 '200':
2806 description: OK
2807 tags:
2808 - Memory
2809 /memory_bank/documents/get:
2810 post:
2811 parameters:
2812 - in: query
2813 name: bank_id
2814 required: true
2815 schema:
2816 type: string
2817 requestBody:
2818 content:
2819 application/json:
2820 schema:
2821 $ref: '#/components/schemas/GetDocumentsRequest'
2822 required: true
2823 responses:
2824 '200':
2825 content:
2826 application/jsonl:
2827 schema:
2828 $ref: '#/components/schemas/MemoryBankDocument'
2829 description: OK
2830 tags:
2831 - Memory
2832 /memory_bank/insert:
2833 post:
2834 parameters: []
2835 requestBody:
2836 content:
2837 application/json:
2838 schema:
2839 $ref: '#/components/schemas/InsertDocumentsRequest'
2840 required: true
2841 responses:
2842 '200':
2843 description: OK
2844 tags:
2845 - Memory
2846 /memory_bank/query:
2847 post:
2848 parameters: []
2849 requestBody:
2850 content:
2851 application/json:
2852 schema:
2853 $ref: '#/components/schemas/QueryDocumentsRequest'
2854 required: true
2855 responses:
2856 '200':
2857 content:
2858 application/json:
2859 schema:
2860 $ref: '#/components/schemas/QueryDocumentsResponse'
2861 description: OK
2862 tags:
2863 - Memory
2864 /memory_bank/update:
2865 post:
2866 parameters: []
2867 requestBody:
2868 content:
2869 application/json:
2870 schema:
2871 $ref: '#/components/schemas/UpdateDocumentsRequest'
2872 required: true
2873 responses:
2874 '200':
2875 description: OK
2876 tags:
2877 - Memory
2878 /memory_banks/create:
2879 post:
2880 parameters: []
2881 requestBody:
2882 content:
2883 application/json:
2884 schema:
2885 $ref: '#/components/schemas/CreateMemoryBankRequest'
2886 required: true
2887 responses:
2888 '200':
2889 content:
2890 application/json:
2891 schema:
2892 $ref: '#/components/schemas/MemoryBank'
2893 description: OK
2894 tags:
2895 - Memory
2896 /memory_banks/drop:
2897 post:
2898 parameters: []
2899 requestBody:
2900 content:
2901 application/json:
2902 schema:
2903 $ref: '#/components/schemas/DropMemoryBankRequest'
2904 required: true
2905 responses:
2906 '200':
2907 content:
2908 application/json:
2909 schema:
2910 type: string
2911 description: OK
2912 tags:
2913 - Memory
2914 /memory_banks/get:
2915 get:
2916 parameters:
2917 - in: query
2918 name: bank_id
2919 required: true
2920 schema:
2921 type: string
2922 responses:
2923 '200':
2924 content:
2925 application/json:
2926 schema:
2927 oneOf:
2928 - $ref: '#/components/schemas/MemoryBank'
2929 - type: 'null'
2930 description: OK
2931 tags:
2932 - Memory
2933 /memory_banks/list:
2934 get:
2935 parameters: []
2936 responses:
2937 '200':
2938 content:
2939 application/jsonl:
2940 schema:
2941 $ref: '#/components/schemas/MemoryBank'
2942 description: OK
2943 tags:
2944 - Memory
2945 /post_training/job/artifacts:
2946 get:
2947 parameters:
2948 - in: query
2949 name: job_uuid
2950 required: true
2951 schema:
2952 type: string
2953 responses:
2954 '200':
2955 content:
2956 application/json:
2957 schema:
2958 $ref: '#/components/schemas/PostTrainingJobArtifactsResponse'
2959 description: OK
2960 tags:
2961 - PostTraining
2962 /post_training/job/cancel:
2963 post:
2964 parameters: []
2965 requestBody:
2966 content:
2967 application/json:
2968 schema:
2969 $ref: '#/components/schemas/CancelTrainingJobRequest'
2970 required: true
2971 responses:
2972 '200':
2973 description: OK
2974 tags:
2975 - PostTraining
2976 /post_training/job/logs:
2977 get:
2978 parameters:
2979 - in: query
2980 name: job_uuid
2981 required: true
2982 schema:
2983 type: string
2984 responses:
2985 '200':
2986 content:
2987 application/json:
2988 schema:
2989 $ref: '#/components/schemas/PostTrainingJobLogStream'
2990 description: OK
2991 tags:
2992 - PostTraining
2993 /post_training/job/status:
2994 get:
2995 parameters:
2996 - in: query
2997 name: job_uuid
2998 required: true
2999 schema:
3000 type: string
3001 responses:
3002 '200':
3003 content:
3004 application/json:
3005 schema:
3006 $ref: '#/components/schemas/PostTrainingJobStatusResponse'
3007 description: OK
3008 tags:
3009 - PostTraining
3010 /post_training/jobs:
3011 get:
3012 parameters: []
3013 responses:
3014 '200':
3015 content:
3016 application/jsonl:
3017 schema:
3018 $ref: '#/components/schemas/PostTrainingJob'
3019 description: OK
3020 tags:
3021 - PostTraining
3022 /post_training/preference_optimize:
3023 post:
3024 parameters: []
3025 requestBody:
3026 content:
3027 application/json:
3028 schema:
3029 $ref: '#/components/schemas/PreferenceOptimizeRequest'
3030 required: true
3031 responses:
3032 '200':
3033 content:
3034 application/json:
3035 schema:
3036 $ref: '#/components/schemas/PostTrainingJob'
3037 description: OK
3038 tags:
3039 - PostTraining
3040 /post_training/supervised_fine_tune:
3041 post:
3042 parameters: []
3043 requestBody:
3044 content:
3045 application/json:
3046 schema:
3047 $ref: '#/components/schemas/SupervisedFineTuneRequest'
3048 required: true
3049 responses:
3050 '200':
3051 content:
3052 application/json:
3053 schema:
3054 $ref: '#/components/schemas/PostTrainingJob'
3055 description: OK
3056 tags:
3057 - PostTraining
3058 /reward_scoring/score:
3059 post:
3060 parameters: []
3061 requestBody:
3062 content:
3063 application/json:
3064 schema:
3065 $ref: '#/components/schemas/RewardScoreRequest'
3066 required: true
3067 responses:
3068 '200':
3069 content:
3070 application/json:
3071 schema:
3072 $ref: '#/components/schemas/RewardScoringResponse'
3073 description: OK
3074 tags:
3075 - RewardScoring
3076 /safety/run_shields:
3077 post:
3078 parameters: []
3079 requestBody:
3080 content:
3081 application/json:
3082 schema:
3083 $ref: '#/components/schemas/RunShieldsRequest'
3084 required: true
3085 responses:
3086 '200':
3087 content:
3088 application/json:
3089 schema:
3090 $ref: '#/components/schemas/RunShieldResponse'
3091 description: OK
3092 tags:
3093 - Safety
3094 /synthetic_data_generation/generate:
3095 post:
3096 parameters: []
3097 requestBody:
3098 content:
3099 application/json:
3100 schema:
3101 $ref: '#/components/schemas/SyntheticDataGenerateRequest'
3102 required: true
3103 responses:
3104 '200':
3105 content:
3106 application/json:
3107 schema:
3108 $ref: '#/components/schemas/SyntheticDataGenerationResponse'
3109 description: OK
3110 tags:
3111 - SyntheticDataGeneration
3112 /telemetry/get_trace:
3113 get:
3114 parameters:
3115 - in: query
3116 name: trace_id
3117 required: true
3118 schema:
3119 type: string
3120 responses:
3121 '200':
3122 content:
3123 application/json:
3124 schema:
3125 $ref: '#/components/schemas/Trace'
3126 description: OK
3127 tags:
3128 - Telemetry
3129 /telemetry/log_event:
3130 post:
3131 parameters: []
3132 requestBody:
3133 content:
3134 application/json:
3135 schema:
3136 $ref: '#/components/schemas/LogEventRequest'
3137 required: true
3138 responses:
3139 '200':
3140 description: OK
3141 tags:
3142 - Telemetry
3143security:
3144- Default: []
3145servers:
3146- url: http://any-hosted-llama-stack.com
3147tags:
3148- name: SyntheticDataGeneration
3149- name: Datasets
3150- name: Evaluations
3151- name: Safety
3152- name: Inference
3153- name: Telemetry
3154- name: PostTraining
3155- name: Memory
3156- name: RewardScoring
3157- name: BatchInference
3158- name: AgenticSystem
3159- description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinTool" />
3160 name: BuiltinTool
3161- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionMessage"
3162 />
3163 name: CompletionMessage
3164- description: <SchemaDefinition schemaRef="#/components/schemas/SamplingParams" />
3165 name: SamplingParams
3166- description: <SchemaDefinition schemaRef="#/components/schemas/SamplingStrategy"
3167 />
3168 name: SamplingStrategy
3169- description: <SchemaDefinition schemaRef="#/components/schemas/StopReason" />
3170 name: StopReason
3171- description: <SchemaDefinition schemaRef="#/components/schemas/SystemMessage" />
3172 name: SystemMessage
3173- description: <SchemaDefinition schemaRef="#/components/schemas/ToolCall" />
3174 name: ToolCall
3175- description: <SchemaDefinition schemaRef="#/components/schemas/ToolChoice" />
3176 name: ToolChoice
3177- description: <SchemaDefinition schemaRef="#/components/schemas/ToolDefinition" />
3178 name: ToolDefinition
3179- description: <SchemaDefinition schemaRef="#/components/schemas/ToolParamDefinition"
3180 />
3181 name: ToolParamDefinition
3182- description: "This Enum refers to the prompt format for calling custom / zero shot\
3183 \ tools\n\n`json` --\n Refers to the json format for calling tools.\n The\
3184 \ json format takes the form like\n {\n \"type\": \"function\",\n \
3185 \ \"function\" : {\n \"name\": \"function_name\",\n \
3186 \ \"description\": \"function_description\",\n \"parameters\": {...}\n\
3187 \ }\n }\n\n`function_tag` --\n This is an example of how you could\
3188 \ define\n your own user defined format for making tool calls.\n The function_tag\
3189 \ format looks like this,\n <function=function_name>(parameters)</function>\n\
3190 \nThe detailed prompts for each of these formats are added to llama cli\n\n<SchemaDefinition\
3191 \ schemaRef=\"#/components/schemas/ToolPromptFormat\" />"
3192 name: ToolPromptFormat
3193- description: <SchemaDefinition schemaRef="#/components/schemas/ToolResponseMessage"
3194 />
3195 name: ToolResponseMessage
3196- description: <SchemaDefinition schemaRef="#/components/schemas/UserMessage" />
3197 name: UserMessage
3198- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionRequest"
3199 />
3200 name: BatchChatCompletionRequest
3201- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionResponse"
3202 />
3203 name: BatchChatCompletionResponse
3204- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionRequest"
3205 />
3206 name: BatchCompletionRequest
3207- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionResponse"
3208 />
3209 name: BatchCompletionResponse
3210- description: <SchemaDefinition schemaRef="#/components/schemas/CancelEvaluationJobRequest"
3211 />
3212 name: CancelEvaluationJobRequest
3213- description: <SchemaDefinition schemaRef="#/components/schemas/CancelTrainingJobRequest"
3214 />
3215 name: CancelTrainingJobRequest
3216- description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionRequest"
3217 />
3218 name: ChatCompletionRequest
3219- description: 'Chat completion response.
3220
3221
3222 <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponse" />'
3223 name: ChatCompletionResponse
3224- description: 'Chat completion response event.
3225
3226
3227 <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponseEvent"
3228 />'
3229 name: ChatCompletionResponseEvent
3230- description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponseEventType"
3231 />
3232 name: ChatCompletionResponseEventType
3233- description: 'SSE-stream of these events.
3234
3235
3236 <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionResponseStreamChunk"
3237 />'
3238 name: ChatCompletionResponseStreamChunk
3239- description: <SchemaDefinition schemaRef="#/components/schemas/TokenLogProbs" />
3240 name: TokenLogProbs
3241- description: <SchemaDefinition schemaRef="#/components/schemas/ToolCallDelta" />
3242 name: ToolCallDelta
3243- description: <SchemaDefinition schemaRef="#/components/schemas/ToolCallParseStatus"
3244 />
3245 name: ToolCallParseStatus
3246- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionRequest"
3247 />
3248 name: CompletionRequest
3249- description: 'Completion response.
3250
3251
3252 <SchemaDefinition schemaRef="#/components/schemas/CompletionResponse" />'
3253 name: CompletionResponse
3254- description: 'streamed completion response.
3255
3256
3257 <SchemaDefinition schemaRef="#/components/schemas/CompletionResponseStreamChunk"
3258 />'
3259 name: CompletionResponseStreamChunk
3260- description: <SchemaDefinition schemaRef="#/components/schemas/AgentConfig" />
3261 name: AgentConfig
3262- description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinShield" />
3263 name: BuiltinShield
3264- description: <SchemaDefinition schemaRef="#/components/schemas/CodeInterpreterToolDefinition"
3265 />
3266 name: CodeInterpreterToolDefinition
3267- description: <SchemaDefinition schemaRef="#/components/schemas/FunctionCallToolDefinition"
3268 />
3269 name: FunctionCallToolDefinition
3270- description: <SchemaDefinition schemaRef="#/components/schemas/OnViolationAction"
3271 />
3272 name: OnViolationAction
3273- description: <SchemaDefinition schemaRef="#/components/schemas/PhotogenToolDefinition"
3274 />
3275 name: PhotogenToolDefinition
3276- description: <SchemaDefinition schemaRef="#/components/schemas/RestAPIExecutionConfig"
3277 />
3278 name: RestAPIExecutionConfig
3279- description: <SchemaDefinition schemaRef="#/components/schemas/RestAPIMethod" />
3280 name: RestAPIMethod
3281- description: <SchemaDefinition schemaRef="#/components/schemas/SearchToolDefinition"
3282 />
3283 name: SearchToolDefinition
3284- description: <SchemaDefinition schemaRef="#/components/schemas/ShieldDefinition"
3285 />
3286 name: ShieldDefinition
3287- description: <SchemaDefinition schemaRef="#/components/schemas/URL" />
3288 name: URL
3289- description: <SchemaDefinition schemaRef="#/components/schemas/WolframAlphaToolDefinition"
3290 />
3291 name: WolframAlphaToolDefinition
3292- description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgenticSystemRequest"
3293 />
3294 name: CreateAgenticSystemRequest
3295- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemCreateResponse"
3296 />
3297 name: AgenticSystemCreateResponse
3298- description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgenticSystemSessionRequest"
3299 />
3300 name: CreateAgenticSystemSessionRequest
3301- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemSessionCreateResponse"
3302 />
3303 name: AgenticSystemSessionCreateResponse
3304- description: <SchemaDefinition schemaRef="#/components/schemas/Attachment" />
3305 name: Attachment
3306- description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgenticSystemTurnRequest"
3307 />
3308 name: CreateAgenticSystemTurnRequest
3309- description: 'Streamed agent execution response.
3310
3311
3312 <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnResponseEvent"
3313 />'
3314 name: AgenticSystemTurnResponseEvent
3315- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnResponseStepCompletePayload"
3316 />
3317 name: AgenticSystemTurnResponseStepCompletePayload
3318- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnResponseStepProgressPayload"
3319 />
3320 name: AgenticSystemTurnResponseStepProgressPayload
3321- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnResponseStepStartPayload"
3322 />
3323 name: AgenticSystemTurnResponseStepStartPayload
3324- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnResponseStreamChunk"
3325 />
3326 name: AgenticSystemTurnResponseStreamChunk
3327- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnResponseTurnCompletePayload"
3328 />
3329 name: AgenticSystemTurnResponseTurnCompletePayload
3330- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnResponseTurnStartPayload"
3331 />
3332 name: AgenticSystemTurnResponseTurnStartPayload
3333- description: <SchemaDefinition schemaRef="#/components/schemas/InferenceStep" />
3334 name: InferenceStep
3335- description: <SchemaDefinition schemaRef="#/components/schemas/MemoryRetrievalStep"
3336 />
3337 name: MemoryRetrievalStep
3338- description: <SchemaDefinition schemaRef="#/components/schemas/ShieldCallStep" />
3339 name: ShieldCallStep
3340- description: <SchemaDefinition schemaRef="#/components/schemas/ShieldResponse" />
3341 name: ShieldResponse
3342- description: <SchemaDefinition schemaRef="#/components/schemas/ToolExecutionStep"
3343 />
3344 name: ToolExecutionStep
3345- description: <SchemaDefinition schemaRef="#/components/schemas/ToolResponse" />
3346 name: ToolResponse
3347- description: 'A single turn in an interaction with an Agentic System.
3348
3349
3350 <SchemaDefinition schemaRef="#/components/schemas/Turn" />'
3351 name: Turn
3352- description: 'Dataset to be used for training or evaluating language models.
3353
3354
3355 <SchemaDefinition schemaRef="#/components/schemas/TrainEvalDataset" />'
3356 name: TrainEvalDataset
3357- description: <SchemaDefinition schemaRef="#/components/schemas/TrainEvalDatasetColumnType"
3358 />
3359 name: TrainEvalDatasetColumnType
3360- description: <SchemaDefinition schemaRef="#/components/schemas/CreateDatasetRequest"
3361 />
3362 name: CreateDatasetRequest
3363- description: <SchemaDefinition schemaRef="#/components/schemas/CreateMemoryBankRequest"
3364 />
3365 name: CreateMemoryBankRequest
3366- description: <SchemaDefinition schemaRef="#/components/schemas/MemoryBank" />
3367 name: MemoryBank
3368- description: <SchemaDefinition schemaRef="#/components/schemas/DeleteAgenticSystemRequest"
3369 />
3370 name: DeleteAgenticSystemRequest
3371- description: <SchemaDefinition schemaRef="#/components/schemas/DeleteAgenticSystemSessionRequest"
3372 />
3373 name: DeleteAgenticSystemSessionRequest
3374- description: <SchemaDefinition schemaRef="#/components/schemas/DeleteDatasetRequest"
3375 />
3376 name: DeleteDatasetRequest
3377- description: <SchemaDefinition schemaRef="#/components/schemas/DeleteDocumentsRequest"
3378 />
3379 name: DeleteDocumentsRequest
3380- description: <SchemaDefinition schemaRef="#/components/schemas/DropMemoryBankRequest"
3381 />
3382 name: DropMemoryBankRequest
3383- description: <SchemaDefinition schemaRef="#/components/schemas/EmbeddingsRequest"
3384 />
3385 name: EmbeddingsRequest
3386- description: <SchemaDefinition schemaRef="#/components/schemas/EmbeddingsResponse"
3387 />
3388 name: EmbeddingsResponse
3389- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateQuestionAnsweringRequest"
3390 />
3391 name: EvaluateQuestionAnsweringRequest
3392- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJob" />
3393 name: EvaluationJob
3394- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateSummarizationRequest"
3395 />
3396 name: EvaluateSummarizationRequest
3397- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateTextGenerationRequest"
3398 />
3399 name: EvaluateTextGenerationRequest
3400- description: <SchemaDefinition schemaRef="#/components/schemas/GetAgenticSystemSessionRequest"
3401 />
3402 name: GetAgenticSystemSessionRequest
3403- description: 'A single session of an interaction with an Agentic System.
3404
3405
3406 <SchemaDefinition schemaRef="#/components/schemas/Session" />'
3407 name: Session
3408- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemStepResponse"
3409 />
3410 name: AgenticSystemStepResponse
3411- description: <SchemaDefinition schemaRef="#/components/schemas/GetDocumentsRequest"
3412 />
3413 name: GetDocumentsRequest
3414- description: <SchemaDefinition schemaRef="#/components/schemas/MemoryBankDocument"
3415 />
3416 name: MemoryBankDocument
3417- description: 'Artifacts of a evaluation job.
3418
3419
3420 <SchemaDefinition schemaRef="#/components/schemas/EvaluationJobArtifactsResponse"
3421 />'
3422 name: EvaluationJobArtifactsResponse
3423- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJobLogStream"
3424 />
3425 name: EvaluationJobLogStream
3426- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJobStatusResponse"
3427 />
3428 name: EvaluationJobStatusResponse
3429- description: <SchemaDefinition schemaRef="#/components/schemas/Trace" />
3430 name: Trace
3431- description: 'Checkpoint created during training runs
3432
3433
3434 <SchemaDefinition schemaRef="#/components/schemas/Checkpoint" />'
3435 name: Checkpoint
3436- description: 'Artifacts of a finetuning job.
3437
3438
3439 <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobArtifactsResponse"
3440 />'
3441 name: PostTrainingJobArtifactsResponse
3442- description: 'Stream of logs from a finetuning job.
3443
3444
3445 <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobLogStream" />'
3446 name: PostTrainingJobLogStream
3447- description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobStatus"
3448 />
3449 name: PostTrainingJobStatus
3450- description: 'Status of a finetuning job.
3451
3452
3453 <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJobStatusResponse"
3454 />'
3455 name: PostTrainingJobStatusResponse
3456- description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingJob"
3457 />
3458 name: PostTrainingJob
3459- description: <SchemaDefinition schemaRef="#/components/schemas/InsertDocumentsRequest"
3460 />
3461 name: InsertDocumentsRequest
3462- description: <SchemaDefinition schemaRef="#/components/schemas/LogSeverity" />
3463 name: LogSeverity
3464- description: <SchemaDefinition schemaRef="#/components/schemas/MetricEvent" />
3465 name: MetricEvent
3466- description: <SchemaDefinition schemaRef="#/components/schemas/SpanEndPayload" />
3467 name: SpanEndPayload
3468- description: <SchemaDefinition schemaRef="#/components/schemas/SpanStartPayload"
3469 />
3470 name: SpanStartPayload
3471- description: <SchemaDefinition schemaRef="#/components/schemas/SpanStatus" />
3472 name: SpanStatus
3473- description: <SchemaDefinition schemaRef="#/components/schemas/StructuredLogEvent"
3474 />
3475 name: StructuredLogEvent
3476- description: <SchemaDefinition schemaRef="#/components/schemas/UnstructuredLogEvent"
3477 />
3478 name: UnstructuredLogEvent
3479- description: <SchemaDefinition schemaRef="#/components/schemas/LogEventRequest"
3480 />
3481 name: LogEventRequest
3482- description: <SchemaDefinition schemaRef="#/components/schemas/DPOAlignmentConfig"
3483 />
3484 name: DPOAlignmentConfig
3485- description: <SchemaDefinition schemaRef="#/components/schemas/OptimizerConfig"
3486 />
3487 name: OptimizerConfig
3488- description: <SchemaDefinition schemaRef="#/components/schemas/RLHFAlgorithm" />
3489 name: RLHFAlgorithm
3490- description: <SchemaDefinition schemaRef="#/components/schemas/TrainingConfig" />
3491 name: TrainingConfig
3492- description: <SchemaDefinition schemaRef="#/components/schemas/PreferenceOptimizeRequest"
3493 />
3494 name: PreferenceOptimizeRequest
3495- description: <SchemaDefinition schemaRef="#/components/schemas/QueryDocumentsRequest"
3496 />
3497 name: QueryDocumentsRequest
3498- description: <SchemaDefinition schemaRef="#/components/schemas/QueryDocumentsResponse"
3499 />
3500 name: QueryDocumentsResponse
3501- description: <SchemaDefinition schemaRef="#/components/schemas/DialogGenerations"
3502 />
3503 name: DialogGenerations
3504- description: <SchemaDefinition schemaRef="#/components/schemas/RewardScoreRequest"
3505 />
3506 name: RewardScoreRequest
3507- description: 'Response from the reward scoring. Batch of (prompt, response, score)
3508 tuples that pass the threshold.
3509
3510
3511 <SchemaDefinition schemaRef="#/components/schemas/RewardScoringResponse" />'
3512 name: RewardScoringResponse
3513- description: <SchemaDefinition schemaRef="#/components/schemas/ScoredDialogGenerations"
3514 />
3515 name: ScoredDialogGenerations
3516- description: <SchemaDefinition schemaRef="#/components/schemas/ScoredMessage" />
3517 name: ScoredMessage
3518- description: <SchemaDefinition schemaRef="#/components/schemas/RunShieldsRequest"
3519 />
3520 name: RunShieldsRequest
3521- description: <SchemaDefinition schemaRef="#/components/schemas/RunShieldResponse"
3522 />
3523 name: RunShieldResponse
3524- description: <SchemaDefinition schemaRef="#/components/schemas/DoraFinetuningConfig"
3525 />
3526 name: DoraFinetuningConfig
3527- description: <SchemaDefinition schemaRef="#/components/schemas/FinetuningAlgorithm"
3528 />
3529 name: FinetuningAlgorithm
3530- description: <SchemaDefinition schemaRef="#/components/schemas/LoraFinetuningConfig"
3531 />
3532 name: LoraFinetuningConfig
3533- description: <SchemaDefinition schemaRef="#/components/schemas/QLoraFinetuningConfig"
3534 />
3535 name: QLoraFinetuningConfig
3536- description: <SchemaDefinition schemaRef="#/components/schemas/SupervisedFineTuneRequest"
3537 />
3538 name: SupervisedFineTuneRequest
3539- description: <SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerateRequest"
3540 />
3541 name: SyntheticDataGenerateRequest
3542- description: 'Response from the synthetic data generation. Batch of (prompt, response,
3543 score) tuples that pass the threshold.
3544
3545
3546 <SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerationResponse"
3547 />'
3548 name: SyntheticDataGenerationResponse
3549- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateDocumentsRequest"
3550 />
3551 name: UpdateDocumentsRequest
3552x-tagGroups:
3553- name: Operations
3554 tags:
3555 - AgenticSystem
3556 - BatchInference
3557 - Datasets
3558 - Evaluations
3559 - Inference
3560 - Memory
3561 - PostTraining
3562 - RewardScoring
3563 - Safety
3564 - SyntheticDataGeneration
3565 - Telemetry
3566- name: Types
3567 tags:
3568 - AgentConfig
3569 - AgenticSystemCreateResponse
3570 - AgenticSystemSessionCreateResponse
3571 - AgenticSystemStepResponse
3572 - AgenticSystemTurnResponseEvent
3573 - AgenticSystemTurnResponseStepCompletePayload
3574 - AgenticSystemTurnResponseStepProgressPayload
3575 - AgenticSystemTurnResponseStepStartPayload
3576 - AgenticSystemTurnResponseStreamChunk
3577 - AgenticSystemTurnResponseTurnCompletePayload
3578 - AgenticSystemTurnResponseTurnStartPayload
3579 - Attachment
3580 - BatchChatCompletionRequest
3581 - BatchChatCompletionResponse
3582 - BatchCompletionRequest
3583 - BatchCompletionResponse
3584 - BuiltinShield
3585 - BuiltinTool
3586 - CancelEvaluationJobRequest
3587 - CancelTrainingJobRequest
3588 - ChatCompletionRequest
3589 - ChatCompletionResponse
3590 - ChatCompletionResponseEvent
3591 - ChatCompletionResponseEventType
3592 - ChatCompletionResponseStreamChunk
3593 - Checkpoint
3594 - CodeInterpreterToolDefinition
3595 - CompletionMessage
3596 - CompletionRequest
3597 - CompletionResponse
3598 - CompletionResponseStreamChunk
3599 - CreateAgenticSystemRequest
3600 - CreateAgenticSystemSessionRequest
3601 - CreateAgenticSystemTurnRequest
3602 - CreateDatasetRequest
3603 - CreateMemoryBankRequest
3604 - DPOAlignmentConfig
3605 - DeleteAgenticSystemRequest
3606 - DeleteAgenticSystemSessionRequest
3607 - DeleteDatasetRequest
3608 - DeleteDocumentsRequest
3609 - DialogGenerations
3610 - DoraFinetuningConfig
3611 - DropMemoryBankRequest
3612 - EmbeddingsRequest
3613 - EmbeddingsResponse
3614 - EvaluateQuestionAnsweringRequest
3615 - EvaluateSummarizationRequest
3616 - EvaluateTextGenerationRequest
3617 - EvaluationJob
3618 - EvaluationJobArtifactsResponse
3619 - EvaluationJobLogStream
3620 - EvaluationJobStatusResponse
3621 - FinetuningAlgorithm
3622 - FunctionCallToolDefinition
3623 - GetAgenticSystemSessionRequest
3624 - GetDocumentsRequest
3625 - InferenceStep
3626 - InsertDocumentsRequest
3627 - LogEventRequest
3628 - LogSeverity
3629 - LoraFinetuningConfig
3630 - MemoryBank
3631 - MemoryBankDocument
3632 - MemoryRetrievalStep
3633 - MetricEvent
3634 - OnViolationAction
3635 - OptimizerConfig
3636 - PhotogenToolDefinition
3637 - PostTrainingJob
3638 - PostTrainingJobArtifactsResponse
3639 - PostTrainingJobLogStream
3640 - PostTrainingJobStatus
3641 - PostTrainingJobStatusResponse
3642 - PreferenceOptimizeRequest
3643 - QLoraFinetuningConfig
3644 - QueryDocumentsRequest
3645 - QueryDocumentsResponse
3646 - RLHFAlgorithm
3647 - RestAPIExecutionConfig
3648 - RestAPIMethod
3649 - RewardScoreRequest
3650 - RewardScoringResponse
3651 - RunShieldResponse
3652 - RunShieldsRequest
3653 - SamplingParams
3654 - SamplingStrategy
3655 - ScoredDialogGenerations
3656 - ScoredMessage
3657 - SearchToolDefinition
3658 - Session
3659 - ShieldCallStep
3660 - ShieldDefinition
3661 - ShieldResponse
3662 - SpanEndPayload
3663 - SpanStartPayload
3664 - SpanStatus
3665 - StopReason
3666 - StructuredLogEvent
3667 - SupervisedFineTuneRequest
3668 - SyntheticDataGenerateRequest
3669 - SyntheticDataGenerationResponse
3670 - SystemMessage
3671 - TokenLogProbs
3672 - ToolCall
3673 - ToolCallDelta
3674 - ToolCallParseStatus
3675 - ToolChoice
3676 - ToolDefinition
3677 - ToolExecutionStep
3678 - ToolParamDefinition
3679 - ToolPromptFormat
3680 - ToolResponse
3681 - ToolResponseMessage
3682 - Trace
3683 - TrainEvalDataset
3684 - TrainEvalDatasetColumnType
3685 - TrainingConfig
3686 - Turn
3687 - URL
3688 - UnstructuredLogEvent
3689 - UpdateDocumentsRequest
3690 - UserMessage
3691 - WolframAlphaToolDefinition