mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
6416 lines
1.9 MiB
6416 lines
1.9 MiB
{
|
|
"queries": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_AgentsTable\" WHERE (\"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPServerOAuthClient\" WHERE \"public\".\"LiteLLM_MCPServerOAuthClient\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPToolsetTable\" WHERE (\"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPUserCredentials\" WHERE \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPUserEnvVars\" WHERE \"public\".\"LiteLLM_MCPUserEnvVars\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyAgentSpend\" (\"id\", \"agent_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"agent_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyAgentSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyAgentSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyAgentSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyAgentSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyAgentSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyAgentSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyAgentSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyAgentSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyAgentSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyAgentSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyAgentSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AgentsTable\" (\"agent_id\",\"agent_name\",\"litellm_params\",\"agent_card_params\",\"static_headers\",\"extra_headers\",\"agent_access_groups\",\"access_group_ids\",\"spend\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AgentsTable\".\"agent_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyGuardrailMetrics\" (\"guardrail_id\",\"date\",\"requests_evaluated\",\"passed_count\",\"blocked_count\",\"flagged_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"guardrail_id\",\"date\") DO UPDATE SET \"requests_evaluated\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\" + $n), \"passed_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\" + $n), \"blocked_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\" + $n), \"flagged_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\" = $n AND \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_score\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_latency_ms\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"created_at\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyToolSpend\" (\"date\",\"tool_name\",\"spend\",\"total_tokens\",\"request_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"date\",\"tool_name\") DO UPDATE SET \"spend\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"spend\" + $n), \"total_tokens\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\" + $n), \"request_count\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"request_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyToolSpend\".\"date\" = $n AND \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyToolSpend\".\"date\", \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\", \"public\".\"LiteLLM_DailyToolSpend\".\"spend\", \"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\", \"public\".\"LiteLLM_DailyToolSpend\".\"request_count\", \"public\".\"LiteLLM_DailyToolSpend\".\"created_at\", \"public\".\"LiteLLM_DailyToolSpend\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"models\",\"metadata\",\"policies\",\"members\",\"created_at\",\"budget_reset_at\",\"model_max_budget\",\"organization_id\",\"tpm_limit\",\"router_settings\",\"model_spend\",\"team_member_permissions\",\"max_parallel_requests\",\"blocked\",\"access_group_ids\",\"deleted_at\",\"deleted_by_api_key\",\"id\",\"object_permission_id\",\"max_budget\",\"soft_budget\",\"admins\",\"updated_at\",\"rpm_limit\",\"deleted_by\",\"team_alias\",\"litellm_changed_by\",\"allow_team_guardrail_config\",\"model_id\",\"spend\",\"tpd_limit\",\"team_id\",\"members_with_roles\",\"budget_duration\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"allowed_routes\",\"deleted_at\",\"last_rotation_at\",\"budget_id\",\"tpm_limit\",\"soft_budget_cooldown\",\"agent_id\",\"router_settings\",\"organization_id\",\"aliases\",\"rpm_limit\",\"blocked\",\"policies\",\"metadata\",\"user_id\",\"auto_rotate\",\"object_permission_id\",\"max_budget\",\"total_spend\",\"litellm_changed_by\",\"model_max_budget\",\"budget_fallbacks\",\"models\",\"access_group_ids\",\"token\",\"permissions\",\"spend\",\"last_active\",\"settings_updated_at\",\"id\",\"rotation_interval\",\"project_id\",\"model_spend\",\"deleted_by\",\"expires\",\"key_type\",\"rotation_count\",\"key_alias\",\"updated_at\",\"created_at\",\"config\",\"tpd_limit\",\"key_rotation_at\",\"key_name\",\"created_by\",\"budget_reset_at\",\"deleted_by_api_key\",\"max_parallel_requests\",\"updated_by\",\"budget_duration\",\"team_id\",\"allowed_cache_controls\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"auto_rotate\",\"config\",\"updated_by\",\"last_active\",\"object_permission_id\",\"rpm_limit\",\"created_by\",\"model_max_budget\",\"user_id\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"max_budget\",\"expires\",\"key_name\",\"budget_fallbacks\",\"blocked\",\"key_alias\",\"token\",\"access_group_ids\",\"soft_budget_cooldown\",\"deleted_at\",\"budget_id\",\"aliases\",\"budget_reset_at\",\"tpm_limit\",\"updated_at\",\"key_type\",\"created_at\",\"litellm_changed_by\",\"models\",\"model_spend\",\"budget_duration\",\"permissions\",\"id\",\"policies\",\"project_id\",\"organization_id\",\"rotation_interval\",\"tpd_limit\",\"max_parallel_requests\",\"rotation_count\",\"deleted_by\",\"team_id\",\"last_rotation_at\",\"agent_id\",\"key_rotation_at\",\"spend\",\"metadata\",\"total_spend\",\"allowed_routes\",\"router_settings\",\"settings_updated_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"budget_reset_at\",\"object_permission_id\",\"config\",\"total_spend\",\"token\",\"metadata\",\"id\",\"allowed_routes\",\"last_active\",\"deleted_by\",\"auto_rotate\",\"project_id\",\"expires\",\"aliases\",\"tpm_limit\",\"key_type\",\"litellm_changed_by\",\"settings_updated_at\",\"blocked\",\"policies\",\"key_name\",\"models\",\"team_id\",\"budget_id\",\"updated_at\",\"tpd_limit\",\"created_by\",\"access_group_ids\",\"key_rotation_at\",\"deleted_at\",\"max_parallel_requests\",\"last_rotation_at\",\"agent_id\",\"permissions\",\"router_settings\",\"organization_id\",\"budget_duration\",\"budget_fallbacks\",\"rotation_interval\",\"key_alias\",\"allowed_cache_controls\",\"model_max_budget\",\"user_id\",\"rotation_count\",\"max_budget\",\"spend\",\"created_at\",\"updated_by\",\"deleted_by_api_key\",\"model_spend\",\"soft_budget_cooldown\",\"rpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"created_at\",\"deleted_at\",\"object_permission_id\",\"permissions\",\"aliases\",\"updated_by\",\"last_active\",\"user_id\",\"budget_id\",\"blocked\",\"deleted_by_api_key\",\"key_type\",\"rotation_count\",\"model_spend\",\"key_name\",\"settings_updated_at\",\"project_id\",\"id\",\"policies\",\"spend\",\"budget_fallbacks\",\"created_by\",\"config\",\"team_id\",\"key_alias\",\"access_group_ids\",\"router_settings\",\"token\",\"agent_id\",\"allowed_routes\",\"key_rotation_at\",\"models\",\"expires\",\"organization_id\",\"tpd_limit\",\"max_budget\",\"model_max_budget\",\"soft_budget_cooldown\",\"max_parallel_requests\",\"tpm_limit\",\"budget_reset_at\",\"updated_at\",\"metadata\",\"rpm_limit\",\"total_spend\",\"last_rotation_at\",\"deleted_by\",\"allowed_cache_controls\",\"rotation_interval\",\"litellm_changed_by\",\"auto_rotate\",\"budget_duration\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"key_name\",\"budget_fallbacks\",\"created_at\",\"blocked\",\"token\",\"project_id\",\"created_by\",\"deleted_at\",\"object_permission_id\",\"rpm_limit\",\"soft_budget_cooldown\",\"key_alias\",\"key_rotation_at\",\"aliases\",\"deleted_by\",\"access_group_ids\",\"expires\",\"updated_at\",\"total_spend\",\"auto_rotate\",\"max_parallel_requests\",\"policies\",\"settings_updated_at\",\"models\",\"user_id\",\"budget_duration\",\"rotation_count\",\"budget_id\",\"key_type\",\"tpm_limit\",\"updated_by\",\"rotation_interval\",\"spend\",\"model_max_budget\",\"allowed_routes\",\"max_budget\",\"deleted_by_api_key\",\"model_spend\",\"metadata\",\"team_id\",\"agent_id\",\"router_settings\",\"last_rotation_at\",\"last_active\",\"budget_reset_at\",\"organization_id\",\"tpd_limit\",\"permissions\",\"config\",\"litellm_changed_by\",\"id\",\"allowed_cache_controls\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"object_permission_id\",\"budget_id\",\"last_active\",\"last_rotation_at\",\"budget_reset_at\",\"max_parallel_requests\",\"model_spend\",\"policies\",\"allowed_routes\",\"router_settings\",\"models\",\"deleted_by\",\"settings_updated_at\",\"organization_id\",\"token\",\"tpd_limit\",\"rpm_limit\",\"deleted_at\",\"budget_fallbacks\",\"model_max_budget\",\"expires\",\"litellm_changed_by\",\"blocked\",\"rotation_count\",\"metadata\",\"permissions\",\"project_id\",\"soft_budget_cooldown\",\"total_spend\",\"updated_by\",\"user_id\",\"key_type\",\"access_group_ids\",\"key_alias\",\"key_name\",\"aliases\",\"deleted_by_api_key\",\"config\",\"budget_duration\",\"team_id\",\"key_rotation_at\",\"allowed_cache_controls\",\"max_budget\",\"agent_id\",\"created_by\",\"rotation_interval\",\"updated_at\",\"auto_rotate\",\"id\",\"spend\",\"created_at\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"rotation_count\",\"rpm_limit\",\"router_settings\",\"budget_duration\",\"allowed_routes\",\"created_at\",\"spend\",\"deleted_by\",\"permissions\",\"key_name\",\"key_alias\",\"model_max_budget\",\"litellm_changed_by\",\"policies\",\"last_rotation_at\",\"project_id\",\"updated_at\",\"auto_rotate\",\"budget_reset_at\",\"model_spend\",\"budget_fallbacks\",\"settings_updated_at\",\"organization_id\",\"created_by\",\"key_rotation_at\",\"deleted_at\",\"token\",\"agent_id\",\"total_spend\",\"budget_id\",\"aliases\",\"object_permission_id\",\"user_id\",\"access_group_ids\",\"id\",\"allowed_cache_controls\",\"rotation_interval\",\"max_budget\",\"deleted_by_api_key\",\"updated_by\",\"team_id\",\"max_parallel_requests\",\"expires\",\"tpm_limit\",\"key_type\",\"last_active\",\"models\",\"config\",\"metadata\",\"blocked\",\"soft_budget_cooldown\",\"tpd_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"rotation_interval\",\"created_at\",\"object_permission_id\",\"models\",\"organization_id\",\"budget_duration\",\"aliases\",\"metadata\",\"deleted_by_api_key\",\"soft_budget_cooldown\",\"access_group_ids\",\"key_alias\",\"updated_at\",\"tpm_limit\",\"rpm_limit\",\"spend\",\"key_name\",\"policies\",\"expires\",\"last_active\",\"token\",\"updated_by\",\"max_budget\",\"config\",\"budget_id\",\"deleted_by\",\"model_spend\",\"id\",\"budget_reset_at\",\"allowed_routes\",\"router_settings\",\"total_spend\",\"allowed_cache_controls\",\"key_type\",\"deleted_at\",\"key_rotation_at\",\"last_rotation_at\",\"tpd_limit\",\"agent_id\",\"created_by\",\"settings_updated_at\",\"rotation_count\",\"litellm_changed_by\",\"project_id\",\"auto_rotate\",\"blocked\",\"user_id\",\"team_id\",\"model_max_budget\",\"budget_fallbacks\",\"permissions\",\"max_parallel_requests\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"tpd_limit\",\"max_parallel_requests\",\"organization_id\",\"allowed_cache_controls\",\"last_active\",\"tpm_limit\",\"budget_fallbacks\",\"updated_by\",\"blocked\",\"created_by\",\"model_spend\",\"key_rotation_at\",\"allowed_routes\",\"updated_at\",\"created_at\",\"aliases\",\"key_alias\",\"metadata\",\"key_type\",\"deleted_by_api_key\",\"policies\",\"token\",\"auto_rotate\",\"spend\",\"max_budget\",\"permissions\",\"rotation_interval\",\"user_id\",\"litellm_changed_by\",\"expires\",\"last_rotation_at\",\"key_name\",\"config\",\"rpm_limit\",\"team_id\",\"budget_id\",\"models\",\"project_id\",\"model_max_budget\",\"rotation_count\",\"id\",\"budget_duration\",\"budget_reset_at\",\"total_spend\",\"agent_id\",\"soft_budget_cooldown\",\"router_settings\",\"access_group_ids\",\"deleted_by\",\"object_permission_id\",\"settings_updated_at\",\"deleted_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_MCPServerTable\" (\"server_id\",\"server_name\",\"alias\",\"url\",\"transport\",\"credentials\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"mcp_info\",\"mcp_access_groups\",\"allowed_tools\",\"tool_name_to_display_name\",\"tool_name_to_description\",\"extra_headers\",\"static_headers\",\"env_vars\",\"status\",\"args\",\"env\",\"allow_all_keys\",\"available_on_public_internet\",\"delegate_auth_to_upstream\",\"oauth_passthrough\",\"per_server_oauth_discovery\",\"is_byok\",\"byok_description\",\"approval_status\") VALUES ($n) RETURNING \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ObjectPermissionTable\" (\"object_permission_id\",\"mcp_servers\",\"mcp_access_groups\",\"vector_stores\",\"agents\",\"agent_access_groups\",\"models\",\"blocked_tools\",\"mcp_toolsets\",\"search_tools\",\"mcp_tool_search_enabled\",\"skills\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ObjectPermissionTable\" (\"object_permission_id\",\"mcp_servers\",\"mcp_access_groups\",\"vector_stores\",\"agents\",\"agent_access_groups\",\"models\",\"blocked_tools\",\"mcp_toolsets\",\"search_tools\",\"skills\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"policy_id\",\"guardrail_id\",\"request_id\",\"start_time\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"policy_id\",\"guardrail_id\",\"request_id\",\"start_time\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"policy_id\",\"start_time\",\"guardrail_id\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"request_id\",\"policy_id\",\"start_time\",\"guardrail_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"request_id\",\"start_time\",\"tool_name\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"request_id\",\"tool_name\",\"start_time\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"tool_name\",\"request_id\",\"start_time\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"tool_name\",\"start_time\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"agent_id\",\"messages\",\"prompt_tokens\",\"session_id\",\"end_user\",\"api_key\",\"custom_llm_provider\",\"updated_at\",\"spend\",\"total_tokens\",\"team_id\",\"request_id\",\"model_id\",\"model\",\"organization_id\",\"completionStartTime\",\"cache_key\",\"user\",\"startTime\",\"completion_tokens\",\"request_duration_ms\",\"api_base\",\"model_group\",\"created_at\",\"proxy_server_request\",\"status\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"metadata\",\"request_tags\",\"litellm_call_id\",\"endTime\",\"call_type\",\"requester_ip_address\",\"response\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"agent_id\",\"request_id\",\"call_type\",\"requester_ip_address\",\"litellm_call_id\",\"custom_llm_provider\",\"startTime\",\"team_id\",\"updated_at\",\"proxy_server_request\",\"organization_id\",\"model_group\",\"api_base\",\"mcp_namespaced_tool_name\",\"total_tokens\",\"completionStartTime\",\"session_id\",\"cache_key\",\"status\",\"prompt_tokens\",\"model_id\",\"created_at\",\"api_key\",\"user\",\"completion_tokens\",\"request_duration_ms\",\"endTime\",\"request_tags\",\"cache_hit\",\"messages\",\"metadata\",\"response\",\"spend\",\"end_user\",\"model\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"agent_id\",\"total_tokens\",\"proxy_server_request\",\"completionStartTime\",\"request_duration_ms\",\"api_key\",\"model\",\"custom_llm_provider\",\"cache_hit\",\"requester_ip_address\",\"cache_key\",\"completion_tokens\",\"startTime\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"team_id\",\"user\",\"endTime\",\"status\",\"updated_at\",\"created_at\",\"request_id\",\"response\",\"messages\",\"request_tags\",\"session_id\",\"metadata\",\"model_group\",\"litellm_call_id\",\"organization_id\",\"spend\",\"end_user\",\"call_type\",\"model_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"cache_hit\",\"response\",\"spend\",\"completion_tokens\",\"request_id\",\"api_key\",\"call_type\",\"request_duration_ms\",\"request_tags\",\"model_id\",\"proxy_server_request\",\"model_group\",\"cache_key\",\"model\",\"messages\",\"team_id\",\"prompt_tokens\",\"litellm_call_id\",\"requester_ip_address\",\"organization_id\",\"agent_id\",\"metadata\",\"user\",\"end_user\",\"updated_at\",\"completionStartTime\",\"status\",\"startTime\",\"total_tokens\",\"custom_llm_provider\",\"mcp_namespaced_tool_name\",\"session_id\",\"endTime\",\"created_at\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"created_at\",\"user\",\"model_id\",\"session_id\",\"messages\",\"end_user\",\"mcp_namespaced_tool_name\",\"request_tags\",\"cache_key\",\"completionStartTime\",\"request_id\",\"agent_id\",\"response\",\"litellm_call_id\",\"endTime\",\"status\",\"call_type\",\"total_tokens\",\"proxy_server_request\",\"prompt_tokens\",\"model_group\",\"updated_at\",\"model\",\"api_key\",\"team_id\",\"spend\",\"startTime\",\"custom_llm_provider\",\"metadata\",\"cache_hit\",\"completion_tokens\",\"requester_ip_address\",\"request_duration_ms\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"mcp_namespaced_tool_name\",\"model_id\",\"request_id\",\"agent_id\",\"model_group\",\"api_key\",\"total_tokens\",\"prompt_tokens\",\"litellm_call_id\",\"endTime\",\"requester_ip_address\",\"completionStartTime\",\"team_id\",\"organization_id\",\"metadata\",\"proxy_server_request\",\"cache_key\",\"messages\",\"model\",\"cache_hit\",\"response\",\"spend\",\"end_user\",\"custom_llm_provider\",\"updated_at\",\"call_type\",\"user\",\"session_id\",\"completion_tokens\",\"startTime\",\"created_at\",\"request_tags\",\"status\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"request_id\",\"mcp_namespaced_tool_name\",\"end_user\",\"model_group\",\"model\",\"prompt_tokens\",\"cache_key\",\"spend\",\"completionStartTime\",\"request_duration_ms\",\"custom_llm_provider\",\"status\",\"cache_hit\",\"updated_at\",\"startTime\",\"request_tags\",\"proxy_server_request\",\"call_type\",\"requester_ip_address\",\"total_tokens\",\"response\",\"model_id\",\"user\",\"completion_tokens\",\"created_at\",\"session_id\",\"metadata\",\"team_id\",\"agent_id\",\"endTime\",\"messages\",\"litellm_call_id\",\"api_key\",\"organization_id\") VALUES ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_key\",\"custom_llm_provider\",\"model_id\",\"spend\",\"proxy_server_request\",\"agent_id\",\"request_tags\",\"total_tokens\",\"request_id\",\"cache_hit\",\"status\",\"prompt_tokens\",\"api_base\",\"end_user\",\"startTime\",\"request_duration_ms\",\"litellm_call_id\",\"completion_tokens\",\"metadata\",\"call_type\",\"user\",\"organization_id\",\"endTime\",\"requester_ip_address\",\"response\",\"session_id\",\"team_id\",\"mcp_namespaced_tool_name\",\"messages\",\"created_at\",\"completionStartTime\",\"model_group\",\"model\",\"updated_at\",\"cache_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_key\",\"mcp_namespaced_tool_name\",\"model_id\",\"agent_id\",\"end_user\",\"team_id\",\"response\",\"total_tokens\",\"proxy_server_request\",\"organization_id\",\"updated_at\",\"metadata\",\"custom_llm_provider\",\"model_group\",\"litellm_call_id\",\"session_id\",\"cache_key\",\"created_at\",\"endTime\",\"prompt_tokens\",\"requester_ip_address\",\"api_base\",\"request_tags\",\"messages\",\"user\",\"model\",\"call_type\",\"spend\",\"status\",\"cache_hit\",\"request_duration_ms\",\"completion_tokens\",\"completionStartTime\",\"startTime\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"response\",\"cache_key\",\"session_id\",\"completion_tokens\",\"api_key\",\"agent_id\",\"spend\",\"end_user\",\"status\",\"endTime\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"created_at\",\"prompt_tokens\",\"litellm_call_id\",\"request_tags\",\"messages\",\"organization_id\",\"requester_ip_address\",\"metadata\",\"total_tokens\",\"proxy_server_request\",\"updated_at\",\"model_id\",\"call_type\",\"request_id\",\"team_id\",\"api_base\",\"custom_llm_provider\",\"cache_hit\",\"model\",\"user\",\"model_group\",\"startTime\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completion_tokens\",\"end_user\",\"spend\",\"model_id\",\"updated_at\",\"total_tokens\",\"status\",\"cache_hit\",\"messages\",\"prompt_tokens\",\"agent_id\",\"call_type\",\"request_id\",\"startTime\",\"user\",\"created_at\",\"model_group\",\"litellm_call_id\",\"mcp_namespaced_tool_name\",\"response\",\"api_base\",\"team_id\",\"endTime\",\"custom_llm_provider\",\"request_duration_ms\",\"cache_key\",\"model\",\"proxy_server_request\",\"requester_ip_address\",\"api_key\",\"request_tags\",\"metadata\",\"organization_id\",\"session_id\",\"completionStartTime\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completion_tokens\",\"metadata\",\"custom_llm_provider\",\"cache_hit\",\"organization_id\",\"model_id\",\"updated_at\",\"model_group\",\"litellm_call_id\",\"total_tokens\",\"startTime\",\"prompt_tokens\",\"response\",\"cache_key\",\"api_base\",\"team_id\",\"completionStartTime\",\"created_at\",\"requester_ip_address\",\"messages\",\"call_type\",\"end_user\",\"spend\",\"mcp_namespaced_tool_name\",\"request_id\",\"agent_id\",\"endTime\",\"api_key\",\"status\",\"request_duration_ms\",\"session_id\",\"request_tags\",\"user\",\"proxy_server_request\",\"model\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completion_tokens\",\"request_id\",\"completionStartTime\",\"api_key\",\"user\",\"litellm_call_id\",\"startTime\",\"session_id\",\"cache_hit\",\"created_at\",\"prompt_tokens\",\"requester_ip_address\",\"proxy_server_request\",\"model_group\",\"messages\",\"organization_id\",\"request_tags\",\"spend\",\"total_tokens\",\"model_id\",\"api_base\",\"cache_key\",\"agent_id\",\"model\",\"metadata\",\"custom_llm_provider\",\"call_type\",\"team_id\",\"end_user\",\"mcp_namespaced_tool_name\",\"status\",\"response\",\"request_duration_ms\",\"endTime\",\"updated_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"completion_tokens\",\"completionStartTime\",\"updated_at\",\"prompt_tokens\",\"messages\",\"team_id\",\"startTime\",\"call_type\",\"requester_ip_address\",\"session_id\",\"mcp_namespaced_tool_name\",\"api_key\",\"end_user\",\"custom_llm_provider\",\"cache_key\",\"endTime\",\"total_tokens\",\"request_id\",\"api_base\",\"cache_hit\",\"metadata\",\"litellm_call_id\",\"response\",\"model_group\",\"organization_id\",\"model_id\",\"agent_id\",\"proxy_server_request\",\"user\",\"spend\",\"status\",\"model\",\"request_duration_ms\",\"request_tags\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"custom_llm_provider\",\"prompt_tokens\",\"request_id\",\"metadata\",\"api_base\",\"team_id\",\"requester_ip_address\",\"model_id\",\"request_tags\",\"end_user\",\"status\",\"cache_key\",\"call_type\",\"spend\",\"completionStartTime\",\"organization_id\",\"response\",\"model\",\"total_tokens\",\"cache_hit\",\"startTime\",\"session_id\",\"model_group\",\"endTime\",\"messages\",\"updated_at\",\"mcp_namespaced_tool_name\",\"proxy_server_request\",\"completion_tokens\",\"litellm_call_id\",\"user\",\"api_key\",\"agent_id\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"spend\",\"team_id\",\"prompt_tokens\",\"updated_at\",\"session_id\",\"organization_id\",\"messages\",\"end_user\",\"metadata\",\"litellm_call_id\",\"model_id\",\"model\",\"custom_llm_provider\",\"status\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"request_id\",\"cache_key\",\"agent_id\",\"api_base\",\"api_key\",\"response\",\"endTime\",\"user\",\"call_type\",\"completionStartTime\",\"cache_hit\",\"completion_tokens\",\"request_duration_ms\",\"model_group\",\"startTime\",\"request_tags\",\"requester_ip_address\",\"total_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"end_user\",\"response\",\"total_tokens\",\"request_duration_ms\",\"completionStartTime\",\"api_base\",\"request_id\",\"updated_at\",\"team_id\",\"session_id\",\"cache_key\",\"api_key\",\"request_tags\",\"startTime\",\"organization_id\",\"agent_id\",\"model_id\",\"requester_ip_address\",\"created_at\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"status\",\"model_group\",\"metadata\",\"call_type\",\"litellm_call_id\",\"completion_tokens\",\"user\",\"proxy_server_request\",\"cache_hit\",\"messages\",\"spend\",\"model\",\"endTime\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"endTime\",\"completion_tokens\",\"created_at\",\"cache_hit\",\"request_id\",\"end_user\",\"proxy_server_request\",\"status\",\"spend\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"response\",\"updated_at\",\"request_duration_ms\",\"request_tags\",\"model_group\",\"total_tokens\",\"model_id\",\"user\",\"model\",\"api_key\",\"team_id\",\"messages\",\"organization_id\",\"requester_ip_address\",\"call_type\",\"api_base\",\"agent_id\",\"litellm_call_id\",\"custom_llm_provider\",\"completionStartTime\",\"metadata\",\"cache_key\",\"startTime\",\"session_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"endTime\",\"completion_tokens\",\"updated_at\",\"organization_id\",\"user\",\"cache_hit\",\"model\",\"litellm_call_id\",\"startTime\",\"proxy_server_request\",\"api_base\",\"call_type\",\"messages\",\"request_tags\",\"response\",\"cache_key\",\"end_user\",\"team_id\",\"spend\",\"mcp_namespaced_tool_name\",\"api_key\",\"completionStartTime\",\"custom_llm_provider\",\"model_id\",\"session_id\",\"requester_ip_address\",\"created_at\",\"request_id\",\"model_group\",\"request_duration_ms\",\"agent_id\",\"status\",\"metadata\",\"total_tokens\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"litellm_call_id\",\"api_base\",\"model\",\"prompt_tokens\",\"total_tokens\",\"agent_id\",\"cache_hit\",\"session_id\",\"team_id\",\"model_group\",\"call_type\",\"proxy_server_request\",\"created_at\",\"request_duration_ms\",\"completionStartTime\",\"response\",\"organization_id\",\"updated_at\",\"endTime\",\"user\",\"end_user\",\"status\",\"request_id\",\"metadata\",\"startTime\",\"completion_tokens\",\"model_id\",\"cache_key\",\"messages\",\"mcp_namespaced_tool_name\",\"api_key\",\"requester_ip_address\",\"custom_llm_provider\",\"request_tags\",\"spend\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"litellm_call_id\",\"model_id\",\"call_type\",\"completion_tokens\",\"created_at\",\"response\",\"endTime\",\"startTime\",\"api_base\",\"organization_id\",\"spend\",\"messages\",\"requester_ip_address\",\"team_id\",\"agent_id\",\"request_tags\",\"prompt_tokens\",\"updated_at\",\"cache_hit\",\"completionStartTime\",\"status\",\"end_user\",\"request_duration_ms\",\"model\",\"mcp_namespaced_tool_name\",\"request_id\",\"api_key\",\"metadata\",\"custom_llm_provider\",\"cache_key\",\"total_tokens\",\"proxy_server_request\",\"user\",\"session_id\",\"model_group\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"mcp_namespaced_tool_name\",\"completion_tokens\",\"metadata\",\"response\",\"status\",\"model\",\"endTime\",\"created_at\",\"api_base\",\"messages\",\"request_duration_ms\",\"team_id\",\"spend\",\"organization_id\",\"user\",\"model_id\",\"prompt_tokens\",\"completionStartTime\",\"requester_ip_address\",\"request_tags\",\"call_type\",\"api_key\",\"model_group\",\"agent_id\",\"session_id\",\"cache_hit\",\"custom_llm_provider\",\"startTime\",\"request_id\",\"cache_key\",\"updated_at\",\"proxy_server_request\",\"total_tokens\",\"end_user\",\"litellm_call_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"mcp_namespaced_tool_name\",\"metadata\",\"agent_id\",\"cache_hit\",\"litellm_call_id\",\"cache_key\",\"request_tags\",\"model\",\"status\",\"endTime\",\"startTime\",\"response\",\"requester_ip_address\",\"organization_id\",\"user\",\"team_id\",\"completion_tokens\",\"created_at\",\"messages\",\"request_duration_ms\",\"end_user\",\"updated_at\",\"custom_llm_provider\",\"model_id\",\"spend\",\"session_id\",\"total_tokens\",\"proxy_server_request\",\"call_type\",\"model_group\",\"prompt_tokens\",\"api_base\",\"completionStartTime\",\"api_key\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"metadata\",\"call_type\",\"completion_tokens\",\"requester_ip_address\",\"api_key\",\"request_id\",\"spend\",\"agent_id\",\"session_id\",\"endTime\",\"cache_hit\",\"end_user\",\"messages\",\"litellm_call_id\",\"api_base\",\"organization_id\",\"prompt_tokens\",\"custom_llm_provider\",\"mcp_namespaced_tool_name\",\"model_group\",\"status\",\"user\",\"response\",\"request_tags\",\"cache_key\",\"model\",\"total_tokens\",\"created_at\",\"request_duration_ms\",\"team_id\",\"updated_at\",\"model_id\",\"startTime\",\"completionStartTime\",\"proxy_server_request\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_group\",\"completionStartTime\",\"endTime\",\"call_type\",\"requester_ip_address\",\"request_tags\",\"model_id\",\"completion_tokens\",\"updated_at\",\"total_tokens\",\"response\",\"api_base\",\"api_key\",\"end_user\",\"spend\",\"user\",\"request_duration_ms\",\"mcp_namespaced_tool_name\",\"session_id\",\"litellm_call_id\",\"cache_key\",\"model\",\"created_at\",\"agent_id\",\"prompt_tokens\",\"metadata\",\"request_id\",\"proxy_server_request\",\"startTime\",\"messages\",\"status\",\"organization_id\",\"custom_llm_provider\",\"cache_hit\",\"team_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_id\",\"api_key\",\"api_base\",\"total_tokens\",\"metadata\",\"endTime\",\"cache_hit\",\"updated_at\",\"proxy_server_request\",\"startTime\",\"team_id\",\"custom_llm_provider\",\"session_id\",\"model\",\"litellm_call_id\",\"cache_key\",\"response\",\"call_type\",\"completion_tokens\",\"prompt_tokens\",\"request_tags\",\"requester_ip_address\",\"agent_id\",\"model_group\",\"request_id\",\"completionStartTime\",\"created_at\",\"messages\",\"request_duration_ms\",\"organization_id\",\"mcp_namespaced_tool_name\",\"status\",\"user\",\"end_user\",\"spend\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"prompt_tokens\",\"cache_key\",\"completionStartTime\",\"agent_id\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"created_at\",\"cache_hit\",\"team_id\",\"api_base\",\"litellm_call_id\",\"model_group\",\"custom_llm_provider\",\"model_id\",\"session_id\",\"completion_tokens\",\"updated_at\",\"startTime\",\"spend\",\"messages\",\"endTime\",\"total_tokens\",\"metadata\",\"status\",\"api_key\",\"request_duration_ms\",\"response\",\"end_user\",\"request_id\",\"organization_id\",\"user\",\"request_tags\",\"requester_ip_address\",\"model\",\"call_type\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"prompt_tokens\",\"cache_key\",\"status\",\"organization_id\",\"proxy_server_request\",\"endTime\",\"response\",\"team_id\",\"api_key\",\"messages\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"cache_hit\",\"requester_ip_address\",\"model_group\",\"model\",\"completionStartTime\",\"request_id\",\"end_user\",\"user\",\"created_at\",\"api_base\",\"session_id\",\"updated_at\",\"completion_tokens\",\"spend\",\"litellm_call_id\",\"model_id\",\"total_tokens\",\"request_tags\",\"startTime\",\"call_type\",\"agent_id\",\"metadata\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"metadata\",\"api_key\",\"call_type\",\"model\",\"cache_hit\",\"updated_at\",\"response\",\"completion_tokens\",\"agent_id\",\"team_id\",\"cache_key\",\"model_id\",\"end_user\",\"organization_id\",\"requester_ip_address\",\"endTime\",\"request_id\",\"model_group\",\"total_tokens\",\"startTime\",\"request_tags\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"messages\",\"user\",\"status\",\"api_base\",\"spend\",\"litellm_call_id\",\"completionStartTime\",\"session_id\",\"request_duration_ms\",\"created_at\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"request_tags\",\"user\",\"call_type\",\"prompt_tokens\",\"startTime\",\"request_id\",\"organization_id\",\"spend\",\"model_id\",\"cache_key\",\"api_key\",\"completion_tokens\",\"response\",\"model\",\"model_group\",\"team_id\",\"cache_hit\",\"metadata\",\"session_id\",\"total_tokens\",\"completionStartTime\",\"messages\",\"api_base\",\"status\",\"updated_at\",\"custom_llm_provider\",\"created_at\",\"requester_ip_address\",\"litellm_call_id\",\"mcp_namespaced_tool_name\",\"agent_id\",\"request_duration_ms\",\"endTime\",\"end_user\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"startTime\",\"completion_tokens\",\"endTime\",\"total_tokens\",\"cache_hit\",\"updated_at\",\"call_type\",\"mcp_namespaced_tool_name\",\"response\",\"model\",\"prompt_tokens\",\"team_id\",\"agent_id\",\"created_at\",\"request_tags\",\"organization_id\",\"spend\",\"messages\",\"requester_ip_address\",\"session_id\",\"request_duration_ms\",\"model_id\",\"user\",\"completionStartTime\",\"model_group\",\"litellm_call_id\",\"custom_llm_provider\",\"api_base\",\"request_id\",\"metadata\",\"cache_key\",\"end_user\",\"api_key\",\"status\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_duration_ms\",\"api_key\",\"cache_hit\",\"model\",\"request_tags\",\"user\",\"created_at\",\"model_group\",\"completionStartTime\",\"endTime\",\"proxy_server_request\",\"organization_id\",\"api_base\",\"custom_llm_provider\",\"cache_key\",\"call_type\",\"status\",\"litellm_call_id\",\"model_id\",\"completion_tokens\",\"mcp_namespaced_tool_name\",\"end_user\",\"metadata\",\"messages\",\"request_id\",\"spend\",\"updated_at\",\"total_tokens\",\"requester_ip_address\",\"agent_id\",\"prompt_tokens\",\"response\",\"team_id\",\"session_id\",\"startTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"custom_llm_provider\",\"model_group\",\"api_key\",\"total_tokens\",\"metadata\",\"startTime\",\"api_base\",\"endTime\",\"prompt_tokens\",\"organization_id\",\"model\",\"requester_ip_address\",\"updated_at\",\"call_type\",\"user\",\"cache_hit\",\"spend\",\"status\",\"messages\",\"completion_tokens\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"model_id\",\"completionStartTime\",\"agent_id\",\"cache_key\",\"team_id\",\"session_id\",\"litellm_call_id\",\"created_at\",\"request_tags\",\"response\",\"end_user\",\"request_duration_ms\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"request_duration_ms\",\"team_id\",\"model_id\",\"agent_id\",\"completion_tokens\",\"organization_id\",\"prompt_tokens\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"status\",\"completionStartTime\",\"session_id\",\"call_type\",\"user\",\"endTime\",\"cache_key\",\"proxy_server_request\",\"request_tags\",\"metadata\",\"api_key\",\"spend\",\"response\",\"startTime\",\"end_user\",\"litellm_call_id\",\"model_group\",\"messages\",\"requester_ip_address\",\"created_at\",\"custom_llm_provider\",\"updated_at\",\"total_tokens\",\"api_base\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"spend\",\"user\",\"model_id\",\"end_user\",\"litellm_call_id\",\"agent_id\",\"organization_id\",\"cache_hit\",\"api_key\",\"startTime\",\"updated_at\",\"metadata\",\"model\",\"completionStartTime\",\"model_group\",\"endTime\",\"response\",\"request_tags\",\"completion_tokens\",\"request_duration_ms\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"requester_ip_address\",\"custom_llm_provider\",\"messages\",\"prompt_tokens\",\"status\",\"call_type\",\"cache_key\",\"created_at\",\"total_tokens\",\"team_id\",\"session_id\",\"api_base\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"cache_key\",\"status\",\"completion_tokens\",\"spend\",\"requester_ip_address\",\"cache_hit\",\"team_id\",\"startTime\",\"user\",\"call_type\",\"metadata\",\"custom_llm_provider\",\"api_key\",\"endTime\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"request_id\",\"proxy_server_request\",\"prompt_tokens\",\"completionStartTime\",\"created_at\",\"session_id\",\"model_id\",\"model\",\"response\",\"model_group\",\"total_tokens\",\"updated_at\",\"agent_id\",\"messages\",\"request_duration_ms\",\"api_base\",\"end_user\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"completionStartTime\",\"request_id\",\"api_key\",\"agent_id\",\"proxy_server_request\",\"api_base\",\"custom_llm_provider\",\"model_group\",\"completion_tokens\",\"requester_ip_address\",\"model_id\",\"spend\",\"status\",\"user\",\"litellm_call_id\",\"created_at\",\"model\",\"request_duration_ms\",\"cache_key\",\"session_id\",\"organization_id\",\"response\",\"total_tokens\",\"messages\",\"cache_hit\",\"team_id\",\"metadata\",\"call_type\",\"mcp_namespaced_tool_name\",\"endTime\",\"startTime\",\"end_user\",\"updated_at\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"endTime\",\"end_user\",\"api_key\",\"organization_id\",\"completionStartTime\",\"messages\",\"startTime\",\"model\",\"total_tokens\",\"request_duration_ms\",\"custom_llm_provider\",\"response\",\"completion_tokens\",\"model_group\",\"user\",\"session_id\",\"litellm_call_id\",\"metadata\",\"prompt_tokens\",\"cache_hit\",\"updated_at\",\"request_id\",\"call_type\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"model_id\",\"api_base\",\"agent_id\",\"status\",\"spend\",\"team_id\",\"cache_key\",\"requester_ip_address\",\"created_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"requester_ip_address\",\"prompt_tokens\",\"completion_tokens\",\"user\",\"created_at\",\"api_base\",\"updated_at\",\"status\",\"spend\",\"team_id\",\"request_duration_ms\",\"agent_id\",\"model\",\"call_type\",\"mcp_namespaced_tool_name\",\"cache_key\",\"completionStartTime\",\"organization_id\",\"request_tags\",\"startTime\",\"metadata\",\"endTime\",\"cache_hit\",\"end_user\",\"model_group\",\"litellm_call_id\",\"api_key\",\"total_tokens\",\"response\",\"messages\",\"request_id\",\"session_id\",\"proxy_server_request\",\"model_id\",\"custom_llm_provider\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"response\",\"api_key\",\"cache_key\",\"end_user\",\"completion_tokens\",\"user\",\"requester_ip_address\",\"mcp_namespaced_tool_name\",\"call_type\",\"organization_id\",\"total_tokens\",\"model_id\",\"custom_llm_provider\",\"request_duration_ms\",\"spend\",\"prompt_tokens\",\"request_tags\",\"created_at\",\"status\",\"agent_id\",\"completionStartTime\",\"startTime\",\"cache_hit\",\"session_id\",\"messages\",\"litellm_call_id\",\"request_id\",\"team_id\",\"api_base\",\"endTime\",\"metadata\",\"proxy_server_request\",\"updated_at\",\"model_group\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"response\",\"request_id\",\"cache_hit\",\"api_base\",\"team_id\",\"agent_id\",\"prompt_tokens\",\"completionStartTime\",\"messages\",\"spend\",\"request_tags\",\"completion_tokens\",\"end_user\",\"endTime\",\"created_at\",\"proxy_server_request\",\"api_key\",\"updated_at\",\"metadata\",\"organization_id\",\"user\",\"requester_ip_address\",\"session_id\",\"model\",\"cache_key\",\"custom_llm_provider\",\"call_type\",\"total_tokens\",\"model_id\",\"startTime\",\"mcp_namespaced_tool_name\",\"status\",\"litellm_call_id\",\"request_duration_ms\",\"model_group\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"response\",\"status\",\"organization_id\",\"request_duration_ms\",\"endTime\",\"spend\",\"team_id\",\"cache_hit\",\"model_group\",\"proxy_server_request\",\"custom_llm_provider\",\"agent_id\",\"api_base\",\"api_key\",\"user\",\"metadata\",\"created_at\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"request_tags\",\"request_id\",\"startTime\",\"total_tokens\",\"litellm_call_id\",\"updated_at\",\"messages\",\"end_user\",\"model_id\",\"session_id\",\"model\",\"cache_key\",\"call_type\",\"prompt_tokens\",\"requester_ip_address\",\"completion_tokens\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"session_id\",\"startTime\",\"request_duration_ms\",\"user\",\"messages\",\"cache_hit\",\"spend\",\"proxy_server_request\",\"total_tokens\",\"team_id\",\"response\",\"model_group\",\"litellm_call_id\",\"status\",\"custom_llm_provider\",\"model_id\",\"api_key\",\"request_tags\",\"api_base\",\"organization_id\",\"model\",\"requester_ip_address\",\"metadata\",\"end_user\",\"call_type\",\"endTime\",\"updated_at\",\"completion_tokens\",\"created_at\",\"agent_id\",\"prompt_tokens\",\"completionStartTime\",\"cache_key\",\"mcp_namespaced_tool_name\",\"request_id\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"call_type\",\"total_tokens\",\"end_user\",\"updated_at\",\"api_base\",\"model\",\"created_at\",\"request_id\",\"completionStartTime\",\"user\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"startTime\",\"litellm_call_id\",\"requester_ip_address\",\"status\",\"cache_hit\",\"metadata\",\"messages\",\"completion_tokens\",\"api_key\",\"team_id\",\"request_tags\",\"model_id\",\"custom_llm_provider\",\"response\",\"prompt_tokens\",\"cache_key\",\"organization_id\",\"session_id\",\"proxy_server_request\",\"agent_id\",\"endTime\",\"model_group\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"startTime\",\"model_group\",\"metadata\",\"model\",\"organization_id\",\"total_tokens\",\"request_id\",\"model_id\",\"response\",\"team_id\",\"status\",\"api_key\",\"requester_ip_address\",\"session_id\",\"request_duration_ms\",\"cache_key\",\"completion_tokens\",\"litellm_call_id\",\"call_type\",\"cache_hit\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"agent_id\",\"custom_llm_provider\",\"end_user\",\"spend\",\"created_at\",\"user\",\"endTime\",\"api_base\",\"proxy_server_request\",\"request_tags\",\"messages\",\"completionStartTime\",\"updated_at\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"startTime\",\"updated_at\",\"request_duration_ms\",\"metadata\",\"cache_hit\",\"agent_id\",\"total_tokens\",\"completionStartTime\",\"model\",\"request_tags\",\"team_id\",\"model_id\",\"response\",\"api_base\",\"created_at\",\"prompt_tokens\",\"cache_key\",\"mcp_namespaced_tool_name\",\"user\",\"end_user\",\"session_id\",\"proxy_server_request\",\"organization_id\",\"api_key\",\"call_type\",\"litellm_call_id\",\"spend\",\"request_id\",\"messages\",\"endTime\",\"model_group\",\"custom_llm_provider\",\"completion_tokens\",\"requester_ip_address\",\"status\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"status\",\"endTime\",\"requester_ip_address\",\"model\",\"api_key\",\"updated_at\",\"request_duration_ms\",\"custom_llm_provider\",\"cache_key\",\"cache_hit\",\"organization_id\",\"end_user\",\"mcp_namespaced_tool_name\",\"metadata\",\"model_group\",\"completionStartTime\",\"created_at\",\"user\",\"proxy_server_request\",\"completion_tokens\",\"model_id\",\"litellm_call_id\",\"prompt_tokens\",\"total_tokens\",\"response\",\"messages\",\"startTime\",\"call_type\",\"agent_id\",\"team_id\",\"request_tags\",\"spend\",\"request_id\",\"api_base\",\"session_id\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"status\",\"requester_ip_address\",\"completion_tokens\",\"cache_key\",\"response\",\"call_type\",\"endTime\",\"api_base\",\"updated_at\",\"request_id\",\"proxy_server_request\",\"messages\",\"litellm_call_id\",\"request_duration_ms\",\"organization_id\",\"user\",\"agent_id\",\"startTime\",\"request_tags\",\"session_id\",\"spend\",\"model_id\",\"completionStartTime\",\"created_at\",\"custom_llm_provider\",\"metadata\",\"prompt_tokens\",\"end_user\",\"api_key\",\"model_group\",\"mcp_namespaced_tool_name\",\"total_tokens\",\"cache_hit\",\"team_id\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"requester_ip_address\",\"proxy_server_request\",\"response\",\"metadata\",\"user\",\"session_id\",\"cache_hit\",\"request_tags\",\"completion_tokens\",\"end_user\",\"custom_llm_provider\",\"model\",\"endTime\",\"spend\",\"startTime\",\"created_at\",\"messages\",\"api_key\",\"updated_at\",\"call_type\",\"mcp_namespaced_tool_name\",\"team_id\",\"organization_id\",\"agent_id\",\"request_id\",\"request_duration_ms\",\"litellm_call_id\",\"model_group\",\"cache_key\",\"status\",\"api_base\",\"completionStartTime\",\"prompt_tokens\",\"model_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"team_id\",\"mcp_namespaced_tool_name\",\"request_tags\",\"custom_llm_provider\",\"request_id\",\"prompt_tokens\",\"cache_key\",\"spend\",\"model\",\"metadata\",\"status\",\"end_user\",\"session_id\",\"user\",\"startTime\",\"messages\",\"agent_id\",\"response\",\"api_base\",\"litellm_call_id\",\"call_type\",\"cache_hit\",\"completionStartTime\",\"api_key\",\"request_duration_ms\",\"updated_at\",\"requester_ip_address\",\"model_id\",\"proxy_server_request\",\"organization_id\",\"model_group\",\"endTime\",\"completion_tokens\",\"created_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"prompt_tokens\",\"agent_id\",\"end_user\",\"api_key\",\"request_id\",\"session_id\",\"cache_hit\",\"startTime\",\"status\",\"model\",\"messages\",\"team_id\",\"model_id\",\"proxy_server_request\",\"call_type\",\"metadata\",\"completion_tokens\",\"requester_ip_address\",\"total_tokens\",\"response\",\"spend\",\"custom_llm_provider\",\"model_group\",\"request_duration_ms\",\"litellm_call_id\",\"endTime\",\"mcp_namespaced_tool_name\",\"organization_id\",\"completionStartTime\",\"user\",\"created_at\",\"request_tags\",\"cache_key\",\"api_base\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"spend\",\"cache_key\",\"proxy_server_request\",\"updated_at\",\"startTime\",\"cache_hit\",\"session_id\",\"agent_id\",\"prompt_tokens\",\"api_key\",\"messages\",\"request_tags\",\"call_type\",\"response\",\"model_id\",\"status\",\"mcp_namespaced_tool_name\",\"endTime\",\"total_tokens\",\"api_base\",\"litellm_call_id\",\"request_duration_ms\",\"model\",\"metadata\",\"end_user\",\"created_at\",\"requester_ip_address\",\"completion_tokens\",\"team_id\",\"custom_llm_provider\",\"completionStartTime\",\"organization_id\",\"model_group\",\"request_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"object_permission_id\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ToolTable\" (\"tool_id\",\"tool_name\",\"origin\",\"input_policy\",\"output_policy\",\"call_count\",\"assignments\",\"key_hash\",\"team_id\",\"key_alias\",\"user_agent\",\"last_used_at\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"tool_name\") DO UPDATE SET \"call_count\" = (\"public\".\"LiteLLM_ToolTable\".\"call_count\" + $n), \"updated_at\" = $n, \"last_used_at\" = $n WHERE (\"public\".\"LiteLLM_ToolTable\".\"tool_name\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE \"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE (\"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"active_token_id\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"revoke_at\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"created_at\" FROM \"public\".\"LiteLLM_DeprecatedVerificationToken\" WHERE (\"public\".\"LiteLLM_DeprecatedVerificationToken\".\"token\" = $n AND \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"revoke_at\" > $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" IN ($n) OR \"public\".\"LiteLLM_MCPServerTable\".\"alias\" IN ($n) OR \"public\".\"LiteLLM_MCPServerTable\".\"server_name\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\", \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_name\", \"public\".\"LiteLLM_MCPToolsetTable\".\"description\", \"public\".\"LiteLLM_MCPToolsetTable\".\"tools\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_by\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_MCPToolsetTable\" WHERE \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\", \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_name\", \"public\".\"LiteLLM_MCPToolsetTable\".\"description\", \"public\".\"LiteLLM_MCPToolsetTable\".\"tools\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_by\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_MCPToolsetTable\" WHERE (\"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPUserCredentials\".\"id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"user_id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"credential_b64\", \"public\".\"LiteLLM_MCPUserCredentials\".\"created_at\", \"public\".\"LiteLLM_MCPUserCredentials\".\"updated_at\" FROM \"public\".\"LiteLLM_MCPUserCredentials\" WHERE \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE (\"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TagTable\".\"tag_name\", \"public\".\"LiteLLM_TagTable\".\"description\", \"public\".\"LiteLLM_TagTable\".\"models\", \"public\".\"LiteLLM_TagTable\".\"model_info\", \"public\".\"LiteLLM_TagTable\".\"spend\", \"public\".\"LiteLLM_TagTable\".\"budget_id\", \"public\".\"LiteLLM_TagTable\".\"created_at\", \"public\".\"LiteLLM_TagTable\".\"created_by\", \"public\".\"LiteLLM_TagTable\".\"updated_at\" FROM \"public\".\"LiteLLM_TagTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_TagTable\".\"tag_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"agent_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_ObjectPermissionTable\" x WHERE \"object_permission_id\" OPERATOR(pg_catalog.=) $n FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT (NOW() AT TIME ZONE $n)::text AS now, (NOW() AT TIME ZONE $n)::date::text AS today": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT DISTINCT \"date\" FROM \"LiteLLM_DailyUserSpend\" WHERE \"date\" <= $n ORDER BY \"date\"": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_AgentsTable\" SET \"spend\" = (\"public\".\"LiteLLM_AgentsTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"spend\" = (\"public\".\"LiteLLM_TeamTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests": {
|
|
"tests/integration/compatibility/test_a2a_wire_versions.py::test_a2a_versions_and_legacy_casing_preserve_real_wire_and_response": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_AgentsTable\" WHERE (\"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AgentsTable\" (\"agent_id\",\"agent_name\",\"litellm_params\",\"agent_card_params\",\"static_headers\",\"extra_headers\",\"agent_access_groups\",\"access_group_ids\",\"spend\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AgentsTable\".\"agent_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE \"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE (\"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"agent_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/compatibility/test_openai_consumer.py::test_retained_openai_clients_parse_real_proxy_tool_and_usage_responses": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyAgentSpend\" (\"id\", \"agent_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"agent_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyAgentSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyAgentSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyAgentSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyAgentSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyAgentSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyAgentSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyAgentSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyAgentSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyAgentSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyAgentSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyAgentSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyAgentSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyToolSpend\" (\"date\",\"tool_name\",\"spend\",\"total_tokens\",\"request_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"date\",\"tool_name\") DO UPDATE SET \"spend\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"spend\" + $n), \"total_tokens\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\" + $n), \"request_count\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"request_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyToolSpend\".\"date\" = $n AND \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyToolSpend\".\"date\", \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\", \"public\".\"LiteLLM_DailyToolSpend\".\"spend\", \"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\", \"public\".\"LiteLLM_DailyToolSpend\".\"request_count\", \"public\".\"LiteLLM_DailyToolSpend\".\"created_at\", \"public\".\"LiteLLM_DailyToolSpend\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"budget_reset_at\",\"object_permission_id\",\"config\",\"total_spend\",\"token\",\"metadata\",\"id\",\"allowed_routes\",\"last_active\",\"deleted_by\",\"auto_rotate\",\"project_id\",\"expires\",\"aliases\",\"tpm_limit\",\"key_type\",\"litellm_changed_by\",\"settings_updated_at\",\"blocked\",\"policies\",\"key_name\",\"models\",\"team_id\",\"budget_id\",\"updated_at\",\"tpd_limit\",\"created_by\",\"access_group_ids\",\"key_rotation_at\",\"deleted_at\",\"max_parallel_requests\",\"last_rotation_at\",\"agent_id\",\"permissions\",\"router_settings\",\"organization_id\",\"budget_duration\",\"budget_fallbacks\",\"rotation_interval\",\"key_alias\",\"allowed_cache_controls\",\"model_max_budget\",\"user_id\",\"rotation_count\",\"max_budget\",\"spend\",\"created_at\",\"updated_by\",\"deleted_by_api_key\",\"model_spend\",\"soft_budget_cooldown\",\"rpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"tool_name\",\"start_time\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"request_tags\",\"user\",\"call_type\",\"prompt_tokens\",\"startTime\",\"request_id\",\"organization_id\",\"spend\",\"model_id\",\"cache_key\",\"api_key\",\"completion_tokens\",\"response\",\"model\",\"model_group\",\"team_id\",\"cache_hit\",\"metadata\",\"session_id\",\"total_tokens\",\"completionStartTime\",\"messages\",\"api_base\",\"status\",\"updated_at\",\"custom_llm_provider\",\"created_at\",\"requester_ip_address\",\"litellm_call_id\",\"mcp_namespaced_tool_name\",\"agent_id\",\"request_duration_ms\",\"endTime\",\"end_user\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ToolTable\" (\"tool_id\",\"tool_name\",\"origin\",\"input_policy\",\"output_policy\",\"call_count\",\"assignments\",\"key_hash\",\"team_id\",\"key_alias\",\"user_agent\",\"last_used_at\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"tool_name\") DO UPDATE SET \"call_count\" = (\"public\".\"LiteLLM_ToolTable\".\"call_count\" + $n), \"updated_at\" = $n, \"last_used_at\" = $n WHERE (\"public\".\"LiteLLM_ToolTable\".\"tool_name\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_AgentsTable\" SET \"spend\" = (\"public\".\"LiteLLM_AgentsTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_AgentsTable\".\"agent_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/compatibility/test_persisted_toolsets.py::test_existing_toolset_format_loads_before_start_and_keeps_sibling_denied": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPServerOAuthClient\" WHERE \"public\".\"LiteLLM_MCPServerOAuthClient\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPToolsetTable\" WHERE (\"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPUserCredentials\" WHERE \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPUserEnvVars\" WHERE \"public\".\"LiteLLM_MCPUserEnvVars\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyToolSpend\" (\"date\",\"tool_name\",\"spend\",\"total_tokens\",\"request_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"date\",\"tool_name\") DO UPDATE SET \"spend\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"spend\" + $n), \"total_tokens\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\" + $n), \"request_count\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"request_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyToolSpend\".\"date\" = $n AND \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyToolSpend\".\"date\", \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\", \"public\".\"LiteLLM_DailyToolSpend\".\"spend\", \"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\", \"public\".\"LiteLLM_DailyToolSpend\".\"request_count\", \"public\".\"LiteLLM_DailyToolSpend\".\"created_at\", \"public\".\"LiteLLM_DailyToolSpend\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"key_name\",\"budget_fallbacks\",\"created_at\",\"blocked\",\"token\",\"project_id\",\"created_by\",\"deleted_at\",\"object_permission_id\",\"rpm_limit\",\"soft_budget_cooldown\",\"key_alias\",\"key_rotation_at\",\"aliases\",\"deleted_by\",\"access_group_ids\",\"expires\",\"updated_at\",\"total_spend\",\"auto_rotate\",\"max_parallel_requests\",\"policies\",\"settings_updated_at\",\"models\",\"user_id\",\"budget_duration\",\"rotation_count\",\"budget_id\",\"key_type\",\"tpm_limit\",\"updated_by\",\"rotation_interval\",\"spend\",\"model_max_budget\",\"allowed_routes\",\"max_budget\",\"deleted_by_api_key\",\"model_spend\",\"metadata\",\"team_id\",\"agent_id\",\"router_settings\",\"last_rotation_at\",\"last_active\",\"budget_reset_at\",\"organization_id\",\"tpd_limit\",\"permissions\",\"config\",\"litellm_changed_by\",\"id\",\"allowed_cache_controls\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"tpd_limit\",\"max_parallel_requests\",\"organization_id\",\"allowed_cache_controls\",\"last_active\",\"tpm_limit\",\"budget_fallbacks\",\"updated_by\",\"blocked\",\"created_by\",\"model_spend\",\"key_rotation_at\",\"allowed_routes\",\"updated_at\",\"created_at\",\"aliases\",\"key_alias\",\"metadata\",\"key_type\",\"deleted_by_api_key\",\"policies\",\"token\",\"auto_rotate\",\"spend\",\"max_budget\",\"permissions\",\"rotation_interval\",\"user_id\",\"litellm_changed_by\",\"expires\",\"last_rotation_at\",\"key_name\",\"config\",\"rpm_limit\",\"team_id\",\"budget_id\",\"models\",\"project_id\",\"model_max_budget\",\"rotation_count\",\"id\",\"budget_duration\",\"budget_reset_at\",\"total_spend\",\"agent_id\",\"soft_budget_cooldown\",\"router_settings\",\"access_group_ids\",\"deleted_by\",\"object_permission_id\",\"settings_updated_at\",\"deleted_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_MCPServerTable\" (\"server_id\",\"server_name\",\"alias\",\"url\",\"transport\",\"credentials\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"mcp_info\",\"mcp_access_groups\",\"allowed_tools\",\"tool_name_to_display_name\",\"tool_name_to_description\",\"extra_headers\",\"static_headers\",\"env_vars\",\"status\",\"args\",\"env\",\"allow_all_keys\",\"available_on_public_internet\",\"delegate_auth_to_upstream\",\"oauth_passthrough\",\"per_server_oauth_discovery\",\"is_byok\",\"byok_description\",\"approval_status\") VALUES ($n) RETURNING \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ObjectPermissionTable\" (\"object_permission_id\",\"mcp_servers\",\"mcp_access_groups\",\"vector_stores\",\"agents\",\"agent_access_groups\",\"models\",\"blocked_tools\",\"mcp_toolsets\",\"search_tools\",\"skills\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"request_id\",\"start_time\",\"tool_name\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"prompt_tokens\",\"cache_key\",\"completionStartTime\",\"agent_id\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"created_at\",\"cache_hit\",\"team_id\",\"api_base\",\"litellm_call_id\",\"model_group\",\"custom_llm_provider\",\"model_id\",\"session_id\",\"completion_tokens\",\"updated_at\",\"startTime\",\"spend\",\"messages\",\"endTime\",\"total_tokens\",\"metadata\",\"status\",\"api_key\",\"request_duration_ms\",\"response\",\"end_user\",\"request_id\",\"organization_id\",\"user\",\"request_tags\",\"requester_ip_address\",\"model\",\"call_type\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ToolTable\" (\"tool_id\",\"tool_name\",\"origin\",\"input_policy\",\"output_policy\",\"call_count\",\"assignments\",\"key_hash\",\"team_id\",\"key_alias\",\"user_agent\",\"last_used_at\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"tool_name\") DO UPDATE SET \"call_count\" = (\"public\".\"LiteLLM_ToolTable\".\"call_count\" + $n), \"updated_at\" = $n, \"last_used_at\" = $n WHERE (\"public\".\"LiteLLM_ToolTable\".\"tool_name\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" IN ($n) OR \"public\".\"LiteLLM_MCPServerTable\".\"alias\" IN ($n) OR \"public\".\"LiteLLM_MCPServerTable\".\"server_name\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\", \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_name\", \"public\".\"LiteLLM_MCPToolsetTable\".\"description\", \"public\".\"LiteLLM_MCPToolsetTable\".\"tools\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_by\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_MCPToolsetTable\" WHERE \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\", \"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_name\", \"public\".\"LiteLLM_MCPToolsetTable\".\"description\", \"public\".\"LiteLLM_MCPToolsetTable\".\"tools\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"created_by\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_at\", \"public\".\"LiteLLM_MCPToolsetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_MCPToolsetTable\" WHERE (\"public\".\"LiteLLM_MCPToolsetTable\".\"toolset_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPUserCredentials\".\"id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"user_id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"credential_b64\", \"public\".\"LiteLLM_MCPUserCredentials\".\"created_at\", \"public\".\"LiteLLM_MCPUserCredentials\".\"updated_at\" FROM \"public\".\"LiteLLM_MCPUserCredentials\" WHERE \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE (\"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_ObjectPermissionTable\" x WHERE \"object_permission_id\" OPERATOR(pg_catalog.=) $n FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_callback_delivery.py::test_concurrent_success_and_failure_join_callbacks_and_rows_without_credentials": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"allowed_routes\",\"deleted_at\",\"last_rotation_at\",\"budget_id\",\"tpm_limit\",\"soft_budget_cooldown\",\"agent_id\",\"router_settings\",\"organization_id\",\"aliases\",\"rpm_limit\",\"blocked\",\"policies\",\"metadata\",\"user_id\",\"auto_rotate\",\"object_permission_id\",\"max_budget\",\"total_spend\",\"litellm_changed_by\",\"model_max_budget\",\"budget_fallbacks\",\"models\",\"access_group_ids\",\"token\",\"permissions\",\"spend\",\"last_active\",\"settings_updated_at\",\"id\",\"rotation_interval\",\"project_id\",\"model_spend\",\"deleted_by\",\"expires\",\"key_type\",\"rotation_count\",\"key_alias\",\"updated_at\",\"created_at\",\"config\",\"tpd_limit\",\"key_rotation_at\",\"key_name\",\"created_by\",\"budget_reset_at\",\"deleted_by_api_key\",\"max_parallel_requests\",\"updated_by\",\"budget_duration\",\"team_id\",\"allowed_cache_controls\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"request_id\",\"mcp_namespaced_tool_name\",\"end_user\",\"model_group\",\"model\",\"prompt_tokens\",\"cache_key\",\"spend\",\"completionStartTime\",\"request_duration_ms\",\"custom_llm_provider\",\"status\",\"cache_hit\",\"updated_at\",\"startTime\",\"request_tags\",\"proxy_server_request\",\"call_type\",\"requester_ip_address\",\"total_tokens\",\"response\",\"model_id\",\"user\",\"completion_tokens\",\"created_at\",\"session_id\",\"metadata\",\"team_id\",\"agent_id\",\"endTime\",\"messages\",\"litellm_call_id\",\"api_key\",\"organization_id\") VALUES ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TagTable\".\"tag_name\", \"public\".\"LiteLLM_TagTable\".\"description\", \"public\".\"LiteLLM_TagTable\".\"models\", \"public\".\"LiteLLM_TagTable\".\"model_info\", \"public\".\"LiteLLM_TagTable\".\"spend\", \"public\".\"LiteLLM_TagTable\".\"budget_id\", \"public\".\"LiteLLM_TagTable\".\"created_at\", \"public\".\"LiteLLM_TagTable\".\"created_by\", \"public\".\"LiteLLM_TagTable\".\"updated_at\" FROM \"public\".\"LiteLLM_TagTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_TagTable\".\"tag_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_callback_delivery.py::test_response_survives_raising_success_deployment_hook[chat]": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completion_tokens\",\"request_id\",\"completionStartTime\",\"api_key\",\"user\",\"litellm_call_id\",\"startTime\",\"session_id\",\"cache_hit\",\"created_at\",\"prompt_tokens\",\"requester_ip_address\",\"proxy_server_request\",\"model_group\",\"messages\",\"organization_id\",\"request_tags\",\"spend\",\"total_tokens\",\"model_id\",\"api_base\",\"cache_key\",\"agent_id\",\"model\",\"metadata\",\"custom_llm_provider\",\"call_type\",\"team_id\",\"end_user\",\"mcp_namespaced_tool_name\",\"status\",\"response\",\"request_duration_ms\",\"endTime\",\"updated_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_callback_delivery.py::test_response_survives_raising_success_deployment_hook[embeddings]": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"spend\",\"team_id\",\"prompt_tokens\",\"updated_at\",\"session_id\",\"organization_id\",\"messages\",\"end_user\",\"metadata\",\"litellm_call_id\",\"model_id\",\"model\",\"custom_llm_provider\",\"status\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"request_id\",\"cache_key\",\"agent_id\",\"api_base\",\"api_key\",\"response\",\"endTime\",\"user\",\"call_type\",\"completionStartTime\",\"cache_hit\",\"completion_tokens\",\"request_duration_ms\",\"model_group\",\"startTime\",\"request_tags\",\"requester_ip_address\",\"total_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_callback_delivery.py::test_response_survives_raising_success_deployment_hook[responses]": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"custom_llm_provider\",\"prompt_tokens\",\"request_id\",\"metadata\",\"api_base\",\"team_id\",\"requester_ip_address\",\"model_id\",\"request_tags\",\"end_user\",\"status\",\"cache_key\",\"call_type\",\"spend\",\"completionStartTime\",\"organization_id\",\"response\",\"model\",\"total_tokens\",\"cache_hit\",\"startTime\",\"session_id\",\"model_group\",\"endTime\",\"messages\",\"updated_at\",\"mcp_namespaced_tool_name\",\"proxy_server_request\",\"completion_tokens\",\"litellm_call_id\",\"user\",\"api_key\",\"agent_id\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT (NOW() AT TIME ZONE $n)::text AS now, (NOW() AT TIME ZONE $n)::date::text AS today": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT DISTINCT \"date\" FROM \"LiteLLM_DailyUserSpend\" WHERE \"date\" <= $n ORDER BY \"date\"": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_callback_delivery.py::test_response_survives_raising_success_deployment_hook[videos]": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyToolSpend\" (\"date\",\"tool_name\",\"spend\",\"total_tokens\",\"request_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"date\",\"tool_name\") DO UPDATE SET \"spend\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"spend\" + $n), \"total_tokens\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\" + $n), \"request_count\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"request_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyToolSpend\".\"date\" = $n AND \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyToolSpend\".\"date\", \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\", \"public\".\"LiteLLM_DailyToolSpend\".\"spend\", \"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\", \"public\".\"LiteLLM_DailyToolSpend\".\"request_count\", \"public\".\"LiteLLM_DailyToolSpend\".\"created_at\", \"public\".\"LiteLLM_DailyToolSpend\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"tool_name\",\"request_id\",\"start_time\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"mcp_namespaced_tool_name\",\"model_id\",\"request_id\",\"agent_id\",\"model_group\",\"api_key\",\"total_tokens\",\"prompt_tokens\",\"litellm_call_id\",\"endTime\",\"requester_ip_address\",\"completionStartTime\",\"team_id\",\"organization_id\",\"metadata\",\"proxy_server_request\",\"cache_key\",\"messages\",\"model\",\"cache_hit\",\"response\",\"spend\",\"end_user\",\"custom_llm_provider\",\"updated_at\",\"call_type\",\"user\",\"session_id\",\"completion_tokens\",\"startTime\",\"created_at\",\"request_tags\",\"status\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"startTime\",\"completion_tokens\",\"endTime\",\"total_tokens\",\"cache_hit\",\"updated_at\",\"call_type\",\"mcp_namespaced_tool_name\",\"response\",\"model\",\"prompt_tokens\",\"team_id\",\"agent_id\",\"created_at\",\"request_tags\",\"organization_id\",\"spend\",\"messages\",\"requester_ip_address\",\"session_id\",\"request_duration_ms\",\"model_id\",\"user\",\"completionStartTime\",\"model_group\",\"litellm_call_id\",\"custom_llm_provider\",\"api_base\",\"request_id\",\"metadata\",\"cache_key\",\"end_user\",\"api_key\",\"status\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ToolTable\" (\"tool_id\",\"tool_name\",\"origin\",\"input_policy\",\"output_policy\",\"call_count\",\"assignments\",\"key_hash\",\"team_id\",\"key_alias\",\"user_agent\",\"last_used_at\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"tool_name\") DO UPDATE SET \"call_count\" = (\"public\".\"LiteLLM_ToolTable\".\"call_count\" + $n), \"updated_at\" = $n, \"last_used_at\" = $n WHERE (\"public\".\"LiteLLM_ToolTable\".\"tool_name\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT (NOW() AT TIME ZONE $n)::text AS now, (NOW() AT TIME ZONE $n)::date::text AS today": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT DISTINCT \"date\" FROM \"LiteLLM_DailyUserSpend\" WHERE \"date\" <= $n ORDER BY \"date\"": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_callback_delivery.py::test_streamed_responses_success_callback_carries_provider_apim_request_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"request_duration_ms\",\"team_id\",\"model_id\",\"agent_id\",\"completion_tokens\",\"organization_id\",\"prompt_tokens\",\"cache_hit\",\"mcp_namespaced_tool_name\",\"status\",\"completionStartTime\",\"session_id\",\"call_type\",\"user\",\"endTime\",\"cache_key\",\"proxy_server_request\",\"request_tags\",\"metadata\",\"api_key\",\"spend\",\"response\",\"startTime\",\"end_user\",\"litellm_call_id\",\"model_group\",\"messages\",\"requester_ip_address\",\"created_at\",\"custom_llm_provider\",\"updated_at\",\"total_tokens\",\"api_base\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"response\",\"status\",\"organization_id\",\"request_duration_ms\",\"endTime\",\"spend\",\"team_id\",\"cache_hit\",\"model_group\",\"proxy_server_request\",\"custom_llm_provider\",\"agent_id\",\"api_base\",\"api_key\",\"user\",\"metadata\",\"created_at\",\"completionStartTime\",\"mcp_namespaced_tool_name\",\"request_tags\",\"request_id\",\"startTime\",\"total_tokens\",\"litellm_call_id\",\"updated_at\",\"messages\",\"end_user\",\"model_id\",\"session_id\",\"model\",\"cache_key\",\"call_type\",\"prompt_tokens\",\"requester_ip_address\",\"completion_tokens\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_guardrail_effects.py::test_bedrock_passthrough_converse_guardrail_ignores_denied_term_in_tool_definition": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyGuardrailMetrics\" (\"guardrail_id\",\"date\",\"requests_evaluated\",\"passed_count\",\"blocked_count\",\"flagged_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"guardrail_id\",\"date\") DO UPDATE SET \"requests_evaluated\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\" + $n), \"passed_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\" + $n), \"blocked_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\" + $n), \"flagged_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\" = $n AND \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_score\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_latency_ms\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"created_at\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"policy_id\",\"guardrail_id\",\"request_id\",\"start_time\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"user\",\"spend\",\"cache_key\",\"proxy_server_request\",\"updated_at\",\"startTime\",\"cache_hit\",\"session_id\",\"agent_id\",\"prompt_tokens\",\"api_key\",\"messages\",\"request_tags\",\"call_type\",\"response\",\"model_id\",\"status\",\"mcp_namespaced_tool_name\",\"endTime\",\"total_tokens\",\"api_base\",\"litellm_call_id\",\"request_duration_ms\",\"model\",\"metadata\",\"end_user\",\"created_at\",\"requester_ip_address\",\"completion_tokens\",\"team_id\",\"custom_llm_provider\",\"completionStartTime\",\"organization_id\",\"model_group\",\"request_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"active_token_id\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"revoke_at\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"created_at\" FROM \"public\".\"LiteLLM_DeprecatedVerificationToken\" WHERE (\"public\".\"LiteLLM_DeprecatedVerificationToken\".\"token\" = $n AND \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"revoke_at\" > $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_guardrail_effects.py::test_guardrail_denial_prevents_provider_and_preserves_allowed_control": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyGuardrailMetrics\" (\"guardrail_id\",\"date\",\"requests_evaluated\",\"passed_count\",\"blocked_count\",\"flagged_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"guardrail_id\",\"date\") DO UPDATE SET \"requests_evaluated\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\" + $n), \"passed_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\" + $n), \"blocked_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\" + $n), \"flagged_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\" = $n AND \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_score\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_latency_ms\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"created_at\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"rotation_count\",\"rpm_limit\",\"router_settings\",\"budget_duration\",\"allowed_routes\",\"created_at\",\"spend\",\"deleted_by\",\"permissions\",\"key_name\",\"key_alias\",\"model_max_budget\",\"litellm_changed_by\",\"policies\",\"last_rotation_at\",\"project_id\",\"updated_at\",\"auto_rotate\",\"budget_reset_at\",\"model_spend\",\"budget_fallbacks\",\"settings_updated_at\",\"organization_id\",\"created_by\",\"key_rotation_at\",\"deleted_at\",\"token\",\"agent_id\",\"total_spend\",\"budget_id\",\"aliases\",\"object_permission_id\",\"user_id\",\"access_group_ids\",\"id\",\"allowed_cache_controls\",\"rotation_interval\",\"max_budget\",\"deleted_by_api_key\",\"updated_by\",\"team_id\",\"max_parallel_requests\",\"expires\",\"tpm_limit\",\"key_type\",\"last_active\",\"models\",\"config\",\"metadata\",\"blocked\",\"soft_budget_cooldown\",\"tpd_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"request_id\",\"policy_id\",\"start_time\",\"guardrail_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"created_at\",\"user\",\"model_id\",\"session_id\",\"messages\",\"end_user\",\"mcp_namespaced_tool_name\",\"request_tags\",\"cache_key\",\"completionStartTime\",\"request_id\",\"agent_id\",\"response\",\"litellm_call_id\",\"endTime\",\"status\",\"call_type\",\"total_tokens\",\"proxy_server_request\",\"prompt_tokens\",\"model_group\",\"updated_at\",\"model\",\"api_key\",\"team_id\",\"spend\",\"startTime\",\"custom_llm_provider\",\"metadata\",\"cache_hit\",\"completion_tokens\",\"requester_ip_address\",\"request_duration_ms\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"requester_ip_address\",\"proxy_server_request\",\"response\",\"metadata\",\"user\",\"session_id\",\"cache_hit\",\"request_tags\",\"completion_tokens\",\"end_user\",\"custom_llm_provider\",\"model\",\"endTime\",\"spend\",\"startTime\",\"created_at\",\"messages\",\"api_key\",\"updated_at\",\"call_type\",\"mcp_namespaced_tool_name\",\"team_id\",\"organization_id\",\"agent_id\",\"request_id\",\"request_duration_ms\",\"litellm_call_id\",\"model_group\",\"cache_key\",\"status\",\"api_base\",\"completionStartTime\",\"prompt_tokens\",\"model_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_guardrail_effects.py::test_guardrail_rewrites_system_and_user_in_actual_anthropic_request": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyGuardrailMetrics\" (\"guardrail_id\",\"date\",\"requests_evaluated\",\"passed_count\",\"blocked_count\",\"flagged_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"guardrail_id\",\"date\") DO UPDATE SET \"requests_evaluated\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\" + $n), \"passed_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\" + $n), \"blocked_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\" + $n), \"flagged_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\" = $n AND \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_score\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_latency_ms\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"created_at\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"policy_id\",\"start_time\",\"guardrail_id\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_group\",\"completionStartTime\",\"endTime\",\"call_type\",\"requester_ip_address\",\"request_tags\",\"model_id\",\"completion_tokens\",\"updated_at\",\"total_tokens\",\"response\",\"api_base\",\"api_key\",\"end_user\",\"spend\",\"user\",\"request_duration_ms\",\"mcp_namespaced_tool_name\",\"session_id\",\"litellm_call_id\",\"cache_key\",\"model\",\"created_at\",\"agent_id\",\"prompt_tokens\",\"metadata\",\"request_id\",\"proxy_server_request\",\"startTime\",\"messages\",\"status\",\"organization_id\",\"custom_llm_provider\",\"cache_hit\",\"team_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT (NOW() AT TIME ZONE $n)::text AS now, (NOW() AT TIME ZONE $n)::date::text AS today": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT DISTINCT \"date\" FROM \"LiteLLM_DailyUserSpend\" WHERE \"date\" <= $n ORDER BY \"date\"": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_guardrail_effects.py::test_request_selected_mcp_guardrail_blocks_direct_and_virtual_calls": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPServerOAuthClient\" WHERE \"public\".\"LiteLLM_MCPServerOAuthClient\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPUserCredentials\" WHERE \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_MCPUserEnvVars\" WHERE \"public\".\"LiteLLM_MCPUserEnvVars\".\"server_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE \"public\".\"LiteLLM_TeamMembership\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM ONLY \"public\".\"LiteLLM_JWTKeyMapping\" WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyGuardrailMetrics\" (\"guardrail_id\",\"date\",\"requests_evaluated\",\"passed_count\",\"blocked_count\",\"flagged_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"guardrail_id\",\"date\") DO UPDATE SET \"requests_evaluated\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\" + $n), \"passed_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\" + $n), \"blocked_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\" + $n), \"flagged_count\" = (\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\" = $n AND \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"guardrail_id\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"date\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"requests_evaluated\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"passed_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"blocked_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"flagged_count\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_score\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"avg_latency_ms\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"created_at\", \"public\".\"LiteLLM_DailyGuardrailMetrics\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DailyToolSpend\" (\"date\",\"tool_name\",\"spend\",\"total_tokens\",\"request_count\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"date\",\"tool_name\") DO UPDATE SET \"spend\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"spend\" + $n), \"total_tokens\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\" + $n), \"request_count\" = (\"public\".\"LiteLLM_DailyToolSpend\".\"request_count\" + $n), \"updated_at\" = $n WHERE ((\"public\".\"LiteLLM_DailyToolSpend\".\"date\" = $n AND \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\" = $n) AND $n=$n) RETURNING \"public\".\"LiteLLM_DailyToolSpend\".\"date\", \"public\".\"LiteLLM_DailyToolSpend\".\"tool_name\", \"public\".\"LiteLLM_DailyToolSpend\".\"spend\", \"public\".\"LiteLLM_DailyToolSpend\".\"total_tokens\", \"public\".\"LiteLLM_DailyToolSpend\".\"request_count\", \"public\".\"LiteLLM_DailyToolSpend\".\"created_at\", \"public\".\"LiteLLM_DailyToolSpend\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedTeamTable\" (\"models\",\"metadata\",\"policies\",\"members\",\"created_at\",\"budget_reset_at\",\"model_max_budget\",\"organization_id\",\"tpm_limit\",\"router_settings\",\"model_spend\",\"team_member_permissions\",\"max_parallel_requests\",\"blocked\",\"access_group_ids\",\"deleted_at\",\"deleted_by_api_key\",\"id\",\"object_permission_id\",\"max_budget\",\"soft_budget\",\"admins\",\"updated_at\",\"rpm_limit\",\"deleted_by\",\"team_alias\",\"litellm_changed_by\",\"allow_team_guardrail_config\",\"model_id\",\"spend\",\"tpd_limit\",\"team_id\",\"members_with_roles\",\"budget_duration\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"auto_rotate\",\"config\",\"updated_by\",\"last_active\",\"object_permission_id\",\"rpm_limit\",\"created_by\",\"model_max_budget\",\"user_id\",\"allowed_cache_controls\",\"deleted_by_api_key\",\"max_budget\",\"expires\",\"key_name\",\"budget_fallbacks\",\"blocked\",\"key_alias\",\"token\",\"access_group_ids\",\"soft_budget_cooldown\",\"deleted_at\",\"budget_id\",\"aliases\",\"budget_reset_at\",\"tpm_limit\",\"updated_at\",\"key_type\",\"created_at\",\"litellm_changed_by\",\"models\",\"model_spend\",\"budget_duration\",\"permissions\",\"id\",\"policies\",\"project_id\",\"organization_id\",\"rotation_interval\",\"tpd_limit\",\"max_parallel_requests\",\"rotation_count\",\"deleted_by\",\"team_id\",\"last_rotation_at\",\"agent_id\",\"key_rotation_at\",\"spend\",\"metadata\",\"total_spend\",\"allowed_routes\",\"router_settings\",\"settings_updated_at\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"created_at\",\"deleted_at\",\"object_permission_id\",\"permissions\",\"aliases\",\"updated_by\",\"last_active\",\"user_id\",\"budget_id\",\"blocked\",\"deleted_by_api_key\",\"key_type\",\"rotation_count\",\"model_spend\",\"key_name\",\"settings_updated_at\",\"project_id\",\"id\",\"policies\",\"spend\",\"budget_fallbacks\",\"created_by\",\"config\",\"team_id\",\"key_alias\",\"access_group_ids\",\"router_settings\",\"token\",\"agent_id\",\"allowed_routes\",\"key_rotation_at\",\"models\",\"expires\",\"organization_id\",\"tpd_limit\",\"max_budget\",\"model_max_budget\",\"soft_budget_cooldown\",\"max_parallel_requests\",\"tpm_limit\",\"budget_reset_at\",\"updated_at\",\"metadata\",\"rpm_limit\",\"total_spend\",\"last_rotation_at\",\"deleted_by\",\"allowed_cache_controls\",\"rotation_interval\",\"litellm_changed_by\",\"auto_rotate\",\"budget_duration\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"object_permission_id\",\"budget_id\",\"last_active\",\"last_rotation_at\",\"budget_reset_at\",\"max_parallel_requests\",\"model_spend\",\"policies\",\"allowed_routes\",\"router_settings\",\"models\",\"deleted_by\",\"settings_updated_at\",\"organization_id\",\"token\",\"tpd_limit\",\"rpm_limit\",\"deleted_at\",\"budget_fallbacks\",\"model_max_budget\",\"expires\",\"litellm_changed_by\",\"blocked\",\"rotation_count\",\"metadata\",\"permissions\",\"project_id\",\"soft_budget_cooldown\",\"total_spend\",\"updated_by\",\"user_id\",\"key_type\",\"access_group_ids\",\"key_alias\",\"key_name\",\"aliases\",\"deleted_by_api_key\",\"config\",\"budget_duration\",\"team_id\",\"key_rotation_at\",\"allowed_cache_controls\",\"max_budget\",\"agent_id\",\"created_by\",\"rotation_interval\",\"updated_at\",\"auto_rotate\",\"id\",\"spend\",\"created_at\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"rotation_interval\",\"created_at\",\"object_permission_id\",\"models\",\"organization_id\",\"budget_duration\",\"aliases\",\"metadata\",\"deleted_by_api_key\",\"soft_budget_cooldown\",\"access_group_ids\",\"key_alias\",\"updated_at\",\"tpm_limit\",\"rpm_limit\",\"spend\",\"key_name\",\"policies\",\"expires\",\"last_active\",\"token\",\"updated_by\",\"max_budget\",\"config\",\"budget_id\",\"deleted_by\",\"model_spend\",\"id\",\"budget_reset_at\",\"allowed_routes\",\"router_settings\",\"total_spend\",\"allowed_cache_controls\",\"key_type\",\"deleted_at\",\"key_rotation_at\",\"last_rotation_at\",\"tpd_limit\",\"agent_id\",\"created_by\",\"settings_updated_at\",\"rotation_count\",\"litellm_changed_by\",\"project_id\",\"auto_rotate\",\"blocked\",\"user_id\",\"team_id\",\"model_max_budget\",\"budget_fallbacks\",\"permissions\",\"max_parallel_requests\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_MCPServerTable\" (\"server_id\",\"server_name\",\"alias\",\"url\",\"transport\",\"credentials\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"mcp_info\",\"mcp_access_groups\",\"allowed_tools\",\"tool_name_to_display_name\",\"tool_name_to_description\",\"extra_headers\",\"static_headers\",\"env_vars\",\"status\",\"args\",\"env\",\"allow_all_keys\",\"available_on_public_internet\",\"delegate_auth_to_upstream\",\"oauth_passthrough\",\"per_server_oauth_discovery\",\"is_byok\",\"byok_description\",\"approval_status\") VALUES ($n) RETURNING \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ObjectPermissionTable\" (\"object_permission_id\",\"mcp_servers\",\"mcp_access_groups\",\"vector_stores\",\"agents\",\"agent_access_groups\",\"models\",\"blocked_tools\",\"mcp_toolsets\",\"search_tools\",\"mcp_tool_search_enabled\",\"skills\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ObjectPermissionTable\" (\"object_permission_id\",\"mcp_servers\",\"mcp_access_groups\",\"vector_stores\",\"agents\",\"agent_access_groups\",\"models\",\"blocked_tools\",\"mcp_toolsets\",\"search_tools\",\"skills\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogGuardrailIndex\" (\"policy_id\",\"guardrail_id\",\"request_id\",\"start_time\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogToolIndex\" (\"request_id\",\"tool_name\",\"start_time\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"custom_llm_provider\",\"end_user\",\"response\",\"total_tokens\",\"request_duration_ms\",\"completionStartTime\",\"api_base\",\"request_id\",\"updated_at\",\"team_id\",\"session_id\",\"cache_key\",\"api_key\",\"request_tags\",\"startTime\",\"organization_id\",\"agent_id\",\"model_id\",\"requester_ip_address\",\"created_at\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"status\",\"model_group\",\"metadata\",\"call_type\",\"litellm_call_id\",\"completion_tokens\",\"user\",\"proxy_server_request\",\"cache_hit\",\"messages\",\"spend\",\"model\",\"endTime\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamMembership\" (\"user_id\",\"team_id\",\"spend\",\"total_spend\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_TeamTable\" (\"team_id\",\"team_alias\",\"object_permission_id\",\"admins\",\"members\",\"members_with_roles\",\"metadata\",\"spend\",\"models\",\"blocked\",\"created_at\",\"updated_at\",\"model_spend\",\"model_max_budget\",\"router_settings\",\"team_member_permissions\",\"access_group_ids\",\"policies\",\"default_team_member_models\",\"allow_team_guardrail_config\") VALUES ($n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ToolTable\" (\"tool_id\",\"tool_name\",\"origin\",\"input_policy\",\"output_policy\",\"call_count\",\"assignments\",\"key_hash\",\"team_id\",\"key_alias\",\"user_agent\",\"last_used_at\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) ON CONFLICT (\"tool_name\") DO UPDATE SET \"call_count\" = (\"public\".\"LiteLLM_ToolTable\".\"call_count\" + $n), \"updated_at\" = $n, \"last_used_at\" = $n WHERE (\"public\".\"LiteLLM_ToolTable\".\"tool_name\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_UserTable\" (\"user_id\",\"teams\",\"user_role\",\"spend\",\"models\",\"metadata\",\"allowed_cache_controls\",\"policies\",\"model_spend\",\"model_max_budget\",\"created_at\",\"updated_at\") VALUES ($n) ON CONFLICT (\"user_id\") DO UPDATE SET \"user_id\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_VerificationToken\" (\"token\",\"key_name\",\"key_alias\",\"soft_budget_cooldown\",\"spend\",\"total_spend\",\"expires\",\"models\",\"aliases\",\"config\",\"router_settings\",\"user_id\",\"team_id\",\"agent_id\",\"project_id\",\"permissions\",\"max_parallel_requests\",\"metadata\",\"blocked\",\"tpm_limit\",\"rpm_limit\",\"tpd_limit\",\"max_budget\",\"budget_duration\",\"budget_reset_at\",\"allowed_cache_controls\",\"allowed_routes\",\"key_type\",\"policies\",\"access_group_ids\",\"model_spend\",\"model_max_budget\",\"budget_fallbacks\",\"budget_id\",\"organization_id\",\"object_permission_id\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\",\"rotation_count\",\"auto_rotate\") VALUES ($n) RETURNING \"public\".\"LiteLLM_VerificationToken\".\"token\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeletedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_name\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_alias\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"total_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"expires\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"models\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"aliases\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"config\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"user_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"team_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"agent_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"project_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"permissions\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"metadata\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"blocked\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_type\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"policies\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_spend\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"router_settings\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"budget_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"organization_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"created_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"updated_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_active\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_by_api_key\", \"public\".\"LiteLLM_DeletedVerificationToken\".\"litellm_changed_by\" FROM \"public\".\"LiteLLM_DeletedVerificationToken\" WHERE \"public\".\"LiteLLM_DeletedVerificationToken\".\"token\" = $n ORDER BY \"public\".\"LiteLLM_DeletedVerificationToken\".\"deleted_at\" DESC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_JWTKeyMapping\".\"id\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_issuer\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_name\", \"public\".\"LiteLLM_JWTKeyMapping\".\"jwt_claim_value\", \"public\".\"LiteLLM_JWTKeyMapping\".\"token\", \"public\".\"LiteLLM_JWTKeyMapping\".\"description\", \"public\".\"LiteLLM_JWTKeyMapping\".\"is_active\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"created_by\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_at\", \"public\".\"LiteLLM_JWTKeyMapping\".\"updated_by\" FROM \"public\".\"LiteLLM_JWTKeyMapping\" WHERE \"public\".\"LiteLLM_JWTKeyMapping\".\"token\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"server_id\" IN ($n) OR \"public\".\"LiteLLM_MCPServerTable\".\"alias\" IN ($n) OR \"public\".\"LiteLLM_MCPServerTable\".\"server_name\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPUserCredentials\".\"id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"user_id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\", \"public\".\"LiteLLM_MCPUserCredentials\".\"credential_b64\", \"public\".\"LiteLLM_MCPUserCredentials\".\"created_at\", \"public\".\"LiteLLM_MCPUserCredentials\".\"updated_at\" FROM \"public\".\"LiteLLM_MCPUserCredentials\" WHERE \"public\".\"LiteLLM_MCPUserCredentials\".\"server_id\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE (\"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\"::text LIKE $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE ((\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamMembership\".\"user_id\", \"public\".\"LiteLLM_TeamMembership\".\"team_id\", \"public\".\"LiteLLM_TeamMembership\".\"spend\", \"public\".\"LiteLLM_TeamMembership\".\"total_spend\", \"public\".\"LiteLLM_TeamMembership\".\"budget_id\" FROM \"public\".\"LiteLLM_TeamMembership\" WHERE (\"public\".\"LiteLLM_TeamMembership\".\"user_id\" = $n AND \"public\".\"LiteLLM_TeamMembership\".\"team_id\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"team_id\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"user_id\" IN ($n) AND \"public\".\"LiteLLM_VerificationToken\".\"team_id\" = $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM ONLY \"public\".\"LiteLLM_ObjectPermissionTable\" x WHERE \"object_permission_id\" OPERATOR(pg_catalog.=) $n FOR KEY SHARE OF x": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*) FROM (SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */) AS \"sub\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_id FROM \"LiteLLM_AccessGroupTable\" WHERE access_group_id = ANY($n::TEXT[]) OR $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT access_group_ids FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT members_with_roles FROM \"LiteLLM_TeamTable\" WHERE team_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT pg_advisory_xact_lock(hashtext($n)) IS NULL AS locked": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_append(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]), $n) WHERE access_group_id = ANY($n::TEXT[]) AND NOT ($n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[]))) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET assigned_team_ids = array_remove(assigned_team_ids, $n) WHERE $n = ANY(COALESCE(assigned_team_ids, ARRAY[]::TEXT[])) AND NOT (access_group_id = ANY($n::TEXT[])) RETURNING access_group_id": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_UserTable\" SET teams = array_remove(teams, $n) WHERE $n = ANY(teams)": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"members_with_roles\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TeamTable\" SET \"spend\" = (\"public\".\"LiteLLM_TeamTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TeamTable\".\"team_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = \"public\".\"LiteLLM_UserTable\".\"teams\" || $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND (NOT \"public\".\"LiteLLM_UserTable\".\"teams\" @> $n)) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"teams\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) RETURNING \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE ONLY \"public\".\"LiteLLM_ProjectTable\" SET \"team_id\" = $n WHERE $n OPERATOR(pg_catalog.=) \"team_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_chat_completion_sdk_body_litellm_session_id_lands_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"total_tokens\",\"team_id\",\"mcp_namespaced_tool_name\",\"request_tags\",\"custom_llm_provider\",\"request_id\",\"prompt_tokens\",\"cache_key\",\"spend\",\"model\",\"metadata\",\"status\",\"end_user\",\"session_id\",\"user\",\"startTime\",\"messages\",\"agent_id\",\"response\",\"api_base\",\"litellm_call_id\",\"call_type\",\"cache_hit\",\"completionStartTime\",\"api_key\",\"request_duration_ms\",\"updated_at\",\"requester_ip_address\",\"model_id\",\"proxy_server_request\",\"organization_id\",\"model_group\",\"endTime\",\"completion_tokens\",\"created_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_chat_raw_metadata_session_id_lands_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"endTime\",\"end_user\",\"api_key\",\"organization_id\",\"completionStartTime\",\"messages\",\"startTime\",\"model\",\"total_tokens\",\"request_duration_ms\",\"custom_llm_provider\",\"response\",\"completion_tokens\",\"model_group\",\"user\",\"session_id\",\"litellm_call_id\",\"metadata\",\"prompt_tokens\",\"cache_hit\",\"updated_at\",\"request_id\",\"call_type\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"model_id\",\"api_base\",\"agent_id\",\"status\",\"spend\",\"team_id\",\"cache_key\",\"requester_ip_address\",\"created_at\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_chat_stream_async_sdk_x_litellm_session_id_header_lands_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"requester_ip_address\",\"prompt_tokens\",\"completion_tokens\",\"user\",\"created_at\",\"api_base\",\"updated_at\",\"status\",\"spend\",\"team_id\",\"request_duration_ms\",\"agent_id\",\"model\",\"call_type\",\"mcp_namespaced_tool_name\",\"cache_key\",\"completionStartTime\",\"organization_id\",\"request_tags\",\"startTime\",\"metadata\",\"endTime\",\"cache_hit\",\"end_user\",\"model_group\",\"litellm_call_id\",\"api_key\",\"total_tokens\",\"response\",\"messages\",\"request_id\",\"session_id\",\"proxy_server_request\",\"model_id\",\"custom_llm_provider\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_duplicate_session_header_lands_once_and_unchanged": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"response\",\"request_id\",\"cache_hit\",\"api_base\",\"team_id\",\"agent_id\",\"prompt_tokens\",\"completionStartTime\",\"messages\",\"spend\",\"request_tags\",\"completion_tokens\",\"end_user\",\"endTime\",\"created_at\",\"proxy_server_request\",\"api_key\",\"updated_at\",\"metadata\",\"organization_id\",\"user\",\"requester_ip_address\",\"session_id\",\"model\",\"cache_key\",\"custom_llm_provider\",\"call_type\",\"total_tokens\",\"model_id\",\"startTime\",\"mcp_namespaced_tool_name\",\"status\",\"litellm_call_id\",\"request_duration_ms\",\"model_group\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_VerificationToken\".\"token\", \"public\".\"LiteLLM_VerificationToken\".\"key_name\", \"public\".\"LiteLLM_VerificationToken\".\"key_alias\", \"public\".\"LiteLLM_VerificationToken\".\"soft_budget_cooldown\", \"public\".\"LiteLLM_VerificationToken\".\"spend\", \"public\".\"LiteLLM_VerificationToken\".\"total_spend\", \"public\".\"LiteLLM_VerificationToken\".\"expires\", \"public\".\"LiteLLM_VerificationToken\".\"models\", \"public\".\"LiteLLM_VerificationToken\".\"aliases\", \"public\".\"LiteLLM_VerificationToken\".\"config\", \"public\".\"LiteLLM_VerificationToken\".\"router_settings\", \"public\".\"LiteLLM_VerificationToken\".\"user_id\", \"public\".\"LiteLLM_VerificationToken\".\"team_id\", \"public\".\"LiteLLM_VerificationToken\".\"agent_id\", \"public\".\"LiteLLM_VerificationToken\".\"project_id\", \"public\".\"LiteLLM_VerificationToken\".\"permissions\", \"public\".\"LiteLLM_VerificationToken\".\"max_parallel_requests\", \"public\".\"LiteLLM_VerificationToken\".\"metadata\", \"public\".\"LiteLLM_VerificationToken\".\"blocked\", \"public\".\"LiteLLM_VerificationToken\".\"tpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"rpm_limit\", \"public\".\"LiteLLM_VerificationToken\".\"tpd_limit\", \"public\".\"LiteLLM_VerificationToken\".\"max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_duration\", \"public\".\"LiteLLM_VerificationToken\".\"budget_reset_at\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_cache_controls\", \"public\".\"LiteLLM_VerificationToken\".\"allowed_routes\", \"public\".\"LiteLLM_VerificationToken\".\"key_type\", \"public\".\"LiteLLM_VerificationToken\".\"policies\", \"public\".\"LiteLLM_VerificationToken\".\"access_group_ids\", \"public\".\"LiteLLM_VerificationToken\".\"model_spend\", \"public\".\"LiteLLM_VerificationToken\".\"model_max_budget\", \"public\".\"LiteLLM_VerificationToken\".\"budget_fallbacks\", \"public\".\"LiteLLM_VerificationToken\".\"budget_id\", \"public\".\"LiteLLM_VerificationToken\".\"organization_id\", \"public\".\"LiteLLM_VerificationToken\".\"object_permission_id\", \"public\".\"LiteLLM_VerificationToken\".\"created_at\", \"public\".\"LiteLLM_VerificationToken\".\"created_by\", \"public\".\"LiteLLM_VerificationToken\".\"updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"updated_by\", \"public\".\"LiteLLM_VerificationToken\".\"settings_updated_at\", \"public\".\"LiteLLM_VerificationToken\".\"last_active\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_count\", \"public\".\"LiteLLM_VerificationToken\".\"auto_rotate\", \"public\".\"LiteLLM_VerificationToken\".\"rotation_interval\", \"public\".\"LiteLLM_VerificationToken\".\"last_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"key_rotation_at\", \"public\".\"LiteLLM_VerificationToken\".\"budget_limits\" FROM \"public\".\"LiteLLM_VerificationToken\" WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_empty_string_litellm_session_id_leaves_the_span_without_a_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"created_at\",\"completion_tokens\",\"completionStartTime\",\"updated_at\",\"prompt_tokens\",\"messages\",\"team_id\",\"startTime\",\"call_type\",\"requester_ip_address\",\"session_id\",\"mcp_namespaced_tool_name\",\"api_key\",\"end_user\",\"custom_llm_provider\",\"cache_key\",\"endTime\",\"total_tokens\",\"request_id\",\"api_base\",\"cache_hit\",\"metadata\",\"litellm_call_id\",\"response\",\"model_group\",\"organization_id\",\"model_id\",\"agent_id\",\"proxy_server_request\",\"user\",\"spend\",\"status\",\"model\",\"request_duration_ms\",\"request_tags\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_five_kilobyte_session_header_round_trips_to_the_span_and_the_spend_row": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_duration_ms\",\"api_key\",\"cache_hit\",\"model\",\"request_tags\",\"user\",\"created_at\",\"model_group\",\"completionStartTime\",\"endTime\",\"proxy_server_request\",\"organization_id\",\"api_base\",\"custom_llm_provider\",\"cache_key\",\"call_type\",\"status\",\"litellm_call_id\",\"model_id\",\"completion_tokens\",\"mcp_namespaced_tool_name\",\"end_user\",\"metadata\",\"messages\",\"request_id\",\"spend\",\"updated_at\",\"total_tokens\",\"requester_ip_address\",\"agent_id\",\"prompt_tokens\",\"response\",\"team_id\",\"session_id\",\"startTime\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_generate_policy_keeps_the_langfuse_session_header_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_generate_policy_minted_session_id_reaches_the_spend_row_but_not_the_span": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completion_tokens\",\"end_user\",\"spend\",\"model_id\",\"updated_at\",\"total_tokens\",\"status\",\"cache_hit\",\"messages\",\"prompt_tokens\",\"agent_id\",\"call_type\",\"request_id\",\"startTime\",\"user\",\"created_at\",\"model_group\",\"litellm_call_id\",\"mcp_namespaced_tool_name\",\"response\",\"api_base\",\"team_id\",\"endTime\",\"custom_llm_provider\",\"request_duration_ms\",\"cache_key\",\"model\",\"proxy_server_request\",\"requester_ip_address\",\"api_key\",\"request_tags\",\"metadata\",\"organization_id\",\"session_id\",\"completionStartTime\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"cache_key\",\"status\",\"completion_tokens\",\"spend\",\"requester_ip_address\",\"cache_hit\",\"team_id\",\"startTime\",\"user\",\"call_type\",\"metadata\",\"custom_llm_provider\",\"api_key\",\"endTime\",\"mcp_namespaced_tool_name\",\"litellm_call_id\",\"request_id\",\"proxy_server_request\",\"prompt_tokens\",\"completionStartTime\",\"created_at\",\"session_id\",\"model_id\",\"model\",\"response\",\"model_group\",\"total_tokens\",\"updated_at\",\"agent_id\",\"messages\",\"request_duration_ms\",\"api_base\",\"end_user\",\"organization_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_header_body_and_metadata_session_ids_resolve_to_the_same_id_as_the_spend_row": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"startTime\",\"updated_at\",\"request_duration_ms\",\"metadata\",\"cache_hit\",\"agent_id\",\"total_tokens\",\"completionStartTime\",\"model\",\"request_tags\",\"team_id\",\"model_id\",\"response\",\"api_base\",\"created_at\",\"prompt_tokens\",\"cache_key\",\"mcp_namespaced_tool_name\",\"user\",\"end_user\",\"session_id\",\"proxy_server_request\",\"organization_id\",\"api_key\",\"call_type\",\"litellm_call_id\",\"spend\",\"request_id\",\"messages\",\"endTime\",\"model_group\",\"custom_llm_provider\",\"completion_tokens\",\"requester_ip_address\",\"status\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_integer_and_list_litellm_session_id_match_the_spend_row_or_are_dropped_together": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_key\",\"custom_llm_provider\",\"model_id\",\"spend\",\"proxy_server_request\",\"agent_id\",\"request_tags\",\"total_tokens\",\"request_id\",\"cache_hit\",\"status\",\"prompt_tokens\",\"api_base\",\"end_user\",\"startTime\",\"request_duration_ms\",\"litellm_call_id\",\"completion_tokens\",\"metadata\",\"call_type\",\"user\",\"organization_id\",\"endTime\",\"requester_ip_address\",\"response\",\"session_id\",\"team_id\",\"mcp_namespaced_tool_name\",\"messages\",\"created_at\",\"completionStartTime\",\"model_group\",\"model\",\"updated_at\",\"cache_key\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"status\",\"requester_ip_address\",\"completion_tokens\",\"cache_key\",\"response\",\"call_type\",\"endTime\",\"api_base\",\"updated_at\",\"request_id\",\"proxy_server_request\",\"messages\",\"litellm_call_id\",\"request_duration_ms\",\"organization_id\",\"user\",\"agent_id\",\"startTime\",\"request_tags\",\"session_id\",\"spend\",\"model_id\",\"completionStartTime\",\"created_at\",\"custom_llm_provider\",\"metadata\",\"prompt_tokens\",\"end_user\",\"api_key\",\"model_group\",\"mcp_namespaced_tool_name\",\"total_tokens\",\"cache_hit\",\"team_id\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_killing_one_of_two_workers_mid_burst_keeps_serving_and_never_duplicates_a_span": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"spend\",\"call_type\",\"total_tokens\",\"end_user\",\"updated_at\",\"api_base\",\"model\",\"created_at\",\"request_id\",\"completionStartTime\",\"user\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"startTime\",\"litellm_call_id\",\"requester_ip_address\",\"status\",\"cache_hit\",\"metadata\",\"messages\",\"completion_tokens\",\"api_key\",\"team_id\",\"request_tags\",\"model_id\",\"custom_llm_provider\",\"response\",\"prompt_tokens\",\"cache_key\",\"organization_id\",\"session_id\",\"proxy_server_request\",\"agent_id\",\"endTime\",\"model_group\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"organization_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"user_role\", \"public\".\"LiteLLM_OrganizationMembership\".\"spend\", \"public\".\"LiteLLM_OrganizationMembership\".\"budget_id\", \"public\".\"LiteLLM_OrganizationMembership\".\"created_at\", \"public\".\"LiteLLM_OrganizationMembership\".\"updated_at\" FROM \"public\".\"LiteLLM_OrganizationMembership\" WHERE \"public\".\"LiteLLM_OrganizationMembership\".\"user_id\" IN ($n) OFFSET $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_messages_sdk_x_litellm_session_id_header_lands_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_key\",\"mcp_namespaced_tool_name\",\"model_id\",\"agent_id\",\"end_user\",\"team_id\",\"response\",\"total_tokens\",\"proxy_server_request\",\"organization_id\",\"updated_at\",\"metadata\",\"custom_llm_provider\",\"model_group\",\"litellm_call_id\",\"session_id\",\"cache_key\",\"created_at\",\"endTime\",\"prompt_tokens\",\"requester_ip_address\",\"api_base\",\"request_tags\",\"messages\",\"user\",\"model\",\"call_type\",\"spend\",\"status\",\"cache_hit\",\"request_duration_ms\",\"completion_tokens\",\"completionStartTime\",\"startTime\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_messages_stream_async_sdk_langfuse_session_id_header_lands_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_tags\",\"completionStartTime\",\"request_id\",\"api_key\",\"agent_id\",\"proxy_server_request\",\"api_base\",\"custom_llm_provider\",\"model_group\",\"completion_tokens\",\"requester_ip_address\",\"model_id\",\"spend\",\"status\",\"user\",\"litellm_call_id\",\"created_at\",\"model\",\"request_duration_ms\",\"cache_key\",\"session_id\",\"organization_id\",\"response\",\"total_tokens\",\"messages\",\"cache_hit\",\"team_id\",\"metadata\",\"call_type\",\"mcp_namespaced_tool_name\",\"endTime\",\"startTime\",\"end_user\",\"updated_at\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_metadata_trace_id_alone_fills_the_spend_row_but_not_the_span": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"endTime\",\"completion_tokens\",\"updated_at\",\"organization_id\",\"user\",\"cache_hit\",\"model\",\"litellm_call_id\",\"startTime\",\"proxy_server_request\",\"api_base\",\"call_type\",\"messages\",\"request_tags\",\"response\",\"cache_key\",\"end_user\",\"team_id\",\"spend\",\"mcp_namespaced_tool_name\",\"api_key\",\"completionStartTime\",\"custom_llm_provider\",\"model_id\",\"session_id\",\"requester_ip_address\",\"created_at\",\"request_id\",\"model_group\",\"request_duration_ms\",\"agent_id\",\"status\",\"metadata\",\"total_tokens\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_request_without_any_session_input_has_no_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"response\",\"api_key\",\"cache_key\",\"end_user\",\"completion_tokens\",\"user\",\"requester_ip_address\",\"mcp_namespaced_tool_name\",\"call_type\",\"organization_id\",\"total_tokens\",\"model_id\",\"custom_llm_provider\",\"request_duration_ms\",\"spend\",\"prompt_tokens\",\"request_tags\",\"created_at\",\"status\",\"agent_id\",\"completionStartTime\",\"startTime\",\"cache_hit\",\"session_id\",\"messages\",\"litellm_call_id\",\"request_id\",\"team_id\",\"api_base\",\"endTime\",\"metadata\",\"proxy_server_request\",\"updated_at\",\"model_group\",\"model\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_responses_sdk_x_litellm_session_id_header_lands_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"proxy_server_request\",\"metadata\",\"api_key\",\"call_type\",\"model\",\"cache_hit\",\"updated_at\",\"response\",\"completion_tokens\",\"agent_id\",\"team_id\",\"cache_key\",\"model_id\",\"end_user\",\"organization_id\",\"requester_ip_address\",\"endTime\",\"request_id\",\"model_group\",\"total_tokens\",\"startTime\",\"request_tags\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"messages\",\"user\",\"status\",\"api_base\",\"spend\",\"litellm_call_id\",\"completionStartTime\",\"session_id\",\"request_duration_ms\",\"created_at\",\"prompt_tokens\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_responses_stream_raw_metadata_session_id_lands_as_conversation_id": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"spend\",\"user\",\"model_id\",\"end_user\",\"litellm_call_id\",\"agent_id\",\"organization_id\",\"cache_hit\",\"api_key\",\"startTime\",\"updated_at\",\"metadata\",\"model\",\"completionStartTime\",\"model_group\",\"endTime\",\"response\",\"request_tags\",\"completion_tokens\",\"request_duration_ms\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"requester_ip_address\",\"custom_llm_provider\",\"messages\",\"prompt_tokens\",\"status\",\"call_type\",\"cache_key\",\"created_at\",\"total_tokens\",\"team_id\",\"session_id\",\"api_base\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_sink_outage_during_a_mixed_burst_lands_every_response_exactly_once_after_recovery": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"cache_hit\",\"response\",\"spend\",\"completion_tokens\",\"request_id\",\"api_key\",\"call_type\",\"request_duration_ms\",\"request_tags\",\"model_id\",\"proxy_server_request\",\"model_group\",\"cache_key\",\"model\",\"messages\",\"team_id\",\"prompt_tokens\",\"litellm_call_id\",\"requester_ip_address\",\"organization_id\",\"agent_id\",\"metadata\",\"user\",\"end_user\",\"updated_at\",\"completionStartTime\",\"status\",\"startTime\",\"total_tokens\",\"custom_llm_provider\",\"mcp_namespaced_tool_name\",\"session_id\",\"endTime\",\"created_at\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completion_tokens\",\"metadata\",\"custom_llm_provider\",\"cache_hit\",\"organization_id\",\"model_id\",\"updated_at\",\"model_group\",\"litellm_call_id\",\"total_tokens\",\"startTime\",\"prompt_tokens\",\"response\",\"cache_key\",\"api_base\",\"team_id\",\"completionStartTime\",\"created_at\",\"requester_ip_address\",\"messages\",\"call_type\",\"end_user\",\"spend\",\"mcp_namespaced_tool_name\",\"request_id\",\"agent_id\",\"endTime\",\"api_key\",\"status\",\"request_duration_ms\",\"session_id\",\"request_tags\",\"user\",\"proxy_server_request\",\"model\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"litellm_call_id\",\"api_base\",\"model\",\"prompt_tokens\",\"total_tokens\",\"agent_id\",\"cache_hit\",\"session_id\",\"team_id\",\"model_group\",\"call_type\",\"proxy_server_request\",\"created_at\",\"request_duration_ms\",\"completionStartTime\",\"response\",\"organization_id\",\"updated_at\",\"endTime\",\"user\",\"end_user\",\"status\",\"request_id\",\"metadata\",\"startTime\",\"completion_tokens\",\"model_id\",\"cache_key\",\"messages\",\"mcp_namespaced_tool_name\",\"api_key\",\"requester_ip_address\",\"custom_llm_provider\",\"request_tags\",\"spend\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"mcp_namespaced_tool_name\",\"metadata\",\"agent_id\",\"cache_hit\",\"litellm_call_id\",\"cache_key\",\"request_tags\",\"model\",\"status\",\"endTime\",\"startTime\",\"response\",\"requester_ip_address\",\"organization_id\",\"user\",\"team_id\",\"completion_tokens\",\"created_at\",\"messages\",\"request_duration_ms\",\"end_user\",\"updated_at\",\"custom_llm_provider\",\"model_id\",\"spend\",\"session_id\",\"total_tokens\",\"proxy_server_request\",\"call_type\",\"model_group\",\"prompt_tokens\",\"api_base\",\"completionStartTime\",\"api_key\",\"request_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"model_id\",\"api_key\",\"api_base\",\"total_tokens\",\"metadata\",\"endTime\",\"cache_hit\",\"updated_at\",\"proxy_server_request\",\"startTime\",\"team_id\",\"custom_llm_provider\",\"session_id\",\"model\",\"litellm_call_id\",\"cache_key\",\"response\",\"call_type\",\"completion_tokens\",\"prompt_tokens\",\"request_tags\",\"requester_ip_address\",\"agent_id\",\"model_group\",\"request_id\",\"completionStartTime\",\"created_at\",\"messages\",\"request_duration_ms\",\"organization_id\",\"mcp_namespaced_tool_name\",\"status\",\"user\",\"end_user\",\"spend\") VALUES ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"prompt_tokens\",\"cache_key\",\"status\",\"organization_id\",\"proxy_server_request\",\"endTime\",\"response\",\"team_id\",\"api_key\",\"messages\",\"mcp_namespaced_tool_name\",\"custom_llm_provider\",\"cache_hit\",\"requester_ip_address\",\"model_group\",\"model\",\"completionStartTime\",\"request_id\",\"end_user\",\"user\",\"created_at\",\"api_base\",\"session_id\",\"updated_at\",\"completion_tokens\",\"spend\",\"litellm_call_id\",\"model_id\",\"total_tokens\",\"request_tags\",\"startTime\",\"call_type\",\"agent_id\",\"metadata\",\"request_duration_ms\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"session_id\",\"startTime\",\"request_duration_ms\",\"user\",\"messages\",\"cache_hit\",\"spend\",\"proxy_server_request\",\"total_tokens\",\"team_id\",\"response\",\"model_group\",\"litellm_call_id\",\"status\",\"custom_llm_provider\",\"model_id\",\"api_key\",\"request_tags\",\"api_base\",\"organization_id\",\"model\",\"requester_ip_address\",\"metadata\",\"end_user\",\"call_type\",\"endTime\",\"updated_at\",\"completion_tokens\",\"created_at\",\"agent_id\",\"prompt_tokens\",\"completionStartTime\",\"cache_key\",\"mcp_namespaced_tool_name\",\"request_id\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"status\",\"endTime\",\"requester_ip_address\",\"model\",\"api_key\",\"updated_at\",\"request_duration_ms\",\"custom_llm_provider\",\"cache_key\",\"cache_hit\",\"organization_id\",\"end_user\",\"mcp_namespaced_tool_name\",\"metadata\",\"model_group\",\"completionStartTime\",\"created_at\",\"user\",\"proxy_server_request\",\"completion_tokens\",\"model_id\",\"litellm_call_id\",\"prompt_tokens\",\"total_tokens\",\"response\",\"messages\",\"startTime\",\"call_type\",\"agent_id\",\"team_id\",\"request_tags\",\"spend\",\"request_id\",\"api_base\",\"session_id\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"updated_at\",\"prompt_tokens\",\"agent_id\",\"end_user\",\"api_key\",\"request_id\",\"session_id\",\"cache_hit\",\"startTime\",\"status\",\"model\",\"messages\",\"team_id\",\"model_id\",\"proxy_server_request\",\"call_type\",\"metadata\",\"completion_tokens\",\"requester_ip_address\",\"total_tokens\",\"response\",\"spend\",\"custom_llm_provider\",\"model_group\",\"request_duration_ms\",\"litellm_call_id\",\"endTime\",\"mcp_namespaced_tool_name\",\"organization_id\",\"completionStartTime\",\"user\",\"created_at\",\"request_tags\",\"cache_key\",\"api_base\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\" = $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_sink_rejecting_with_403_drops_those_spans_and_later_spans_still_land": {
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_slow_sink_during_a_burst_lands_every_response_exactly_once": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"agent_id\",\"messages\",\"prompt_tokens\",\"session_id\",\"end_user\",\"api_key\",\"custom_llm_provider\",\"updated_at\",\"spend\",\"total_tokens\",\"team_id\",\"request_id\",\"model_id\",\"model\",\"organization_id\",\"completionStartTime\",\"cache_key\",\"user\",\"startTime\",\"completion_tokens\",\"request_duration_ms\",\"api_base\",\"model_group\",\"created_at\",\"proxy_server_request\",\"status\",\"mcp_namespaced_tool_name\",\"cache_hit\",\"metadata\",\"request_tags\",\"litellm_call_id\",\"endTime\",\"call_type\",\"requester_ip_address\",\"response\") VALUES ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"agent_id\",\"request_id\",\"call_type\",\"requester_ip_address\",\"litellm_call_id\",\"custom_llm_provider\",\"startTime\",\"team_id\",\"updated_at\",\"proxy_server_request\",\"organization_id\",\"model_group\",\"api_base\",\"mcp_namespaced_tool_name\",\"total_tokens\",\"completionStartTime\",\"session_id\",\"cache_key\",\"status\",\"prompt_tokens\",\"model_id\",\"created_at\",\"api_key\",\"user\",\"completion_tokens\",\"request_duration_ms\",\"endTime\",\"request_tags\",\"cache_hit\",\"messages\",\"metadata\",\"response\",\"spend\",\"end_user\",\"model\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"api_base\",\"agent_id\",\"total_tokens\",\"proxy_server_request\",\"completionStartTime\",\"request_duration_ms\",\"api_key\",\"model\",\"custom_llm_provider\",\"cache_hit\",\"requester_ip_address\",\"cache_key\",\"completion_tokens\",\"startTime\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"team_id\",\"user\",\"endTime\",\"status\",\"updated_at\",\"created_at\",\"request_id\",\"response\",\"messages\",\"request_tags\",\"session_id\",\"metadata\",\"model_group\",\"litellm_call_id\",\"organization_id\",\"spend\",\"end_user\",\"call_type\",\"model_id\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"endTime\",\"completion_tokens\",\"created_at\",\"cache_hit\",\"request_id\",\"end_user\",\"proxy_server_request\",\"status\",\"spend\",\"mcp_namespaced_tool_name\",\"prompt_tokens\",\"response\",\"updated_at\",\"request_duration_ms\",\"request_tags\",\"model_group\",\"total_tokens\",\"model_id\",\"user\",\"model\",\"api_key\",\"team_id\",\"messages\",\"organization_id\",\"requester_ip_address\",\"call_type\",\"api_base\",\"agent_id\",\"litellm_call_id\",\"custom_llm_provider\",\"completionStartTime\",\"metadata\",\"cache_key\",\"startTime\",\"session_id\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"litellm_call_id\",\"model_id\",\"call_type\",\"completion_tokens\",\"created_at\",\"response\",\"endTime\",\"startTime\",\"api_base\",\"organization_id\",\"spend\",\"messages\",\"requester_ip_address\",\"team_id\",\"agent_id\",\"request_tags\",\"prompt_tokens\",\"updated_at\",\"cache_hit\",\"completionStartTime\",\"status\",\"end_user\",\"request_duration_ms\",\"model\",\"mcp_namespaced_tool_name\",\"request_id\",\"api_key\",\"metadata\",\"custom_llm_provider\",\"cache_key\",\"total_tokens\",\"proxy_server_request\",\"user\",\"session_id\",\"model_group\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_id\",\"custom_llm_provider\",\"model_group\",\"api_key\",\"total_tokens\",\"metadata\",\"startTime\",\"api_base\",\"endTime\",\"prompt_tokens\",\"organization_id\",\"model\",\"requester_ip_address\",\"updated_at\",\"call_type\",\"user\",\"cache_hit\",\"spend\",\"status\",\"messages\",\"completion_tokens\",\"proxy_server_request\",\"mcp_namespaced_tool_name\",\"model_id\",\"completionStartTime\",\"agent_id\",\"cache_key\",\"team_id\",\"session_id\",\"litellm_call_id\",\"created_at\",\"request_tags\",\"response\",\"end_user\",\"request_duration_ms\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"startTime\",\"model_group\",\"metadata\",\"model\",\"organization_id\",\"total_tokens\",\"request_id\",\"model_id\",\"response\",\"team_id\",\"status\",\"api_key\",\"requester_ip_address\",\"session_id\",\"request_duration_ms\",\"cache_key\",\"completion_tokens\",\"litellm_call_id\",\"call_type\",\"cache_hit\",\"prompt_tokens\",\"mcp_namespaced_tool_name\",\"agent_id\",\"custom_llm_provider\",\"end_user\",\"spend\",\"created_at\",\"user\",\"endTime\",\"api_base\",\"proxy_server_request\",\"request_tags\",\"messages\",\"completionStartTime\",\"updated_at\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_terminating_the_proxy_right_after_a_burst_flushes_every_span_before_exit": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"mcp_namespaced_tool_name\",\"completion_tokens\",\"metadata\",\"response\",\"status\",\"model\",\"endTime\",\"created_at\",\"api_base\",\"messages\",\"request_duration_ms\",\"team_id\",\"spend\",\"organization_id\",\"user\",\"model_id\",\"prompt_tokens\",\"completionStartTime\",\"requester_ip_address\",\"request_tags\",\"call_type\",\"api_key\",\"model_group\",\"agent_id\",\"session_id\",\"cache_hit\",\"custom_llm_provider\",\"startTime\",\"request_id\",\"cache_key\",\"updated_at\",\"proxy_server_request\",\"total_tokens\",\"end_user\",\"litellm_call_id\") VALUES ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_three_identical_requests_produce_one_span_each_with_the_same_conversation_id": {
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"spend\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"budget_id\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"created_by\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_at\", \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ModelAccessGroupBudgetTable\".\"access_group_name\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_conversation_id.py::test_unauthenticated_request_with_session_header_is_rejected_and_leaves_no_span": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"completionStartTime\",\"response\",\"cache_key\",\"session_id\",\"completion_tokens\",\"api_key\",\"agent_id\",\"spend\",\"end_user\",\"status\",\"endTime\",\"mcp_namespaced_tool_name\",\"request_duration_ms\",\"created_at\",\"prompt_tokens\",\"litellm_call_id\",\"request_tags\",\"messages\",\"organization_id\",\"requester_ip_address\",\"metadata\",\"total_tokens\",\"proxy_server_request\",\"updated_at\",\"model_id\",\"call_type\",\"request_id\",\"team_id\",\"api_base\",\"custom_llm_provider\",\"cache_hit\",\"model\",\"user\",\"model_group\",\"startTime\") VALUES ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"id\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"token\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"active_token_id\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"revoke_at\", \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"created_at\" FROM \"public\".\"LiteLLM_DeprecatedVerificationToken\" WHERE (\"public\".\"LiteLLM_DeprecatedVerificationToken\".\"token\" = $n AND \"public\".\"LiteLLM_DeprecatedVerificationToken\".\"revoke_at\" > $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ShadowEvalJob\".\"id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"group_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_type\", \"public\".\"LiteLLM_ShadowEvalJob\".\"target_id\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_name\", \"public\".\"LiteLLM_ShadowEvalJob\".\"router_names\", \"public\".\"LiteLLM_ShadowEvalJob\".\"models\", \"public\".\"LiteLLM_ShadowEvalJob\".\"direction\", \"public\".\"LiteLLM_ShadowEvalJob\".\"baseline_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"judge_model\", \"public\".\"LiteLLM_ShadowEvalJob\".\"shadow_percentage\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_turns\", \"public\".\"LiteLLM_ShadowEvalJob\".\"max_budget\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"created_by\", \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\", \"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_by\" FROM \"public\".\"LiteLLM_ShadowEvalJob\" WHERE (\"public\".\"LiteLLM_ShadowEvalJob\".\"stopped_at\" IS NULL AND \"public\".\"LiteLLM_ShadowEvalJob\".\"ends_at\" > $n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT v.*, t.spend AS team_spend, t.max_budget AS team_max_budget, t.soft_budget AS team_soft_budget, t.model_max_budget AS team_model_max_budget, t.tpm_limit AS team_tpm_limit, t.rpm_limit AS team_rpm_limit, t.tpd_limit AS team_tpd_limit, t.models AS team_models, t.metadata AS team_metadata, t.blocked AS team_blocked, t.team_alias AS team_alias, t.metadata AS team_metadata, t.members_with_roles AS team_members_with_roles, t.object_permission_id AS team_object_permission_id, t.organization_id as org_id, p.project_alias AS project_alias, tm.spend AS team_member_spend, b_tm.tpm_limit AS team_member_tpm_limit, b_tm.rpm_limit AS team_member_rpm_limit, m.aliases AS team_model_aliases, -- Added comma to separate b.* columns b.max_budget AS litellm_budget_table_max_budget, b.tpm_limit AS litellm_budget_table_tpm_limit, b.rpm_limit AS litellm_budget_table_rpm_limit, b.tpd_limit AS litellm_budget_table_tpd_limit, b.model_max_budget as litellm_budget_table_model_max_budget, b.soft_budget as litellm_budget_table_soft_budget, o.metadata as organization_metadata, o.organization_alias as organization_alias, b2.max_budget as organization_max_budget, b2.tpm_limit as organization_tpm_limit, b2.rpm_limit as organization_rpm_limit FROM \"LiteLLM_VerificationToken\" AS v LEFT JOIN \"LiteLLM_TeamTable\" AS t ON v.team_id = t.team_id LEFT JOIN \"LiteLLM_TeamMembership\" AS tm ON v.team_id = tm.team_id AND tm.user_id = v.user_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b_tm ON tm.budget_id = b_tm.budget_id LEFT JOIN \"LiteLLM_ModelTable\" m ON t.model_id = m.id LEFT JOIN \"LiteLLM_BudgetTable\" AS b ON v.budget_id = b.budget_id LEFT JOIN \"LiteLLM_ProjectTable\" AS p ON v.project_id = p.project_id LEFT JOIN \"LiteLLM_OrganizationTable\" AS o ON v.organization_id = o.organization_id LEFT JOIN \"LiteLLM_BudgetTable\" AS b2 ON o.budget_id = b2.budget_id WHERE v.token = $n": [
|
|
"litellm_reader"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
]
|
|
},
|
|
"tests/integration/observability/test_otel_text_completion_choices.py::test_otel_weave_output_keeps_text_completion_provider_fields_beside_the_synthesized_message": {
|
|
"BEGIN": [
|
|
"litellm_writer"
|
|
],
|
|
"COMMIT": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE last_heartbeat_at < NOW() - make_interval(secs => $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"LiteLLM_ProxyWorkerHeartbeat\" WHERE worker_id = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"DELETE FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyGatewayRequests\" (\"date\", \"category\", \"route\", \"successful_requests\", \"failed_requests\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::bigint, $n::bigint, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"date\", \"category\", \"route\") DO UPDATE SET \"successful_requests\" = \"LiteLLM_DailyGatewayRequests\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyGatewayRequests\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTagSpend\" (\"id\", \"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"request_id\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)), ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::text, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"tag\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTagSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTagSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTagSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTagSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTagSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTagSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTagSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTagSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTagSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTagSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTagSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"request_id\" = COALESCE(EXCLUDED.\"request_id\", \"LiteLLM_DailyTagSpend\".\"request_id\"), \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyTeamSpend\" (\"id\", \"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"team_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyTeamSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyTeamSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyTeamSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyTeamSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyTeamSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyTeamSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyTeamSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyTeamSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyTeamSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyTeamSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyTeamSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_DailyUserSpend\" (\"id\", \"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\", \"model_group\", \"prompt_tokens\", \"completion_tokens\", \"api_requests\", \"successful_requests\", \"failed_requests\", \"cache_read_input_tokens\", \"cache_creation_input_tokens\", \"compression_saved_tokens\", \"total_response_time_ms\", \"timed_requests\", \"spend\", \"compression_savings_spend\", \"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\", \"updated_at\") VALUES ($n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::text, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::bigint, $n::double precision, $n::double precision, $n::double precision, $n::double precision, $n::double precision, (NOW() AT TIME ZONE $n)) ON CONFLICT (\"user_id\", \"date\", \"api_key\", \"model\", \"custom_llm_provider\", \"mcp_namespaced_tool_name\", \"endpoint\") DO UPDATE SET \"prompt_tokens\" = \"LiteLLM_DailyUserSpend\".\"prompt_tokens\" + EXCLUDED.\"prompt_tokens\", \"completion_tokens\" = \"LiteLLM_DailyUserSpend\".\"completion_tokens\" + EXCLUDED.\"completion_tokens\", \"api_requests\" = \"LiteLLM_DailyUserSpend\".\"api_requests\" + EXCLUDED.\"api_requests\", \"successful_requests\" = \"LiteLLM_DailyUserSpend\".\"successful_requests\" + EXCLUDED.\"successful_requests\", \"failed_requests\" = \"LiteLLM_DailyUserSpend\".\"failed_requests\" + EXCLUDED.\"failed_requests\", \"cache_read_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_read_input_tokens\" + EXCLUDED.\"cache_read_input_tokens\", \"cache_creation_input_tokens\" = \"LiteLLM_DailyUserSpend\".\"cache_creation_input_tokens\" + EXCLUDED.\"cache_creation_input_tokens\", \"compression_saved_tokens\" = \"LiteLLM_DailyUserSpend\".\"compression_saved_tokens\" + EXCLUDED.\"compression_saved_tokens\", \"total_response_time_ms\" = \"LiteLLM_DailyUserSpend\".\"total_response_time_ms\" + EXCLUDED.\"total_response_time_ms\", \"timed_requests\" = \"LiteLLM_DailyUserSpend\".\"timed_requests\" + EXCLUDED.\"timed_requests\", \"spend\" = \"LiteLLM_DailyUserSpend\".\"spend\" + EXCLUDED.\"spend\", \"compression_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"compression_savings_spend\" + EXCLUDED.\"compression_savings_spend\", \"prompt_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"prompt_caching_savings_spend\" + EXCLUDED.\"prompt_caching_savings_spend\", \"gateway_injected_caching_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"gateway_injected_caching_savings_spend\" + EXCLUDED.\"gateway_injected_caching_savings_spend\", \"autorouter_savings_spend\" = \"LiteLLM_DailyUserSpend\".\"autorouter_savings_spend\" + EXCLUDED.\"autorouter_savings_spend\", \"updated_at\" = (NOW() AT TIME ZONE $n)": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"LiteLLM_ProxyWorkerHeartbeat\" (worker_id, hostname, last_heartbeat_at) VALUES ($n, NOW()) ON CONFLICT (worker_id) DO UPDATE SET last_heartbeat_at = NOW()": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"before_value\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_AuditLog\" (\"id\",\"updated_at\",\"changed_by\",\"changed_by_api_key\",\"action\",\"table_name\",\"object_id\",\"updated_values\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AuditLog\".\"id\", \"public\".\"LiteLLM_AuditLog\".\"updated_at\", \"public\".\"LiteLLM_AuditLog\".\"changed_by\", \"public\".\"LiteLLM_AuditLog\".\"changed_by_api_key\", \"public\".\"LiteLLM_AuditLog\".\"action\", \"public\".\"LiteLLM_AuditLog\".\"table_name\", \"public\".\"LiteLLM_AuditLog\".\"object_id\", \"public\".\"LiteLLM_AuditLog\".\"before_value\", \"public\".\"LiteLLM_AuditLog\".\"updated_values\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_ProxyModelTable\" (\"model_id\",\"model_name\",\"litellm_params\",\"model_info\",\"blocked\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"metadata\",\"call_type\",\"completion_tokens\",\"requester_ip_address\",\"api_key\",\"request_id\",\"spend\",\"agent_id\",\"session_id\",\"endTime\",\"cache_hit\",\"end_user\",\"messages\",\"litellm_call_id\",\"api_base\",\"organization_id\",\"prompt_tokens\",\"custom_llm_provider\",\"mcp_namespaced_tool_name\",\"model_group\",\"status\",\"user\",\"response\",\"request_tags\",\"cache_key\",\"model\",\"total_tokens\",\"created_at\",\"request_duration_ms\",\"team_id\",\"updated_at\",\"model_id\",\"startTime\",\"completionStartTime\",\"proxy_server_request\") VALUES ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_AgentsTable\".\"agent_id\", \"public\".\"LiteLLM_AgentsTable\".\"agent_name\", \"public\".\"LiteLLM_AgentsTable\".\"litellm_params\", \"public\".\"LiteLLM_AgentsTable\".\"agent_card_params\", \"public\".\"LiteLLM_AgentsTable\".\"static_headers\", \"public\".\"LiteLLM_AgentsTable\".\"extra_headers\", \"public\".\"LiteLLM_AgentsTable\".\"agent_access_groups\", \"public\".\"LiteLLM_AgentsTable\".\"access_group_ids\", \"public\".\"LiteLLM_AgentsTable\".\"object_permission_id\", \"public\".\"LiteLLM_AgentsTable\".\"spend\", \"public\".\"LiteLLM_AgentsTable\".\"tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_tpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"session_rpm_limit\", \"public\".\"LiteLLM_AgentsTable\".\"created_at\", \"public\".\"LiteLLM_AgentsTable\".\"created_by\", \"public\".\"LiteLLM_AgentsTable\".\"updated_at\", \"public\".\"LiteLLM_AgentsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AgentsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_AgentsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CacheConfig\".\"id\", \"public\".\"LiteLLM_CacheConfig\".\"cache_settings\", \"public\".\"LiteLLM_CacheConfig\".\"created_at\", \"public\".\"LiteLLM_CacheConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_CacheConfig\" WHERE (\"public\".\"LiteLLM_CacheConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" = $n LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE \"public\".\"LiteLLM_Config\".\"param_name\" IN ($n) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_Config\".\"param_name\", \"public\".\"LiteLLM_Config\".\"param_value\", \"public\".\"LiteLLM_Config\".\"last_run_at\", \"public\".\"LiteLLM_Config\".\"reload_revision\" FROM \"public\".\"LiteLLM_Config\" WHERE (\"public\".\"LiteLLM_Config\".\"param_name\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ConfigOverrides\".\"config_type\", \"public\".\"LiteLLM_ConfigOverrides\".\"config_value\", \"public\".\"LiteLLM_ConfigOverrides\".\"created_at\", \"public\".\"LiteLLM_ConfigOverrides\".\"updated_at\" FROM \"public\".\"LiteLLM_ConfigOverrides\" WHERE (\"public\".\"LiteLLM_ConfigOverrides\".\"config_type\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_CredentialsTable\".\"credential_id\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_name\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_values\", \"public\".\"LiteLLM_CredentialsTable\".\"credential_info\", \"public\".\"LiteLLM_CredentialsTable\".\"created_at\", \"public\".\"LiteLLM_CredentialsTable\".\"created_by\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_at\", \"public\".\"LiteLLM_CredentialsTable\".\"updated_by\" FROM \"public\".\"LiteLLM_CredentialsTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_name\", \"public\".\"LiteLLM_GuardrailsTable\".\"litellm_params\", \"public\".\"LiteLLM_GuardrailsTable\".\"guardrail_info\", \"public\".\"LiteLLM_GuardrailsTable\".\"team_id\", \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"updated_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"status\", \"public\".\"LiteLLM_GuardrailsTable\".\"submitted_at\", \"public\".\"LiteLLM_GuardrailsTable\".\"reviewed_at\" FROM \"public\".\"LiteLLM_GuardrailsTable\" WHERE \"public\".\"LiteLLM_GuardrailsTable\".\"status\" = $n ORDER BY \"public\".\"LiteLLM_GuardrailsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IS NULL OR \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\" IS NULL) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_MCPServerTable\".\"server_id\", \"public\".\"LiteLLM_MCPServerTable\".\"server_name\", \"public\".\"LiteLLM_MCPServerTable\".\"alias\", \"public\".\"LiteLLM_MCPServerTable\".\"description\", \"public\".\"LiteLLM_MCPServerTable\".\"instructions\", \"public\".\"LiteLLM_MCPServerTable\".\"url\", \"public\".\"LiteLLM_MCPServerTable\".\"spec_path\", \"public\".\"LiteLLM_MCPServerTable\".\"transport\", \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\", \"public\".\"LiteLLM_MCPServerTable\".\"credentials\", \"public\".\"LiteLLM_MCPServerTable\".\"created_at\", \"public\".\"LiteLLM_MCPServerTable\".\"created_by\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_at\", \"public\".\"LiteLLM_MCPServerTable\".\"updated_by\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_info\", \"public\".\"LiteLLM_MCPServerTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_MCPServerTable\".\"allowed_tools\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_display_name\", \"public\".\"LiteLLM_MCPServerTable\".\"tool_name_to_description\", \"public\".\"LiteLLM_MCPServerTable\".\"extra_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"static_headers\", \"public\".\"LiteLLM_MCPServerTable\".\"env_vars\", \"public\".\"LiteLLM_MCPServerTable\".\"status\", \"public\".\"LiteLLM_MCPServerTable\".\"last_health_check\", \"public\".\"LiteLLM_MCPServerTable\".\"health_check_error\", \"public\".\"LiteLLM_MCPServerTable\".\"command\", \"public\".\"LiteLLM_MCPServerTable\".\"args\", \"public\".\"LiteLLM_MCPServerTable\".\"env\", \"public\".\"LiteLLM_MCPServerTable\".\"issuer\", \"public\".\"LiteLLM_MCPServerTable\".\"authorization_url\", \"public\".\"LiteLLM_MCPServerTable\".\"token_url\", \"public\".\"LiteLLM_MCPServerTable\".\"registration_url\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth2_flow\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_endpoint\", \"public\".\"LiteLLM_MCPServerTable\".\"audience\", \"public\".\"LiteLLM_MCPServerTable\".\"subject_token_type\", \"public\".\"LiteLLM_MCPServerTable\".\"token_exchange_profile\", \"public\".\"LiteLLM_MCPServerTable\".\"allow_all_keys\", \"public\".\"LiteLLM_MCPServerTable\".\"available_on_public_internet\", \"public\".\"LiteLLM_MCPServerTable\".\"delegate_auth_to_upstream\", \"public\".\"LiteLLM_MCPServerTable\".\"oauth_passthrough\", \"public\".\"LiteLLM_MCPServerTable\".\"dcr_bridge\", \"public\".\"LiteLLM_MCPServerTable\".\"per_server_oauth_discovery\", \"public\".\"LiteLLM_MCPServerTable\".\"is_byok\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_description\", \"public\".\"LiteLLM_MCPServerTable\".\"byok_api_key_help_url\", \"public\".\"LiteLLM_MCPServerTable\".\"source_url\", \"public\".\"LiteLLM_MCPServerTable\".\"timeout\", \"public\".\"LiteLLM_MCPServerTable\".\"max_concurrent_requests\", \"public\".\"LiteLLM_MCPServerTable\".\"approval_status\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_by\", \"public\".\"LiteLLM_MCPServerTable\".\"submitted_at\", \"public\".\"LiteLLM_MCPServerTable\".\"reviewed_at\", \"public\".\"LiteLLM_MCPServerTable\".\"review_notes\" FROM \"public\".\"LiteLLM_MCPServerTable\" WHERE (\"public\".\"LiteLLM_MCPServerTable\".\"updated_by\" = $n AND \"public\".\"LiteLLM_MCPServerTable\".\"auth_type\" IN ($n)) OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n)) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedObjectTable\".\"id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"unified_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"model_object_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_object\", \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\", \"public\".\"LiteLLM_ManagedObjectTable\".\"status\", \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"created_by\", \"public\".\"LiteLLM_ManagedObjectTable\".\"team_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"org_id\", \"public\".\"LiteLLM_ManagedObjectTable\".\"api_key\", \"public\".\"LiteLLM_ManagedObjectTable\".\"request_tags\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedObjectTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedObjectTable\" WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n) ORDER BY \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" ASC LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"id\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_name\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"index_info\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_by\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoreIndexTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"custom_llm_provider\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_description\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"vector_store_metadata\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"updated_at\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_credential_name\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"litellm_params\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"team_id\", \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"user_id\" FROM \"public\".\"LiteLLM_ManagedVectorStoresTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_ManagedVectorStoresTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ObjectPermissionTable\".\"object_permission_id\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_servers\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_permissions\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"vector_stores\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agents\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"agent_access_groups\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"models\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"blocked_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_toolsets\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"search_tools\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"mcp_tool_search_enabled\", \"public\".\"LiteLLM_ObjectPermissionTable\".\"skills\" FROM \"public\".\"LiteLLM_ObjectPermissionTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyAttachmentTable\".\"attachment_id\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"scope\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"teams\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"keys\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"models\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"tags\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"priority\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"is_default\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_by\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyAttachmentTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyAttachmentTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_PolicyAttachmentTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" = $n ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PolicyTable\".\"policy_id\", \"public\".\"LiteLLM_PolicyTable\".\"policy_name\", \"public\".\"LiteLLM_PolicyTable\".\"version_number\", \"public\".\"LiteLLM_PolicyTable\".\"version_status\", \"public\".\"LiteLLM_PolicyTable\".\"parent_version_id\", \"public\".\"LiteLLM_PolicyTable\".\"is_latest\", \"public\".\"LiteLLM_PolicyTable\".\"published_at\", \"public\".\"LiteLLM_PolicyTable\".\"production_at\", \"public\".\"LiteLLM_PolicyTable\".\"inherit\", \"public\".\"LiteLLM_PolicyTable\".\"description\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_add\", \"public\".\"LiteLLM_PolicyTable\".\"guardrails_remove\", \"public\".\"LiteLLM_PolicyTable\".\"condition\", \"public\".\"LiteLLM_PolicyTable\".\"pipeline\", \"public\".\"LiteLLM_PolicyTable\".\"created_at\", \"public\".\"LiteLLM_PolicyTable\".\"created_by\", \"public\".\"LiteLLM_PolicyTable\".\"updated_at\", \"public\".\"LiteLLM_PolicyTable\".\"updated_by\" FROM \"public\".\"LiteLLM_PolicyTable\" WHERE \"public\".\"LiteLLM_PolicyTable\".\"version_status\" IN ($n) ORDER BY \"public\".\"LiteLLM_PolicyTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_PromptTable\".\"id\", \"public\".\"LiteLLM_PromptTable\".\"prompt_id\", \"public\".\"LiteLLM_PromptTable\".\"version\", \"public\".\"LiteLLM_PromptTable\".\"environment\", \"public\".\"LiteLLM_PromptTable\".\"created_by\", \"public\".\"LiteLLM_PromptTable\".\"litellm_params\", \"public\".\"LiteLLM_PromptTable\".\"prompt_info\", \"public\".\"LiteLLM_PromptTable\".\"created_at\", \"public\".\"LiteLLM_PromptTable\".\"updated_at\" FROM \"public\".\"LiteLLM_PromptTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ProxyModelTable\".\"model_id\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_name\", \"public\".\"LiteLLM_ProxyModelTable\".\"litellm_params\", \"public\".\"LiteLLM_ProxyModelTable\".\"model_info\", \"public\".\"LiteLLM_ProxyModelTable\".\"blocked\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"created_by\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_at\", \"public\".\"LiteLLM_ProxyModelTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ProxyModelTable\" WHERE (\"public\".\"LiteLLM_ProxyModelTable\".\"model_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SSOConfig\".\"id\", \"public\".\"LiteLLM_SSOConfig\".\"sso_settings\", \"public\".\"LiteLLM_SSOConfig\".\"created_at\", \"public\".\"LiteLLM_SSOConfig\".\"updated_at\" FROM \"public\".\"LiteLLM_SSOConfig\" WHERE (\"public\".\"LiteLLM_SSOConfig\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_id\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_name\", \"public\".\"LiteLLM_SearchToolsTable\".\"litellm_params\", \"public\".\"LiteLLM_SearchToolsTable\".\"search_tool_info\", \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\", \"public\".\"LiteLLM_SearchToolsTable\".\"updated_at\" FROM \"public\".\"LiteLLM_SearchToolsTable\" WHERE $n=$n ORDER BY \"public\".\"LiteLLM_SearchToolsTable\".\"created_at\" DESC OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_TeamTable\".\"team_id\", \"public\".\"LiteLLM_TeamTable\".\"team_alias\", \"public\".\"LiteLLM_TeamTable\".\"organization_id\", \"public\".\"LiteLLM_TeamTable\".\"object_permission_id\", \"public\".\"LiteLLM_TeamTable\".\"admins\", \"public\".\"LiteLLM_TeamTable\".\"members\", \"public\".\"LiteLLM_TeamTable\".\"members_with_roles\", \"public\".\"LiteLLM_TeamTable\".\"metadata\", \"public\".\"LiteLLM_TeamTable\".\"max_budget\", \"public\".\"LiteLLM_TeamTable\".\"soft_budget\", \"public\".\"LiteLLM_TeamTable\".\"spend\", \"public\".\"LiteLLM_TeamTable\".\"models\", \"public\".\"LiteLLM_TeamTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_TeamTable\".\"tpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"rpm_limit\", \"public\".\"LiteLLM_TeamTable\".\"tpd_limit\", \"public\".\"LiteLLM_TeamTable\".\"budget_duration\", \"public\".\"LiteLLM_TeamTable\".\"budget_reset_at\", \"public\".\"LiteLLM_TeamTable\".\"blocked\", \"public\".\"LiteLLM_TeamTable\".\"created_at\", \"public\".\"LiteLLM_TeamTable\".\"updated_at\", \"public\".\"LiteLLM_TeamTable\".\"model_spend\", \"public\".\"LiteLLM_TeamTable\".\"model_max_budget\", \"public\".\"LiteLLM_TeamTable\".\"router_settings\", \"public\".\"LiteLLM_TeamTable\".\"team_member_permissions\", \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\", \"public\".\"LiteLLM_TeamTable\".\"policies\", \"public\".\"LiteLLM_TeamTable\".\"default_team_member_models\", \"public\".\"LiteLLM_TeamTable\".\"budget_limits\", \"public\".\"LiteLLM_TeamTable\".\"model_id\", \"public\".\"LiteLLM_TeamTable\".\"allow_team_guardrail_config\" FROM \"public\".\"LiteLLM_TeamTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_ToolTable\".\"tool_id\", \"public\".\"LiteLLM_ToolTable\".\"tool_name\", \"public\".\"LiteLLM_ToolTable\".\"origin\", \"public\".\"LiteLLM_ToolTable\".\"input_policy\", \"public\".\"LiteLLM_ToolTable\".\"output_policy\", \"public\".\"LiteLLM_ToolTable\".\"call_count\", \"public\".\"LiteLLM_ToolTable\".\"assignments\", \"public\".\"LiteLLM_ToolTable\".\"key_hash\", \"public\".\"LiteLLM_ToolTable\".\"team_id\", \"public\".\"LiteLLM_ToolTable\".\"key_alias\", \"public\".\"LiteLLM_ToolTable\".\"user_agent\", \"public\".\"LiteLLM_ToolTable\".\"last_used_at\", \"public\".\"LiteLLM_ToolTable\".\"created_at\", \"public\".\"LiteLLM_ToolTable\".\"created_by\", \"public\".\"LiteLLM_ToolTable\".\"updated_at\", \"public\".\"LiteLLM_ToolTable\".\"updated_by\" FROM \"public\".\"LiteLLM_ToolTable\" WHERE $n=$n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UISettings\".\"id\", \"public\".\"LiteLLM_UISettings\".\"ui_settings\", \"public\".\"LiteLLM_UISettings\".\"created_at\", \"public\".\"LiteLLM_UISettings\".\"updated_at\" FROM \"public\".\"LiteLLM_UISettings\" WHERE (\"public\".\"LiteLLM_UISettings\".\"id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE \"public\".\"LiteLLM_UserTable\".\"password\" IS NOT NULL OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT \"public\".\"LiteLLM_UserTable\".\"user_id\", \"public\".\"LiteLLM_UserTable\".\"user_alias\", \"public\".\"LiteLLM_UserTable\".\"team_id\", \"public\".\"LiteLLM_UserTable\".\"sso_user_id\", \"public\".\"LiteLLM_UserTable\".\"organization_id\", \"public\".\"LiteLLM_UserTable\".\"object_permission_id\", \"public\".\"LiteLLM_UserTable\".\"password\", \"public\".\"LiteLLM_UserTable\".\"password_reset_required\", \"public\".\"LiteLLM_UserTable\".\"last_breach_check_at\", \"public\".\"LiteLLM_UserTable\".\"teams\", \"public\".\"LiteLLM_UserTable\".\"user_role\", \"public\".\"LiteLLM_UserTable\".\"max_budget\", \"public\".\"LiteLLM_UserTable\".\"spend\", \"public\".\"LiteLLM_UserTable\".\"user_email\", \"public\".\"LiteLLM_UserTable\".\"models\", \"public\".\"LiteLLM_UserTable\".\"metadata\", \"public\".\"LiteLLM_UserTable\".\"max_parallel_requests\", \"public\".\"LiteLLM_UserTable\".\"tpm_limit\", \"public\".\"LiteLLM_UserTable\".\"rpm_limit\", \"public\".\"LiteLLM_UserTable\".\"budget_duration\", \"public\".\"LiteLLM_UserTable\".\"budget_reset_at\", \"public\".\"LiteLLM_UserTable\".\"allowed_cache_controls\", \"public\".\"LiteLLM_UserTable\".\"policies\", \"public\".\"LiteLLM_UserTable\".\"model_spend\", \"public\".\"LiteLLM_UserTable\".\"model_max_budget\", \"public\".\"LiteLLM_UserTable\".\"created_at\", \"public\".\"LiteLLM_UserTable\".\"updated_at\" FROM \"public\".\"LiteLLM_UserTable\" WHERE (\"public\".\"LiteLLM_UserTable\".\"user_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT $n": [
|
|
"litellm_reader",
|
|
"litellm_writer"
|
|
],
|
|
"SELECT $n FROM pg_partitioned_table pt JOIN pg_class c ON c.oid = pt.partrelid JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relname = $n AND n.nspname = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT * FROM pg_catalog.pg_rewrite WHERE ev_class = $n AND rulename = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT EXISTS(SELECT $n FROM pg_namespace WHERE nspname = $n), version(), current_setting($n)::integer as numeric_version": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT con.oid AS \"con_id\", att2.attname AS \"child_column\", cl.relname AS \"parent_table\", att.attname AS \"parent_column\", con.confdeltype, con.confupdtype, rel_ns.nspname AS \"referenced_schema_name\", conname AS constraint_name, child, parent, table_name, namespace, condeferrable, condeferred FROM (SELECT ns.nspname AS \"namespace\", unnest(con1.conkey) AS \"parent\", unnest(con1.confkey) AS \"child\", cl.relname AS table_name, ns.nspname AS schema_name, generate_subscripts(con1.conkey, $n) AS colidx, con1.oid, con1.confrelid, con1.conrelid, con1.conname, con1.confdeltype, con1.confupdtype, con1.condeferrable AS condeferrable, con1.condeferred AS condeferred FROM pg_class cl join pg_constraint con1 on con1.conrelid = cl.oid join pg_namespace ns on cl.relnamespace = ns.oid WHERE ns.nspname = ANY ( $n ) and con1.contype = $n ORDER BY colidx ) con JOIN pg_attribute att on att.attrelid = con.confrelid and att.attnum = con.child JOIN pg_class cl on cl.oid = con.confrelid JOIN pg_attribute att2 on att2.attrelid = con.conrelid and att2.attnum = con.parent JOIN pg_class rel_cl on con.confrelid = rel_cl.oid JOIN pg_namespace rel_ns on rel_cl.relnamespace = rel_ns.oid ORDER BY namespace, table_name, constraint_name, con_id, con.colidx": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT current_setting($n) AS transaction_read_only": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT ext.extname AS extension_name, ext.extversion AS extension_version, ext.extrelocatable AS extension_relocatable, pn.nspname AS extension_schema FROM pg_extension ext INNER JOIN pg_namespace pn ON ext.extnamespace = pn.oid ORDER BY ext.extname ASC": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT namespace.nspname as namespace_name FROM pg_namespace as namespace WHERE namespace.nspname = ANY ( $n ) ORDER BY namespace_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT oid.namespace, info.table_name, info.column_name, format_type(att.atttypid, att.atttypmod) as formatted_type, info.numeric_precision, info.numeric_scale, info.numeric_precision_radix, info.datetime_precision, info.data_type, info.udt_schema as type_schema_name, info.udt_name as full_data_type, pg_get_expr(attdef.adbin, attdef.adrelid) AS column_default, info.is_nullable, info.is_identity, info.character_maximum_length, col_description(att.attrelid, ordinal_position) AS description FROM information_schema.columns info JOIN pg_attribute att ON att.attname = info.column_name JOIN ( SELECT pg_class.oid, relname, pg_namespace.nspname as namespace FROM pg_class JOIN pg_namespace on pg_namespace.oid = pg_class.relnamespace AND pg_namespace.nspname = ANY ( $n ) WHERE reltype > $n ) as oid on oid.oid = att.attrelid AND relname = info.table_name AND namespace = info.table_schema LEFT OUTER JOIN pg_attrdef attdef ON attdef.adrelid = att.attrelid AND attdef.adnum = att.attnum AND table_schema = namespace WHERE table_schema = ANY ( $n ) ORDER BY namespace, table_name, ordinal_position": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT p.proname AS name, n.nspname as namespace, CASE WHEN l.lanname = $n THEN p.prosrc ELSE pg_get_functiondef(p.oid) END as definition FROM pg_proc p LEFT JOIN pg_namespace n ON p.pronamespace = n.oid LEFT JOIN pg_language l ON p.prolang = l.oid WHERE n.nspname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT reltuples::BIGINT FROM pg_class WHERE oid = $n::regclass": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT schemainfo.nspname AS namespace, tableinfo.relname AS table_name, constr.conname AS constraint_name, constr.contype AS constraint_type, pg_get_constraintdef(constr.oid) AS constraint_definition, constr.condeferrable AS is_deferrable, constr.condeferred AS is_deferred FROM pg_constraint constr JOIN pg_class AS tableinfo ON tableinfo.oid = constr.conrelid JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace WHERE schemainfo.nspname = ANY ( $n ) AND contype NOT IN ($n) ORDER BY namespace, table_name, constr.contype, constraint_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT sequence_name, sequence_schema AS namespace, start_value::INT8, minimum_value::INT8 AS min_value, maximum_value::INT8 AS max_value, increment::INT8 AS increment_by, (CASE cycle_option WHEN $n THEN $n ELSE $n END) AS cycle, $n::INT8 AS cache_size FROM information_schema.sequences WHERE sequence_schema = ANY ( $n ) ORDER BY sequence_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT t.typname AS name, e.enumlabel AS value, n.nspname AS namespace, obj_description(t.oid, $n) AS description FROM pg_type t JOIN pg_enum e ON t.oid = e.enumtypid JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace WHERE n.nspname = ANY ( $n ) ORDER BY e.enumsortorder": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT tbl.relname AS table_name, namespace.nspname as namespace, (tbl.relhassubclass and tbl.relkind = $n) as is_partition, (tbl.relhassubclass and tbl.relkind = $n) as has_subclass, tbl.relrowsecurity as has_row_level_security, reloptions, obj_description(tbl.oid, $n) as description FROM pg_class AS tbl INNER JOIN pg_namespace AS namespace ON namespace.oid = tbl.relnamespace WHERE ( -- (relkind = 'r' and relispartition = 't') matches partition table \"duplicates\" (tbl.relkind = $n AND tbl.relispartition = $n) OR -- when it's a partition tbl.relkind = $n ) AND namespace.nspname = ANY ( $n ) ORDER BY namespace, table_name": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT to_regclass($n) IS NOT NULL AS present": [
|
|
"litellm_reader"
|
|
],
|
|
"SELECT version()": [
|
|
"litellm_writer"
|
|
],
|
|
"SELECT views.viewname AS view_name, views.definition AS view_sql, views.schemaname AS namespace, obj_description(class.oid, $n) AS description FROM pg_catalog.pg_views views INNER JOIN pg_catalog.pg_namespace ns ON views.schemaname = ns.nspname INNER JOIN pg_catalog.pg_class class ON class.relnamespace = ns.oid AND class.relname = views.viewname WHERE schemaname = ANY ( $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"SET LOCAL statement_timeout = 1000": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_AccessGroupTable\" SET \"access_model_names\" = array_remove(\"access_model_names\", $n) WHERE $n = ANY(\"access_model_names\") RETURNING \"access_group_id\"": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"LiteLLM_ManagedObjectTable\" SET \"status\" = $n WHERE \"id\" IN ( SELECT \"id\" FROM \"LiteLLM_ManagedObjectTable\" WHERE \"file_purpose\" = $n AND \"status\" NOT IN ($n) AND \"created_at\" < $n::timestamptz ORDER BY \"created_at\" ASC LIMIT $n )": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"batch_processed\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"batch_processed\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_ManagedObjectTable\" SET \"status\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_ManagedObjectTable\".\"file_purpose\" = $n AND \"public\".\"LiteLLM_ManagedObjectTable\".\"status\" NOT IN ($n) AND \"public\".\"LiteLLM_ManagedObjectTable\".\"created_at\" < $n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_TagTable\" SET \"spend\" = (\"public\".\"LiteLLM_TagTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_TagTable\".\"tag_name\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_UserTable\" SET \"spend\" = (\"public\".\"LiteLLM_UserTable\".\"spend\" + $n), \"updated_at\" = $n WHERE \"public\".\"LiteLLM_UserTable\".\"user_id\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"UPDATE \"public\".\"LiteLLM_VerificationToken\" SET \"spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"spend\" + $n), \"total_spend\" = (\"public\".\"LiteLLM_VerificationToken\".\"total_spend\" + $n), \"last_active\" = $n, \"updated_at\" = $n WHERE \"public\".\"LiteLLM_VerificationToken\".\"token\" = $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH candidates AS ( SELECT scope FROM \"LiteLLM_AutoRouterBaselineComparison\" WHERE NOT retired AND revision <> published_revision AND (attempted_at IS NULL OR attempted_at < CURRENT_TIMESTAMP - INTERVAL $n) ORDER BY attempted_at NULLS FIRST, updated_at, scope LIMIT $n FOR UPDATE SKIP LOCKED ) UPDATE \"LiteLLM_AutoRouterBaselineComparison\" AS comparison SET attempted_at = CURRENT_TIMESTAMP FROM candidates WHERE comparison.scope = candidates.scope RETURNING comparison.scope": [
|
|
"litellm_writer"
|
|
],
|
|
"WITH existing_views AS ( SELECT viewname FROM pg_views WHERE schemaname = $n AND viewname IN ( $n ) ) SELECT (SELECT COUNT(*) FROM existing_views) AS view_count, ARRAY_AGG(viewname) AS view_names FROM existing_views": [
|
|
"litellm_reader"
|
|
],
|
|
"WITH rawindex AS ( SELECT indrelid, indexrelid, indisunique, indisprimary, unnest(indkey) AS indkeyid, generate_subscripts(indkey, $n) AS indkeyidx, unnest(indclass) AS indclass, unnest(indoption) AS indoption FROM pg_index -- https://www.postgresql.org/docs/current/catalog-pg-index.html WHERE indpred IS NULL -- filter out partial indexes AND NOT indisexclusion -- filter out exclusion constraints ) SELECT schemainfo.nspname AS namespace, indexinfo.relname AS index_name, tableinfo.relname AS table_name, columninfo.attname AS column_name, rawindex.indisunique AS is_unique, rawindex.indisprimary AS is_primary_key, rawindex.indkeyidx AS column_index, opclass.opcname AS opclass, opclass.opcdefault AS opcdefault, indexaccess.amname AS index_algo, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS column_order, CASE rawindex.indoption & $n WHEN $n THEN $n ELSE $n END AS nulls_first, pc.condeferrable AS condeferrable, pc.condeferred AS condeferred FROM rawindex INNER JOIN pg_class AS tableinfo ON tableinfo.oid = rawindex.indrelid INNER JOIN pg_class AS indexinfo ON indexinfo.oid = rawindex.indexrelid INNER JOIN pg_namespace AS schemainfo ON schemainfo.oid = tableinfo.relnamespace LEFT JOIN pg_attribute AS columninfo ON columninfo.attrelid = tableinfo.oid AND columninfo.attnum = rawindex.indkeyid INNER JOIN pg_am AS indexaccess ON indexaccess.oid = indexinfo.relam LEFT JOIN pg_opclass AS opclass -- left join because crdb has no opclasses ON opclass.oid = rawindex.indclass LEFT JOIN pg_constraint pc ON rawindex.indexrelid = pc.conindid AND pc.contype <> $n WHERE schemainfo.nspname = ANY ( $n ) ORDER BY namespace, table_name, index_name, column_index": [
|
|
"litellm_writer"
|
|
]
|
|
}
|
|
}
|
|
}
|