litellm/tests/integration/routing/database.json

887 lines
299 KiB
JSON

{
"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_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\" = $n AND $n=$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_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)), ($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_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_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_AccessGroupTable\" (\"access_group_id\",\"access_group_name\",\"description\",\"access_model_names\",\"access_mcp_server_ids\",\"access_agent_ids\",\"assigned_team_ids\",\"assigned_key_ids\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" /* 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_DeletedVerificationToken\" (\"max_parallel_requests\",\"key_rotation_at\",\"metadata\",\"total_spend\",\"token\",\"budget_duration\",\"id\",\"access_group_ids\",\"organization_id\",\"team_id\",\"last_active\",\"budget_reset_at\",\"permissions\",\"models\",\"litellm_changed_by\",\"key_name\",\"tpm_limit\",\"updated_by\",\"spend\",\"config\",\"budget_fallbacks\",\"allowed_cache_controls\",\"expires\",\"deleted_at\",\"deleted_by_api_key\",\"settings_updated_at\",\"rotation_interval\",\"updated_at\",\"agent_id\",\"deleted_by\",\"model_spend\",\"router_settings\",\"key_type\",\"rotation_count\",\"allowed_routes\",\"key_alias\",\"aliases\",\"rpm_limit\",\"auto_rotate\",\"created_by\",\"model_max_budget\",\"budget_id\",\"max_budget\",\"user_id\",\"blocked\",\"tpd_limit\",\"project_id\",\"created_at\",\"last_rotation_at\",\"policies\",\"object_permission_id\",\"soft_budget_cooldown\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"model_spend\",\"allowed_routes\",\"policies\",\"spend\",\"budget_id\",\"id\",\"metadata\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"models\",\"created_by\",\"budget_duration\",\"updated_by\",\"key_type\",\"last_rotation_at\",\"created_at\",\"rpm_limit\",\"allowed_cache_controls\",\"rotation_count\",\"user_id\",\"budget_fallbacks\",\"permissions\",\"max_budget\",\"object_permission_id\",\"config\",\"total_spend\",\"agent_id\",\"team_id\",\"budget_reset_at\",\"aliases\",\"rotation_interval\",\"auto_rotate\",\"key_rotation_at\",\"token\",\"organization_id\",\"key_name\",\"project_id\",\"deleted_by_api_key\",\"last_active\",\"blocked\",\"key_alias\",\"tpd_limit\",\"settings_updated_at\",\"router_settings\",\"deleted_at\",\"expires\",\"model_max_budget\",\"deleted_by\",\"updated_at\",\"access_group_ids\",\"max_parallel_requests\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"organization_id\",\"settings_updated_at\",\"budget_id\",\"model_spend\",\"config\",\"auto_rotate\",\"spend\",\"budget_duration\",\"token\",\"last_rotation_at\",\"max_budget\",\"allowed_cache_controls\",\"total_spend\",\"tpd_limit\",\"models\",\"permissions\",\"key_rotation_at\",\"user_id\",\"soft_budget_cooldown\",\"agent_id\",\"key_name\",\"policies\",\"last_active\",\"rpm_limit\",\"aliases\",\"updated_at\",\"project_id\",\"created_at\",\"blocked\",\"deleted_at\",\"litellm_changed_by\",\"metadata\",\"team_id\",\"budget_reset_at\",\"rotation_count\",\"rotation_interval\",\"updated_by\",\"deleted_by_api_key\",\"key_type\",\"deleted_by\",\"budget_fallbacks\",\"created_by\",\"allowed_routes\",\"max_parallel_requests\",\"key_alias\",\"router_settings\",\"id\",\"object_permission_id\",\"expires\",\"access_group_ids\",\"model_max_budget\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"project_id\",\"allowed_routes\",\"total_spend\",\"model_max_budget\",\"max_budget\",\"key_alias\",\"max_parallel_requests\",\"agent_id\",\"metadata\",\"allowed_cache_controls\",\"litellm_changed_by\",\"rpm_limit\",\"deleted_by_api_key\",\"token\",\"model_spend\",\"updated_by\",\"budget_fallbacks\",\"access_group_ids\",\"blocked\",\"budget_reset_at\",\"expires\",\"soft_budget_cooldown\",\"config\",\"tpd_limit\",\"key_type\",\"deleted_by\",\"organization_id\",\"auto_rotate\",\"team_id\",\"key_name\",\"budget_id\",\"rotation_interval\",\"permissions\",\"policies\",\"last_rotation_at\",\"rotation_count\",\"models\",\"object_permission_id\",\"router_settings\",\"budget_duration\",\"settings_updated_at\",\"spend\",\"user_id\",\"deleted_at\",\"id\",\"aliases\",\"updated_at\",\"key_rotation_at\",\"last_active\",\"created_at\",\"created_by\",\"tpm_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_SpendLogs\" (\"litellm_call_id\",\"prompt_tokens\",\"user\",\"completionStartTime\",\"agent_id\",\"metadata\",\"session_id\",\"end_user\",\"created_at\",\"requester_ip_address\",\"organization_id\",\"request_duration_ms\",\"startTime\",\"model_id\",\"status\",\"updated_at\",\"response\",\"proxy_server_request\",\"api_key\",\"request_id\",\"cache_key\",\"total_tokens\",\"model_group\",\"cache_hit\",\"spend\",\"custom_llm_provider\",\"endTime\",\"api_base\",\"mcp_namespaced_tool_name\",\"model\",\"call_type\",\"completion_tokens\",\"messages\",\"team_id\",\"request_tags\") VALUES ($n), ($n), ($n), ($n), ($n) ON CONFLICT DO NOTHING /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"INSERT INTO \"public\".\"LiteLLM_SpendLogs\" (\"request_duration_ms\",\"model_id\",\"agent_id\",\"total_tokens\",\"requester_ip_address\",\"call_type\",\"prompt_tokens\",\"model_group\",\"spend\",\"organization_id\",\"session_id\",\"endTime\",\"model\",\"cache_hit\",\"startTime\",\"user\",\"messages\",\"status\",\"team_id\",\"custom_llm_provider\",\"request_tags\",\"litellm_call_id\",\"response\",\"metadata\",\"updated_at\",\"proxy_server_request\",\"created_at\",\"completion_tokens\",\"api_key\",\"end_user\",\"cache_key\",\"mcp_namespaced_tool_name\",\"request_id\",\"completionStartTime\",\"api_base\") 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"
],
"ROLLBACK": [
"litellm_writer"
],
"SELECT \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"SELECT \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\" = $n AND $n=$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\".\"access_group_ids\" && $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_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\".\"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 \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\" && $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\".\"access_group_ids\" && $n OR $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\".\"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\".\"access_group_ids\" && $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",
"litellm_writer"
],
"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 nextval($n)": [
"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 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 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_key_ids\" = array_append(array_remove(array_remove(\"assigned_key_ids\", $n), $n), $n) WHERE $n = ANY(\"assigned_key_ids\") 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 \"access_group_ids\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) RETURNING \"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\" /* 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 \"public\".\"LiteLLM_VerificationToken\" SET \"token\" = $n, \"key_name\" = $n, \"metadata\" = $n, \"settings_updated_at\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"UPDATE ONLY \"public\".\"LiteLLM_JWTKeyMapping\" SET \"token\" = $n WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
"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 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/database/test_partition_transactions.py::test_real_partition_ddl_survives_witnessed_lock_and_is_idempotent": {
"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)), ($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\" (\"request_duration_ms\",\"model_id\",\"agent_id\",\"total_tokens\",\"requester_ip_address\",\"call_type\",\"prompt_tokens\",\"model_group\",\"spend\",\"organization_id\",\"session_id\",\"endTime\",\"model\",\"cache_hit\",\"startTime\",\"user\",\"messages\",\"status\",\"team_id\",\"custom_llm_provider\",\"request_tags\",\"litellm_call_id\",\"response\",\"metadata\",\"updated_at\",\"proxy_server_request\",\"created_at\",\"completion_tokens\",\"api_key\",\"end_user\",\"cache_key\",\"mcp_namespaced_tool_name\",\"request_id\",\"completionStartTime\",\"api_base\") VALUES ($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_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 \"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"
]
},
"tests/integration/database/test_reader_writer_regeneration.py::test_key_regeneration_uses_writer_with_a_real_readonly_reader": {
"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_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\" = $n AND $n=$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_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_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_AccessGroupTable\" (\"access_group_id\",\"access_group_name\",\"description\",\"access_model_names\",\"access_mcp_server_ids\",\"access_agent_ids\",\"assigned_team_ids\",\"assigned_key_ids\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" /* 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_DeletedVerificationToken\" (\"max_parallel_requests\",\"key_rotation_at\",\"metadata\",\"total_spend\",\"token\",\"budget_duration\",\"id\",\"access_group_ids\",\"organization_id\",\"team_id\",\"last_active\",\"budget_reset_at\",\"permissions\",\"models\",\"litellm_changed_by\",\"key_name\",\"tpm_limit\",\"updated_by\",\"spend\",\"config\",\"budget_fallbacks\",\"allowed_cache_controls\",\"expires\",\"deleted_at\",\"deleted_by_api_key\",\"settings_updated_at\",\"rotation_interval\",\"updated_at\",\"agent_id\",\"deleted_by\",\"model_spend\",\"router_settings\",\"key_type\",\"rotation_count\",\"allowed_routes\",\"key_alias\",\"aliases\",\"rpm_limit\",\"auto_rotate\",\"created_by\",\"model_max_budget\",\"budget_id\",\"max_budget\",\"user_id\",\"blocked\",\"tpd_limit\",\"project_id\",\"created_at\",\"last_rotation_at\",\"policies\",\"object_permission_id\",\"soft_budget_cooldown\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"model_spend\",\"allowed_routes\",\"policies\",\"spend\",\"budget_id\",\"id\",\"metadata\",\"soft_budget_cooldown\",\"litellm_changed_by\",\"models\",\"created_by\",\"budget_duration\",\"updated_by\",\"key_type\",\"last_rotation_at\",\"created_at\",\"rpm_limit\",\"allowed_cache_controls\",\"rotation_count\",\"user_id\",\"budget_fallbacks\",\"permissions\",\"max_budget\",\"object_permission_id\",\"config\",\"total_spend\",\"agent_id\",\"team_id\",\"budget_reset_at\",\"aliases\",\"rotation_interval\",\"auto_rotate\",\"key_rotation_at\",\"token\",\"organization_id\",\"key_name\",\"project_id\",\"deleted_by_api_key\",\"last_active\",\"blocked\",\"key_alias\",\"tpd_limit\",\"settings_updated_at\",\"router_settings\",\"deleted_at\",\"expires\",\"model_max_budget\",\"deleted_by\",\"updated_at\",\"access_group_ids\",\"max_parallel_requests\",\"tpm_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_SpendLogs\" (\"litellm_call_id\",\"prompt_tokens\",\"user\",\"completionStartTime\",\"agent_id\",\"metadata\",\"session_id\",\"end_user\",\"created_at\",\"requester_ip_address\",\"organization_id\",\"request_duration_ms\",\"startTime\",\"model_id\",\"status\",\"updated_at\",\"response\",\"proxy_server_request\",\"api_key\",\"request_id\",\"cache_key\",\"total_tokens\",\"model_group\",\"cache_hit\",\"spend\",\"custom_llm_provider\",\"endTime\",\"api_base\",\"mcp_namespaced_tool_name\",\"model\",\"call_type\",\"completion_tokens\",\"messages\",\"team_id\",\"request_tags\") VALUES ($n), ($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_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"SELECT \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\" = $n AND $n=$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\".\"access_group_ids\" && $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_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_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\".\"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 \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\" && $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_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 \"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\".\"access_group_ids\" && $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_writer"
],
"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 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 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_key_ids\" = array_append(array_remove(array_remove(\"assigned_key_ids\", $n), $n), $n) WHERE $n = ANY(\"assigned_key_ids\") 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 \"access_group_ids\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) RETURNING \"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\" /* 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 \"public\".\"LiteLLM_VerificationToken\" SET \"token\" = $n, \"key_name\" = $n, \"metadata\" = $n, \"settings_updated_at\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"UPDATE ONLY \"public\".\"LiteLLM_JWTKeyMapping\" SET \"token\" = $n WHERE $n OPERATOR(pg_catalog.=) \"token\"": [
"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 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/database/test_transaction_atomicity.py::test_access_group_second_key_constraint_failure_rolls_back_all_writes": {
"BEGIN": [
"litellm_writer"
],
"COMMIT": [
"litellm_writer"
],
"DELETE FROM \"public\".\"LiteLLM_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\" = $n AND $n=$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_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 \"public\".\"LiteLLM_AccessGroupTable\" (\"access_group_id\",\"access_group_name\",\"description\",\"access_model_names\",\"access_mcp_server_ids\",\"access_agent_ids\",\"assigned_team_ids\",\"assigned_key_ids\",\"created_at\",\"created_by\",\"updated_at\",\"updated_by\") VALUES ($n) RETURNING \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" /* 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_DeletedVerificationToken\" (\"organization_id\",\"settings_updated_at\",\"budget_id\",\"model_spend\",\"config\",\"auto_rotate\",\"spend\",\"budget_duration\",\"token\",\"last_rotation_at\",\"max_budget\",\"allowed_cache_controls\",\"total_spend\",\"tpd_limit\",\"models\",\"permissions\",\"key_rotation_at\",\"user_id\",\"soft_budget_cooldown\",\"agent_id\",\"key_name\",\"policies\",\"last_active\",\"rpm_limit\",\"aliases\",\"updated_at\",\"project_id\",\"created_at\",\"blocked\",\"deleted_at\",\"litellm_changed_by\",\"metadata\",\"team_id\",\"budget_reset_at\",\"rotation_count\",\"rotation_interval\",\"updated_by\",\"deleted_by_api_key\",\"key_type\",\"deleted_by\",\"budget_fallbacks\",\"created_by\",\"allowed_routes\",\"max_parallel_requests\",\"key_alias\",\"router_settings\",\"id\",\"object_permission_id\",\"expires\",\"access_group_ids\",\"model_max_budget\",\"tpm_limit\") VALUES ($n) /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"INSERT INTO \"public\".\"LiteLLM_DeletedVerificationToken\" (\"project_id\",\"allowed_routes\",\"total_spend\",\"model_max_budget\",\"max_budget\",\"key_alias\",\"max_parallel_requests\",\"agent_id\",\"metadata\",\"allowed_cache_controls\",\"litellm_changed_by\",\"rpm_limit\",\"deleted_by_api_key\",\"token\",\"model_spend\",\"updated_by\",\"budget_fallbacks\",\"access_group_ids\",\"blocked\",\"budget_reset_at\",\"expires\",\"soft_budget_cooldown\",\"config\",\"tpd_limit\",\"key_type\",\"deleted_by\",\"organization_id\",\"auto_rotate\",\"team_id\",\"key_name\",\"budget_id\",\"rotation_interval\",\"permissions\",\"policies\",\"last_rotation_at\",\"rotation_count\",\"models\",\"object_permission_id\",\"router_settings\",\"budget_duration\",\"settings_updated_at\",\"spend\",\"user_id\",\"deleted_at\",\"id\",\"aliases\",\"updated_at\",\"key_rotation_at\",\"last_active\",\"created_at\",\"created_by\",\"tpm_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_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"
],
"ROLLBACK": [
"litellm_writer"
],
"SELECT \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\" = $n AND $n=$n) LIMIT $n OFFSET $n /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
],
"SELECT \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_id\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\", \"public\".\"LiteLLM_AccessGroupTable\".\"description\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_model_names\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_mcp_server_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"access_agent_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_team_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"assigned_key_ids\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"created_by\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_at\", \"public\".\"LiteLLM_AccessGroupTable\".\"updated_by\" FROM \"public\".\"LiteLLM_AccessGroupTable\" WHERE (\"public\".\"LiteLLM_AccessGroupTable\".\"access_group_name\" = $n AND $n=$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\".\"access_group_ids\" && $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_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_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_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 \"public\".\"LiteLLM_TeamTable\".\"access_group_ids\" && $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\".\"access_group_ids\" && $n OR $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\".\"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\".\"access_group_ids\" && $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",
"litellm_writer"
],
"SELECT COUNT(*)::int AS deployment_count FROM \"LiteLLM_ProxyModelTable\" WHERE \"model_name\" = $n": [
"litellm_writer"
],
"SELECT nextval($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"
],
"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 \"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_VerificationToken\" SET \"access_group_ids\" = $n, \"updated_at\" = $n WHERE (\"public\".\"LiteLLM_VerificationToken\".\"token\" = $n AND $n=$n) RETURNING \"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\" /* traceparent=00-00000000000000000000000000000000-0000000000000000-01 */": [
"litellm_writer"
]
}
}
}