You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Returns captured API exchange traces (request/response pairs) in reverse chronological order",
@@ -3286,7 +3397,6 @@ const docTemplate = `{
3286
3397
"downloaded_size": {
3287
3398
"type": "string"
3288
3399
},
3289
-
"error": {},
3290
3400
"file_name": {
3291
3401
"type": "string"
3292
3402
},
@@ -4709,27 +4819,6 @@ const docTemplate = `{
4709
4819
"description": "The message role",
4710
4820
"type": "string"
4711
4821
},
4712
-
"string_audios": {
4713
-
"type": "array",
4714
-
"items": {
4715
-
"type": "string"
4716
-
}
4717
-
},
4718
-
"string_content": {
4719
-
"type": "string"
4720
-
},
4721
-
"string_images": {
4722
-
"type": "array",
4723
-
"items": {
4724
-
"type": "string"
4725
-
}
4726
-
},
4727
-
"string_videos": {
4728
-
"type": "array",
4729
-
"items": {
4730
-
"type": "string"
4731
-
}
4732
-
},
4733
4822
"tool_call_id": {
4734
4823
"type": "string"
4735
4824
},
@@ -5323,6 +5412,10 @@ const docTemplate = `{
5323
5412
}
5324
5413
]
5325
5414
},
5415
+
"max_completion_tokens": {
5416
+
"description": "MaxCompletionTokens is the modern alias for max_tokens\n(OpenAI deprecated max_tokens; gpt-5 / o-series reject it).\nAccepted on the wire so up-to-date clients can use the new\nname; the request middleware collapses it into Maxtokens so\ninternal code reads exactly one field.",
5417
+
"type": "integer"
5418
+
},
5326
5419
"max_tokens": {
5327
5420
"type": "integer"
5328
5421
},
@@ -5654,6 +5747,109 @@ const docTemplate = `{
5654
5747
}
5655
5748
}
5656
5749
},
5750
+
"schema.PIIDecideRequest": {
5751
+
"type": "object",
5752
+
"properties": {
5753
+
"text": {
5754
+
"description": "Text is the user-visible content to inspect. Required.",
5755
+
"type": "string"
5756
+
}
5757
+
}
5758
+
},
5759
+
"schema.PIIDecideResponse": {
5760
+
"type": "object",
5761
+
"properties": {
5762
+
"findings": {
5763
+
"description": "Findings is one entry per matched span — pattern id, byte\nrange, and audit-safe hash prefix (never the matched value).",
5764
+
"type": "array",
5765
+
"items": {
5766
+
"$ref": "#/definitions/schema.PIIFinding"
5767
+
}
5768
+
},
5769
+
"redacted_preview": {
5770
+
"description": "RedactedPreview is the input with mask-action spans replaced\nby their placeholders. Identical to Text when no findings or\nwhen the strongest action is block/route_local (which don't\nrewrite content).",
5771
+
"type": "string"
5772
+
},
5773
+
"suggested_action": {
5774
+
"description": "SuggestedAction is the strongest action across all findings:\n\"block\", \"route_local\", \"mask\", or \"allow\" (no findings).",
5775
+
"type": "string"
5776
+
}
5777
+
}
5778
+
},
5779
+
"schema.PIIFinding": {
5780
+
"type": "object",
5781
+
"properties": {
5782
+
"end": {
5783
+
"type": "integer"
5784
+
},
5785
+
"hash_prefix": {
5786
+
"type": "string"
5787
+
},
5788
+
"pattern": {
5789
+
"type": "string"
5790
+
},
5791
+
"start": {
5792
+
"type": "integer"
5793
+
}
5794
+
}
5795
+
},
5796
+
"schema.RouterDecideRequest": {
5797
+
"type": "object",
5798
+
"properties": {
5799
+
"input": {
5800
+
"description": "Input is the user-visible prompt text to classify. Required.\nSchema-shape extraction (chat-message concatenation, etc.) is\nthe caller's responsibility — matches the Probe contract used\nby the in-band middleware.",
5801
+
"type": "string"
5802
+
},
5803
+
"router": {
5804
+
"description": "Router is the name of the router model (a ModelConfig with a\n`+"`"+`router:`+"`"+` block). Required.",
5805
+
"type": "string"
5806
+
}
5807
+
}
5808
+
},
5809
+
"schema.RouterDecideResponse": {
5810
+
"type": "object",
5811
+
"properties": {
5812
+
"cache_similarity": {
5813
+
"description": "CacheSimilarity carries the cosine similarity of the cache hit\n(0 when not cached).",
5814
+
"type": "number"
5815
+
},
5816
+
"cached": {
5817
+
"description": "Cached is true when the decision came from the L2 embedding\ncache rather than a fresh classifier run.",
5818
+
"type": "boolean"
5819
+
},
5820
+
"candidate": {
5821
+
"description": "Candidate is the model that would be routed to. Empty when no\ncandidate covers Labels AND no fallback is configured.",
5822
+
"type": "string"
5823
+
},
5824
+
"classifier": {
5825
+
"description": "Classifier is the classifier name that produced the decision\n(e.g. \"score\").",
5826
+
"type": "string"
5827
+
},
5828
+
"fallback": {
5829
+
"description": "Fallback is true when Candidate is the router's configured\nfallback because no candidate covered Labels. Lets callers\ndistinguish \"matched\" from \"fell back\" without comparing names.",
5830
+
"type": "boolean"
5831
+
},
5832
+
"labels": {
5833
+
"description": "Labels is the set of active policy labels.",
5834
+
"type": "array",
5835
+
"items": {
5836
+
"type": "string"
5837
+
}
5838
+
},
5839
+
"latency_ms": {
5840
+
"description": "LatencyMs is the classifier's wall-clock cost.",
5841
+
"type": "integer"
5842
+
},
5843
+
"router": {
5844
+
"description": "Router echoes the requested router model.",
5845
+
"type": "string"
5846
+
},
5847
+
"score": {
5848
+
"description": "Score is the top label's softmax probability (the\nclassifier-side confidence signal).",
0 commit comments