fix(proxy): sync rust control-plane api types

This commit is contained in:
Ishaan Jaff 2026-06-24 16:01:28 -07:00
parent c5c0d5fce6
commit 3de37df212
No known key found for this signature in database
2 changed files with 76 additions and 0 deletions

View file

@ -26,6 +26,7 @@ jobs:
tests/test_litellm/proxy/middleware
tests/test_litellm/proxy/spend_tracking
tests/test_litellm/proxy/pass_through_endpoints
tests/test_litellm/proxy/rust_control_plane
tests/test_litellm/proxy/_experimental
tests/test_litellm/proxy/experimental
tests/test_litellm/proxy/common_utils

View file

@ -17236,6 +17236,37 @@ export interface paths {
patch?: never;
trace?: never;
};
"/v1/rust_control_plane/authentication": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
put?: never;
/**
* Verify Key
* @description Verify a virtual key on behalf of the Rust ai-gateway (data plane).
*
* The Rust gateway forwards the client's virtual key here; this delegates to
* the proxy's existing ``user_api_key_auth`` validation and returns the
* resolved ``UserAPIKeyAuth`` as JSON so the data plane can enforce the same
* limits the control plane would.
*
* Gated by ``require_data_plane_key`` (the dedicated data-plane secret, not
* the master key).
*
* On any auth failure the response is a 401 with a minimal body so internals
* are not leaked to the caller.
*/
post: operations["verify_key_v1_rust_control_plane_authentication_post"];
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/v1/rust_control_plane/logs": {
parameters: {
query?: never;
@ -32763,6 +32794,15 @@ export interface components {
/** Vector Store Name */
vector_store_name?: string | null;
};
/** VerifyKeyRequest */
VerifyKeyRequest: {
/** Api Key */
api_key: string;
/** Model */
model?: string | null;
/** Route */
route: string;
};
/** WorkerRegistryEntry */
WorkerRegistryEntry: {
/** Name */
@ -54757,6 +54797,41 @@ export interface operations {
};
};
};
verify_key_v1_rust_control_plane_authentication_post: {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["VerifyKeyRequest"];
};
};
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": {
[key: string]: unknown;
};
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
ingest_callback_logs_v1_rust_control_plane_logs_post: {
parameters: {
query?: never;